From bd2bf58fd953c19b949fef00d4073d9bfa20533d Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Sun, 1 Nov 2020 23:44:02 +0100 Subject: [PATCH] improved css slightly --- src/css/y.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/css/y.css b/src/css/y.css index 1d20746..9d46f05 100644 --- a/src/css/y.css +++ b/src/css/y.css @@ -1,5 +1,5 @@ html { - font-family: serif; + font-family: Georgia, serif; font-size: 4.5mm; line-height: calc(1ex/0.37); } #TOC {text-align: left;} @@ -11,7 +11,7 @@ h1,h2,h3,h4,h5,h6 { #preamble h1 { margin: 0; } p { text-align: justify; hyphens: auto; } pre { overflow-x: scroll; border: solid 1px; padding: 1em; } -pre > code { background: none; font-size: 1em; } +pre > code { background: none; font-size: 0.875em; } code,pre { font-family: Menlo, Monaco, monospace; font-size: 1.85ex; } figure { margin: 1rem 0; padding: 0; } .meta { font-size: small;} @@ -22,7 +22,7 @@ figure { margin: 1rem 0; padding: 0; } #preamble, #postamble { text-align: center; } #content,.content,#preamble,#postamble { padding: 0 1rem; - max-width: 90ch; + max-width: 70ch; overflow: hidden; margin: 0 auto; }