X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/ef72be3ee52390f8929973262b4c1a114c828b04..46e00845fab171c8a35b2455e60f59e51463ca3d:/style.css diff --git a/style.css b/style.css index e5d2862..163c9cf 100644 --- a/style.css +++ b/style.css @@ -5,19 +5,26 @@ article, aside, footer, header, nav, section { body { font-family: FreeSans, sans-serif; + text-transform: lowercase; + line-height: 1.4; padding: 1em; } -body > header { - margin-bottom: 2em !important; +main { + margin: auto; } + +main > header { + margin-bottom: 1em; +} + #title { font-size: 2.1em; font-weight: normal; margin-bottom: 0; } #title:after { - content: ".org"; + content: ".eu.org"; color: #dadada; } #subtitle { @@ -39,6 +46,7 @@ article h3 { code { font-size: 1.15em; + text-transform: none; } table td { @@ -65,25 +73,50 @@ nav li:last-child:after { content: ""; } -section { - position: relative; +main { + display: grid; + grid-template-columns: auto 32em auto; + grid-column-gap: 1.5em; + grid-row-gap: 1em; } -section > h3 { - position: absolute; - right: 75%; - width: 25%; - margin: 0; - padding: 0 1em 0 0; /* 1.75 */ - font-weight: normal; - font-size: 1em; + +main > h3 { + grid-column: 1; text-align: right; - white-space: nowrap; + font-size: 1em; + font-weight: normal; } -section > .section, article > .section, body > header { - position: relative; - left: 25%; - width: 50%; + +main > header, main > section { + grid-column: 2; +} + +main > h3, ul:first-child { + margin-top: 0; + margin-bottom: 0; +} +p:first-child { + margin-top: 0; +} +p:last-child { + margin-bottom: 0; +} + +#publications section { + text-transform: none; +} +dl { + margin: 0; +} +/* +ol { margin: 0; padding: 0; - max-width: 38em; } +ol li { + margin-top: 0.5em; +} +ol li:first-child { + margin-top: 0; +} +*/