:root { --menu-bg: #fff; --site-bg: #fff; --text-color: #000; --link-color: #000; --article-bg: ##fcfcfc; --article-border-color: #f3f1f1; --article-shadow-color: rgba(0,0,0,0.42); --h2-color: #000000; --blockquote-border-color: #d2d2d2; --blockquote-color: ##666666; --pre-bg: #f0f0f0; } @media (prefers-color-scheme: dark) { :root { } } /* ----------- Entire site */ body { font-family: 'helvetica'; padding: 0; margin: 0; font-size: 1.2cem; background-color: var(--site-bg); } .the-site { display: flex; flex-wrap: wrap; margin-left: auto; margin-right: auto; max-width: 800px; margin-top: 20px; } main, footer { width: 600px; max-width: 95%; margin-left: auto; margin-right: auto; } img { max-width: 99%; width: auto; height: auto; } a { text-decoration: none; color: var(--link-color); } a:hover { text-decoration: underline; } /* ----------- Left column */ .left-column { flex: 200px 0; text-align: center; flex-shrink: 0; } @media (max-width: 710px) { #topnav { width: 100%; } .left-column { flex: 100%; } } /* ----------- Site title */ h1 { font-size: 2.5em; margin: 0; } @media (max-width: 710px) { h1 { margin-bottom: 10px; } } /* ----------- Logo */ #logo img{ height: auto; width: auto; } @media (max-width: 710px) { #logo img { height: 40px; } } p /* ----------- Main navigation */ .left-column nav { margin-top: 30px; flex-shrink: 0; } .left-column nav a { display: block; margin-bottom: 5px; } @media (max-width: 710px) { .left-column nav a { display: inline-block; margin-right: 10px; } h1 { font-size: 1.5em; display: inline-block; } .the-site { margin-top: 5px; } .left-column nav { margin-top: 0; margin-bottom: 10px; } } /* ----------- Right column */ .right-column { flex: 50%; } main { padding: 5px; } @media (max-width: 710px) { .right-column { flex: 100%; } } /* ----------- Pagination navigation */ .pagination { text-align: center } .pagination li { display: inline-block } #pagination ul { text-align:center; } #pagination ul li { display:inline; padding:0 1em; } /* ----------- Taxmomy list */ .taxonomy a { text-decoration: none; } .taxonomy li { list-style: none; } .taxonomy ul { padding: 0; } /* ----------- Articles / Posts */ article { margin-bottom: 20px; padding: 25px; background-color: var(--article-bg); border-style: solid; border-color: var(--article-border-color); border-radius: 3px; box-shadow: -1px 8px 35px -18px var(--article-shadow-color); line-height: 1.32em; } article p { text-align: justify; } article a { text-decoration: underline; } h3 { text-align: left; } a h2{ text-decoration: none; } h2 { text-align: left; padding: 0; margin: 0; color: var(--h2-color); font-size: 1.5em; line-height: 35px; } blockquote { border: 0; border-left: 3px; border-style: solid; border-color: var(--blockquote-border-color); margin-left: 15px; padding-left: 15px; color: var(--blockquote-color); } pre { width: 93%; padding-bottom: 5px; white-space: pre-wrap; padding: 11px; background-color: var(--pre-bg); word-break: keep-all; } /* ----------- Articles images */ article figure { text-align: center; margin: 0; max-width: 100%; font-size: 0.8em; } img.float-right { float: right; display: inline; margin-left: 10px; } img.center { max-width: 100%; height: auto; } /* ----------- Articles adjustement navigation */ .next-link { float: right; } /* ----------- Footer */ footer { text-align: center; padding: 10px 0 10px 0; }