still css tweaks
This commit is contained in:
parent
61b6b9e794
commit
c06d1afecb
|
@ -12,7 +12,7 @@ h1,h2,h3,h4,h5,h6 {
|
||||||
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; padding: 0; }
|
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; }
|
code { padding: 1px 3px; }
|
||||||
figure { margin: 1rem 0; padding: 0; }
|
figure { margin: 1rem 0; padding: 0; }
|
||||||
.meta { font-size: small;}
|
.meta { font-size: small;}
|
||||||
|
@ -57,16 +57,11 @@ table th { padding: .1em 1em; }
|
||||||
table td { padding: .1em 1em; }
|
table td { padding: .1em 1em; }
|
||||||
nav { text-align: center; padding: 1em 0; }
|
nav { text-align: center; padding: 1em 0; }
|
||||||
pre { line-height: 1em; }
|
pre { line-height: 1em; }
|
||||||
|
figcaption { text-align: right; font-style: italic; font-size: 0.875em; }
|
||||||
|
|
||||||
/* COLORS */
|
/* COLORS */
|
||||||
|
|
||||||
/* colortheme switch */
|
/* 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 {
|
:root {
|
||||||
--b03: #2E3440;
|
--b03: #2E3440;
|
||||||
|
@ -97,6 +92,7 @@ figcaption { text-align: right; font-style: italic; font-size: 0.875em; }
|
||||||
--hl: var(--rfg);
|
--hl: var(--rfg);
|
||||||
--lgbg: var(--fg);
|
--lgbg: var(--fg);
|
||||||
--lgbd: var(--rfg);
|
--lgbd: var(--rfg);
|
||||||
|
--brd: var(--b1);
|
||||||
}
|
}
|
||||||
|
|
||||||
img { filter: brightness(0.8) sepia(100%) hue-rotate(185deg) saturate(0.5); }
|
img { filter: brightness(0.8) sepia(100%) hue-rotate(185deg) saturate(0.5); }
|
||||||
|
@ -123,12 +119,12 @@ img:hover { filter: none; }
|
||||||
--hl: var(--b1);
|
--hl: var(--b1);
|
||||||
--lgbg: hsl(218,20%,10%);
|
--lgbg: hsl(218,20%,10%);
|
||||||
--lgbd: var(--b03);
|
--lgbd: var(--b03);
|
||||||
|
--brd: hsl(218,15%,23%);
|
||||||
}
|
}
|
||||||
img { filter: brightness(0.6) sepia(100%) hue-rotate(185deg) saturate(0.5); }
|
img { filter: brightness(0.6) sepia(100%) hue-rotate(185deg) saturate(0.5); }
|
||||||
img:hover { filter: brightness(0.7); }
|
img:hover { filter: brightness(0.7); }
|
||||||
pre {
|
pre {
|
||||||
background: hsl(218,20%,18%);
|
background: hsl(218,20%,18%);
|
||||||
border-color: hsl(218,15%,23%);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -145,7 +141,7 @@ body, body > div {
|
||||||
background: var(--bg);
|
background: var(--bg);
|
||||||
color: var(--fg);
|
color: var(--fg);
|
||||||
}
|
}
|
||||||
label:hover, a,a:visited { color: var(--hl); }
|
a,a:visited { color: var(--hl);}
|
||||||
code { background: var(--rbg); }
|
code { background: var(--rbg); }
|
||||||
table th { background: var(--rbg); }
|
table th { background: var(--rbg); }
|
||||||
#toc, blockquote { margin: 0 1rem;
|
#toc, blockquote { margin: 0 1rem;
|
||||||
|
@ -170,6 +166,6 @@ table th { background: var(--rbg); }
|
||||||
.co { color:var(--fg0); }
|
.co { color:var(--fg0); }
|
||||||
.pubDate { font-size: .7em; color: var(--fg); }
|
.pubDate { font-size: .7em; color: var(--fg); }
|
||||||
.tag { font-size: .7em; background-color: var(--rbg); }
|
.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;}
|
.todo,.done { background: var(--r); color: #FFF; font-weight: bold; font-size: .66em; padding: .2em;}
|
||||||
.done { background: var(--g); }
|
.done { background: var(--g); }
|
||||||
|
|
Loading…
Reference in a new issue