improved css slightly

This commit is contained in:
Yann Esposito (Yogsototh) 2020-11-01 23:44:02 +01:00
parent c6cb39cb8a
commit bd2bf58fd9
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -1,5 +1,5 @@
html { html {
font-family: serif; font-family: Georgia, serif;
font-size: 4.5mm; font-size: 4.5mm;
line-height: calc(1ex/0.37); } line-height: calc(1ex/0.37); }
#TOC {text-align: left;} #TOC {text-align: left;}
@ -11,7 +11,7 @@ h1,h2,h3,h4,h5,h6 {
#preamble h1 { margin: 0; } #preamble h1 { margin: 0; }
p { text-align: justify; hyphens: auto; } p { text-align: justify; hyphens: auto; }
pre { overflow-x: scroll; border: solid 1px; padding: 1em; } 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; } code,pre { font-family: Menlo, Monaco, monospace; font-size: 1.85ex; }
figure { margin: 1rem 0; padding: 0; } figure { margin: 1rem 0; padding: 0; }
.meta { font-size: small;} .meta { font-size: small;}
@ -22,7 +22,7 @@ figure { margin: 1rem 0; padding: 0; }
#preamble, #postamble { text-align: center; } #preamble, #postamble { text-align: center; }
#content,.content,#preamble,#postamble { #content,.content,#preamble,#postamble {
padding: 0 1rem; padding: 0 1rem;
max-width: 90ch; max-width: 70ch;
overflow: hidden; overflow: hidden;
margin: 0 auto; margin: 0 auto;
} }