more pixelartsy and fix toc numbering

This commit is contained in:
Yann Esposito (Yogsototh) 2020-05-25 01:30:48 +02:00
parent 18406ffbb6
commit 53e70c33c7
Signed by untrusted user who does not match committer: yogsototh
GPG Key ID: 7B19A4C650D59646
3 changed files with 4 additions and 7 deletions

View File

@ -284,9 +284,11 @@
" %s" ;; source
" -sampling-factor 4:2:0"
" -strip"
" -resize 400x400\\>"
" -resize 200x200\\>"
" -interlace Plane"
" -quality 85"
" -define filter:blur=0.75"
" -filter Gaussian"
" -ordered-dither o4x4,4"
" %s" ;; dest
)
@ -310,7 +312,7 @@ Return output file name."
(or (equal (expand-file-name (file-name-directory filename))
(file-name-as-directory (expand-file-name pub-dir)))
(let ((dst-file (expand-file-name (file-name-nondirectory filename) pub-dir)))
(cond ((string-match-p ".*\\.\\(png\\|jpg\\|gif\\)$" filename)
(cond ((string-match-p ".*\\.\\(png\\|jpg\\|jpeg\\|gif\\)$" filename)
(compress-image filename dst-file))
((string-match-p ".*\\.css$" filename)
(compress-css root-dir filename dst-file))

Binary file not shown.

View File

@ -237,11 +237,6 @@ nav ol {
nav li {
display: block;
}
nav li:before {
content: counters(item, '.') ' ';
counter-increment: item;
padding-right: 0.85rem;
}
/* Center definitions (most useful for display equations) */
dl dd {