still css tweaks

This commit is contained in:
Yann Esposito (Yogsototh) 2021-05-16 13:32:44 +02:00
parent 61b6b9e794
commit c06d1afecb
Signed by untrusted user who does not match committer: yogsototh
GPG Key ID: 7B19A4C650D59646
1 changed files with 6 additions and 10 deletions

View File

@ -12,7 +12,7 @@ h1,h2,h3,h4,h5,h6 {
p { text-align: justify; hyphens: auto; }
pre { overflow-x: scroll; border: solid 1px; padding: 1em; }
pre > code { background: none; font-size: 0.875em; padding: 0; }
code,pre { font-family: Menlo, Monaco, monospace; font-size: 14px; }
code,pre { font-family: Menlo, Monaco, monospace; font-size: 0.825em; }
code { padding: 1px 3px; }
figure { margin: 1rem 0; padding: 0; }
.meta { font-size: small;}
@ -57,16 +57,11 @@ table th { padding: .1em 1em; }
table td { padding: .1em 1em; }
nav { text-align: center; padding: 1em 0; }
pre { line-height: 1em; }
figcaption { text-align: right; font-style: italic; font-size: 0.875em; }
/* COLORS */
/* colortheme switch */
body>input { display: none; }
#labels > .content { margin: 0 auto; text-align: center; }
label { font-weight: 700; }
label:hover { cursor: pointer; }
label ~ pre { margin-top: 0; }
figcaption { text-align: right; font-style: italic; font-size: 0.875em; }
:root {
--b03: #2E3440;
@ -97,6 +92,7 @@ figcaption { text-align: right; font-style: italic; font-size: 0.875em; }
--hl: var(--rfg);
--lgbg: var(--fg);
--lgbd: var(--rfg);
--brd: var(--b1);
}
img { filter: brightness(0.8) sepia(100%) hue-rotate(185deg) saturate(0.5); }
@ -123,12 +119,12 @@ img:hover { filter: none; }
--hl: var(--b1);
--lgbg: hsl(218,20%,10%);
--lgbd: var(--b03);
--brd: hsl(218,15%,23%);
}
img { filter: brightness(0.6) sepia(100%) hue-rotate(185deg) saturate(0.5); }
img:hover { filter: brightness(0.7); }
pre {
background: hsl(218,20%,18%);
border-color: hsl(218,15%,23%);
}
}
@ -145,7 +141,7 @@ body, body > div {
background: var(--bg);
color: var(--fg);
}
label:hover, a,a:visited { color: var(--hl); }
a,a:visited { color: var(--hl);}
code { background: var(--rbg); }
table th { background: var(--rbg); }
#toc, blockquote { margin: 0 1rem;
@ -170,6 +166,6 @@ table th { background: var(--rbg); }
.co { color:var(--fg0); }
.pubDate { font-size: .7em; color: var(--fg); }
.tag { font-size: .7em; background-color: var(--rbg); }
pre { border-color: var(--fg); background: var(--rbg); }
pre { border-color: var(--brd); background: var(--rbg); }
.todo,.done { background: var(--r); color: #FFF; font-weight: bold; font-size: .66em; padding: .2em;}
.done { background: var(--g); }