X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/ff620ce6ac85cf10600b3da9a640f6ebc3568444..4927af92d3b136436aa41a26369794443aa69b97:/style.css?ds=inline diff --git a/style.css b/style.css index c460723..8d43f66 100644 --- a/style.css +++ b/style.css @@ -1,69 +1,78 @@ -/* for old browsers */ -article, aside, footer, header, nav, section { - display: block; -} - body { + /* background: #fffffa; */ font-family: sans-serif; line-height: 1.6; - padding: 1em; + padding: 2em; } -nav, main, footer { +header, nav, main, footer { margin: auto; max-width: 38rem; } -nav { - font-size: 0.84em; +body > header { + margin-bottom: 0.25em; +} +body > header h1 { + margin: 0; + font-size: 100%; +} +header a { + color: inherit; +} +nav ul { + margin: 0; + padding: 0; +} +nav li { + display: inline; + text-transform: lowercase; } -main { - /* margin-top: 1em; */ - margin-bottom: 3em; - /* margin-top: 2%; */ +nav li + li { + margin-left: 0.5em; +} +nav a { + color: #333; +} +nav, main { + margin-bottom: 1.5em; +} +header >:not(h1) { + font-size: 0.875em; +} +header > h1 + p { + margin-top: -1em; } footer { border-top: 1px solid #bbb; + font-size: 0.84em; padding-top: 1em; } footer p { margin: 0; - font-size: 0.84em; } -#hiddentitle { - font-size: 0; -} h1 { font-size: 1.5em; } -#subtitle { - display: inline; - font-weight: normal; - font-size: 1.2em; - color: #444; +h2 { + font-size: 1.25em; +} +h3 { + font-size: 1.125em; } a { - color: #295bad; - text-decoration: none; + color: #036; } +/* a:hover, a:focus { - transition-property: background; - transition-duration: 0.1s; - background: #f2f8fa; - padding: 0.25em 0; - color: #0745ad; -} -a:active { - color: #a10029; + color: #005a6a; } -/* +*/ a:active { - color: #06d; - box-shadow: 0 1px 1px #ddd; + outline-offset: 2px; } -*/ h4 { margin: 0.75em auto; @@ -92,13 +101,28 @@ article h3 { bottom: 0.05em; } +pre, code { + background: #f6f6f6; + font: 1.15em monospace; + padding: 1em; +} +pre > code { + padding: 0; + background: initial; +} code { - font-size: 1.15em; text-transform: none; + padding: .2em .3em; +} +strong { + font-weight: bold; +} +em { + font-style: italic; } table td { - padding: 0 0.3em; + padding: 0.125em 0.3em; } table td:first-child { padding-left: 0; @@ -106,50 +130,49 @@ table td:first-child { table td:last-child { padding-right: 0 } - -dl { - margin: 0 0 0.5em 0; +#notes { + margin-top: 0.9em; } -dl:last-child { - margin: 0; +.post-list { + width: 100%; } -dt { - margin-bottom: 0.15em; +.post-list tr:hover { + background: #fafafa; } -dd { - font-size: 0.9em; - margin-left: 1.5em; - margin-bottom: 0.75em; +.post-list td { + padding: 0.25em 0; } -.plinks { - font-size: 0.9em; +.post-list td:nth-child(2) { + text-align: right; } -ul, ol { - list-style: none; - padding-left: 1.5em; - position: relative; +small, dd { + font-size: 0.875em; +} +.muted { + color: #666; +} +.inbox { + margin-top: 2em; } -li { +li, dd { margin-bottom: 0.25em; } -ul > li::before { - content: '•'; - position: absolute; - left: 0.5em; +.feed-icon { + margin-right: 3px } - -/* -ol { - margin: 0; - padding: 0; +.feed-icon-h2 { + margin-left: 5px; + position: relative; + top: 2px } -ol li { - margin-top: 0.5em; +.smly { + display: inline-block; + transform: rotate(90deg); + margin-left: 0.2em; } -ol li:first-child { - margin-top: 0; +.warn { + color: #a10029; } -*/