nerder css

This commit is contained in:
Yann Esposito (Yogsototh) 2024-08-28 08:03:59 +02:00
parent 22af71a552
commit b183c165b2
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -1,6 +1,6 @@
html {
font-family: "Hoefler Text", Georgia, serif;
font-size: large;
font-family: monospace;
font-size: larger;
line-height: 1.5;
}
html,body { margin: 0; padding: 0; border: 0; }
@ -12,13 +12,12 @@ body {border-top: solid 5px var(--y);
#toc,#TOC {text-align: left;}
.main { min-height: calc(100vh - 1em); }
h1,h2,h3,h4,h5,h6,.abstract,nav,.meta {
font-family: "PT Sans Narrow", sans-serif;
line-height: calc(1ex/0.42); }
header > .content > h1 { margin: 0 0 1rem 0; }
p { text-align: justify; hyphens: auto; }
pre { overflow-x: scroll; padding: 1em; border-left: dotted 1px; }
pre > code { background: none; font-size: 0.875em; padding: 0; }
code,pre { font-family: "PT Mono", monospace; font-size: 0.825em; }
code,pre { font-family: monospace; font-size: 0.825em; }
code { padding: 1px 3px; }
figure { margin: 1rem 0; padding: 0; }
hr { opacity: 0.3; }
@ -122,7 +121,7 @@ figcaption { text-align: right; font-style: italic; font-size: 0.875em; }
--g: #879a00;
--bg: #fff;
--bg2: #fe8;
--bg2: hsl(218,20%,90%);
--fg: hsl(218,20%,15%);
--hl: #000;
--soft: hsl(218,20%,85%);
@ -145,7 +144,7 @@ img:hover,svg:hover { filter: none; }
--c: #15a198;
--g: #939452;
--bg: hsl(218,20%,12%);
--bg2: #069;
--bg2: hsl(218,20%,25%);
--fg: hsl(218,20%,70%);
--hl: hsl(218,10%,93%);
--soft: hsl(218,20%,35%);
@ -182,7 +181,7 @@ a:hover { color: var(--o);
.todo,.done { background: var(--r); color: #FFF; font-weight: bold; font-size: .66em; padding: .2em;}
.done { background: var(--g); }
header,footer { background: var(--bg2); border-color: var(--y); }
header,footer { background: var(--bg2); border-color: var(--soft); }
/* LEGACY */
.inlineblockimg { display: inline-block; }