cmc/cleberg.net
My personal web garden & blog.
clone: git clone https://gitbay.org/cmc/cleberg.net.git
main: theme/static/styles.css · raw
1body { max-width: 800px; margin: 0 auto; padding: 1rem; }
2a, a:visited { color: #0000ff; }
3nav ul { list-style: none; padding: 0; display: flex; flex-direction: row; }
4nav ul li { padding-right: 0.5rem;}
5img { max-width: 100%; }
6.post-list { padding: 0; padding-inline-start: 0; }
7.post-list-item { display: flex; list-style: none; align-items: baseline; }
8.post-list-item time { padding-right: 0.5rem; white-space: nowrap; }
9.post-list-item a { flex-grow: 1; white-space: normal; }
10.post-list-year { list-style: none; margin-top: 1rem; margin-bottom: 0.5rem; font-weight: bold; }
11.skip-link { display: none; }
12table { border-collapse: collapse; }
13table, th, td { border: 1px solid #ccc; }
14th, td { padding: 0.25rem 0.5rem; text-align: left; }
15footer { margin: 2rem 0;}
16pre, blockquote { margin: 1rem 0; padding: 0.5rem; background-color: #eee; }
17pre { overflow: auto; white-space: pre; }
18blockquote p { margin: 0; margin-bottom: 1rem; }
19blockquote p:last-child { margin-bottom: 0; }
20code { color: #942192; }
21/* Blocks are coloured by syntax.css, so this is only the fallback for the tokens it
22 leaves unclassified: the highlight theme's own foreground rather than inline code's. */
23pre code { color: #323232; }
24@media (prefers-color-scheme: dark) {
25 body { background-color: #181a1b; color: #cccccc; }
26 a, a:visited { color: #68A9F8; }
27 code { color: #ff68e1; }
28 pre, blockquote { background-color: #000; }
29 pre code { color: #c0c5ce; }
30 table, th, td { border-color: #444; }
31}