about summary refs log tree commit diff homepage
path: root/_css
diff options
context:
space:
mode:
Diffstat (limited to '_css')
-rw-r--r--_css/basic.css2
-rw-r--r--_css/franklin.css20
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