css tweaks

This commit is contained in:
Yann Esposito (Yogsototh) 2021-05-16 00:38:26 +02:00
parent 20dcec0ebd
commit 61b6b9e794
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -11,8 +11,9 @@ 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: 0.875em; } pre > code { background: none; font-size: 0.875em; padding: 0; }
code,pre { font-family: Menlo, Monaco, monospace; font-size: 1.75ex; } code,pre { font-family: Menlo, Monaco, monospace; font-size: 14px; }
code { padding: 1px 3px; }
figure { margin: 1rem 0; padding: 0; } figure { margin: 1rem 0; padding: 0; }
.meta { font-size: small;} .meta { font-size: small;}
.abstract { margin: 1rem 10% 0; font-size: 0.875em; font-style: italic; } .abstract { margin: 1rem 10% 0; font-size: 0.875em; font-style: italic; }
@ -31,6 +32,7 @@ figure { margin: 1rem 0; padding: 0; }
} }
#content, #preamble,#postamble { padding: 1rem; } #content, #preamble,#postamble { padding: 1rem; }
figure img { width: 100%; } figure img { width: 100%; }
li p { margin: 0; padding: 0; }
li > img, p > img { max-height: 1.5em; vertical-align: middle; } li > img, p > img { max-height: 1.5em; vertical-align: middle; }
sup, sub { sup, sub {
vertical-align: baseline; vertical-align: baseline;