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
1 changed files with 4 additions and 2 deletions

View File

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