X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/cb742bb69034bdc97f1b762fc4bf7fde4f027fea..1c986cd7696871d5691aec94d1c18896297aae8d:/style.css?ds=inline diff --git a/style.css b/style.css index 91c6253..baeed6b 100644 --- a/style.css +++ b/style.css @@ -1,46 +1,104 @@ +/* for old browsers */ +article, aside, footer, header, nav, section { + display: block; +} + body { - padding: 1rem 5%; - line-height: 1.45; + font-family: FreeSans, sans-serif; + text-transform: lowercase; + line-height: 1.4; + padding: 1em; +} + +main { + margin: auto; + max-width: 38em; +} + +main > header { + margin-bottom: 1em; +} + +#title { + font-size: 2.1em; + font-weight: normal; + margin-bottom: 0; +} +#title:after { + content: ".org"; + color: #dadada; } -header {text-align: center} -header, section {margin-bottom: 1.7rem} -#sub { +#subtitle { + display: inline; + font-weight: normal; + font-size: 1.2em; color: #444; - font-size: 0.9rem; - position: relative; - top: -0.75rem; } -main { - max-width: 50rem; - padding-bottom: 1rem; -} -td {padding: 0 0.25rem} -dl {margin-left: 2.5rem} -#contact {margin-bottom: 0} -code {font-size: 14px} -a:link { - color: #004caa; + +a { text-decoration: none; - border-bottom: 1px solid #ddd; -} -a:hover { - background-color: #004caa; - color: #ffffff; + outline: 0; } -.btable th { + +article h3 { + font-weight: normal; color: #777; - text-align: center; - font-size: 0.9em; +} + +code { + font-size: 1.15em; + text-transform: none; +} + +table td { + padding: 0 0.3em; +} +table td:first-child { + padding-left: 0; +} +table td:last-child { + padding-right: 0 +} + +nav ul { + list-style-type: none; + padding: 0; +} +nav li { + display: inline; +} +nav li:after { + content: "\00a0\00b7"; +} +nav li:last-child:after { + content: ""; +} + +main { + display: grid; + grid-template-columns: auto 38em auto; + grid-column-gap: 1.5em; + grid-row-gap: 1em; +} + +main > h3 { + grid-column: 1; + text-align: right; + font-size: 1em; font-weight: normal; } -.btable td:first-child {text-align: right} -#theses {padding-left: 1rem} -h1, h2, h3, h4, h5 {line-height: 1.15} -#gnu-inside { - position: absolute; - top: 0px; - right: 0px; -} -#gnu-inside a {border: none !important} -#gnu-inside:hover a {background-color: transparent} -#gnu-inside:hover img {background-color: aliceblue} + +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; +}