diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-03-08 21:45:21 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-03-08 21:45:21 +0700 |
commit | 818a0bd6f1b3305351d482eeab4e9e64c2af3a18 (patch) | |
tree | 807afa8b0a26d98202f97bf7d4ab9d6513054fa2 /_css | |
parent | c9409b7b0b426a8af44c2046972d26ff5621f37b (diff) | |
download | site-818a0bd6f1b3305351d482eeab4e9e64c2af3a18.tar.gz |
Migrate *the rest* of the math blogs
Diffstat (limited to '_css')
-rw-r--r-- | _css/basic.css | 2 | ||||
-rw-r--r-- | _css/franklin.css | 20 |
2 files changed, 13 insertions, 9 deletions
diff --git a/_css/basic.css b/_css/basic.css index f85e28d..d18a9e3 100644 --- a/_css/basic.css +++ b/_css/basic.css @@ -59,7 +59,7 @@ header li a:hover { * narrow display: collapse the header (don't show the menu items) * instead, display a burger menu. */ -@media (max-width: 480px) { +@media (max-width: 320px) { nav { display: inline-block; } diff --git a/_css/franklin.css b/_css/franklin.css index 2575a39..6e32afc 100644 --- a/_css/franklin.css +++ b/_css/franklin.css @@ -22,7 +22,7 @@ html { /* Keep minimum font size to the usual default of 16px */ @media (min-width: 800px) { html { - font-size: 2vw; + font-size: min(23px, 2vw); margin-left: auto; margin-right: auto; } @@ -150,6 +150,7 @@ td { .franklin-content p { hyphens: auto; + line-height: 1.4rem; text-align: justify; } @@ -247,13 +248,16 @@ body { counter-reset: eqnum; } white-space: normal; } -.katex-display::after { - counter-increment: eqnum; - content: "(" counter(eqnum) ")"; - position: relative; - float: right; - padding-right: 5px; -} +/* + * No numbering, for now + * .katex-display::after { + * counter-increment: eqnum; + * content: "(" counter(eqnum) ")"; + * position: relative; + * float: right; + * padding-right: 5px; + * } + */ /* ================================================================== CODE & HIGHLIGHT.JS |