これは超訳です。
CSSLintは「なんでこんなルールなんだ…」とイラっとすることが多いですけど、それぞれにそれなりに理由があります。まぁ勿論無視するべきなルールとかもあります。例えば見出し要素の再定義禁止とかはHTML5に対するCSSなら無理な話です。そんなわけでどんな理由なのかを簡単に訳しました。無視するかどうかは自分で決めましょう!
この訳はCSSLintと同じライセンスで提供されます。
:root { | |
--color-bw: light-dark(black, white); | |
--color-background: light-dark(hsl(48 48% 93%), hsl(48 48% 3%)); | |
--color-background-tone: color-mix( | |
in hsl, | |
var(--color-background), | |
var(--color-bw) 6% | |
); | |
--color-on-background: color-mix( | |
in hsl, |
// ==UserScript== | |
// @name MEGAUPLOAD direct downloader | |
// @namespace http://hail2u.net/ | |
// @include http://www.megaupload.com/?d=* | |
// ==/UserScript== | |
window.location.href = window.location.href.replace(/\/\?d=/, "/mgr_dl.php?d="); |
" Cycle metasyntactic variables | |
function! s:CycleMetasyntacticVariables(num) | |
if type(a:num) != type(0) | |
return | |
endif | |
let vars = ['foo', 'bar', 'baz', 'qux', 'quux', 'corge', 'grault', 'garply', 'waldo', 'fred', 'plugh', 'xyzzy', 'thud'] | |
let cvar = expand('<cword>') | |
let i = index(vars, cvar) |
$(function () { | |
var t = $("#backlinks").empty(); | |
$("<p/>").append($("<em/>").append("データを取得中・・・")).appendTo(t); | |
$.getJSON("http://query.yahooapis.com/v1/public/yql?callback=?", { | |
q: "select * from atom where url='http://blogsearch.google.co.jp/blogsearch_feeds?scoring=d&output=atom&num=100&q=link:" + location.href + "'", | |
format: "json" | |
}, function (data) { | |
t.empty(); |
// https://github.com/Myndex/SAPC-APCA#the-plain-english-steps-are | |
// Example: | |
// const contrast = getAPCAContrast("rgb(255, 255, 255)", "rgb(136, 136, 136)"); | |
// This returns `66.89346308821438` (66.893%) | |
// SAPC-APCA README says: | |
// > #888 vs #fff • 66.89346308821438 | |
// 80% means 7:1 in WCAG 2.0 | |
// 60% means 4.5:1 in WCAG 2.0 |
463ファイルでファイルサイズが増え(AVIFの方が大きい)、154ファイルで減った。7割以上の確率で増えてしまう。
filename | width | height | PNG size | AVIF size | ratio |
---|---|---|---|---|---|
11px_sized_text.png | 192px | 172px | 3.572KB | 5.873KB | 1.644 |
404-sign.png | 440px | 440px | 6.092KB | 13.303KB | 2.184 |
480-gridder.png | 480px | 191px | 0.268KB | 1.183KB | 4.414 |
6-lines-of-p-and-9-lines-of-pre.png | 784px | 240px | 22.043KB | 58.122KB | 2.637 |
700_subscribers.png | 480px | 250px | 17.204KB | 24.702KB | 1.436 |
a-massive-influx-of-flat-sites.png | 480px | 270px | 2.203KB | 8.943KB | 4.059 |
{ | |
"env": { | |
"es6": true, | |
"node": true | |
}, | |
"globals": { | |
"AbortController": true, | |
"fetch": true, | |
"FormData": true | |
}, |
Hey {{name}}! This is bar. |
*markdown-cheat-sheet.jax* Markdown カンニングペーパー | |
作者: Kyo Nagashima <kyo@hail2u.net> | |
バージョン: 0.04 | |
説明: Markdown 記法のカンニングペーパーです。 | |
1. 記法の例 |markdown-cheat-sheet-examples| | |
1.1 段落 |markdown-cheat-sheet-paragraph| | |
1.2 改行 |markdown-cheat-sheet-linebreak| | |
1.3 テキストの強調 |markdown-cheat-sheet-emphasis| |