From 818a0bd6f1b3305351d482eeab4e9e64c2af3a18 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Mon, 8 Mar 2021 21:45:21 +0700 Subject: Migrate *the rest* of the math blogs --- _css/basic.css | 2 +- _css/franklin.css | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) (limited to '_css') 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 -- cgit 1.4.1