about summary refs log tree commit diff homepage
path: root/_css
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-11-27 16:09:14 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-11-27 16:09:14 +0700
commitac4d614cb0223be8167cc73fe6eaa440bbed74a7 (patch)
tree33a3fcc017a5ed42ac7e70a99e262e7c76e0b74b /_css
parent8b52b04c03a34b2fc53c11b8535aaefac0490370 (diff)
downloadsite-ac4d614cb0223be8167cc73fe6eaa440bbed74a7.tar.gz
Clean up mistakes
Diffstat (limited to '_css')
-rw-r--r--_css/style.css37
1 files changed, 6 insertions, 31 deletions
diff --git a/_css/style.css b/_css/style.css
index dbd1874..5185744 100644
--- a/_css/style.css
+++ b/_css/style.css
@@ -56,11 +56,6 @@ body { margin: 0 1rem }
 
 .franklin-content .right { float: right }
 
-.franklin-content .container img {
-    width: auto;
-    padding-left: 0;
-}
-
 /* Text geometry */
 .franklin-content p {
     hyphens: auto;
@@ -107,45 +102,25 @@ body { margin: 0 1rem }
 .franklin-content .bibref a,
 .franklin-content .eqref a { color: var(--link-fg) }
 
+.franklin-content .fndef {
+    border: none;
+    margin: 1ex 0;
+}
 .franklin-content .fndef tr { text-align: left }
+.franklin-content .fndef td { padding: 0 }
 .franklin-content .fndef td, .franklin-content sup { font-size: 80% }
-.franklin-content .fndef td.fndef-content { width: 100% }
 .franklin-content .fndef td.fndef-backref { padding-left: 0 }
-.franklin-content table.fndef {
-    border: none;
-    margin: 0;
-}
+.franklin-content .fndef td.fndef-content { padding-left: 1ch }
 
 /* Images */
 .franklin-content img {
     display: block;
     margin: auto;
     max-width: 100%;
-    width: auto;
 }
 
 /* KaTeX */
 .katex { font-size: 1em !important }
-.katex-display .katex {
-    /* Overwrite KaTeX settings. */
-    display: inline-block;
-
-    /* Allow display equations to wrap on small screens. */
-    white-space: normal;
-}
-
-/*
- * No numbering, for now
- * body { counter-reset: eqnum }
- *
- * .katex-display::after {
- *     counter-increment: eqnum;
- *     content: "(" counter(eqnum) ")";
- *     position: relative;
- *     float: right;
- *     padding-right: 5px;
- * }
- */
 
 /* Boxes */
 .franklin-content blockquote, .note {