Improve file size

This commit is contained in:
Yann Esposito (Yogsototh) 2019-11-19 22:14:20 +08:00
parent 9212e104f6
commit 2e26792403
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
3 changed files with 24 additions and 5 deletions

View file

@ -359,13 +359,16 @@ nav > a {
--todo-txt: #0b0;
--link: #080;
--yellow: #0f0;
--orange: #0f0;
--red: #0f0;
--orange: #0e0;
--red: #0d0;
--magenta: #0f0;
--violet: #0f0;
--blue: #080;
--cyan: #080;
--green: #080;
--base03: #020;
--base02: #030;
--base3: #0f0;
font-family: monospace;
}
#matrix:checked ~ .main code,

View file

@ -8,8 +8,16 @@
#+OPTIONS: H:5
#+STARTUP: showeverything
#+ATTR_HTML: :style width:120px;display:block;margin-left:auto;margin-right:auto
[[../img/FlatAvatar.png]]
@@html:
<div style="text-align:center">
<svg width="128" height="128" viewBox="0 0 64 64">
<circle cx="32" cy="32" r="31" stroke="var(--base02)" stroke-width="1" fill="var(--base03)"/>
<circle cx="32" cy="32" r="16" stroke="var(--red)" stroke-width="1" fill="var(--orange)"/>
<circle cx="32" cy="32" r="8" stroke-width="0" fill="var(--yellow)"/>
<ellipse cx="32" cy="12" rx="16" ry="10" stroke-width="0" fill="var(--base3)"/>
</svg>
</div>
@@
Welcome to my personal website.
I generally talk about programming, maybe movies, or miscellaneous topics.

View file

@ -17,7 +17,15 @@ toh () {
}
tmpdir=$(mktemp -d)
for fic in $webdir/**/*.html(.); do
type -a filelist
if (($#>0)); then
filelist=( $* )
else
filelist=( $webdir/**/*.html(.) )
fi
for fic in $filelist; do
print -n -- "$fic "
htmlsize=$(sizeof $fic)