X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/bndl.org/blobdiff_plain/c91b7e59c88c7f9dfb54057cc700ff6381b4ff05..ef72be3ee52390f8929973262b4c1a114c828b04:/style.css diff --git a/style.css b/style.css index 511fd6f..e5d2862 100644 --- a/style.css +++ b/style.css @@ -1,41 +1,89 @@ +/* for old browsers */ +article, aside, footer, header, nav, section { + display: block; +} + body { - padding: 1rem 5%; - line-height: 1.45; + font-family: FreeSans, sans-serif; + padding: 1em; +} + +body > header { + margin-bottom: 2em !important; +} +#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 { - min-width: 30rem; - 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; - text-decoration: none; - border-bottom: 1px solid #ddd; } -a:hover { - background-color: #004caa; - color: #ffffff; + +a { + text-decoration: none; + outline: 0; } -.btable th { + +article h3 { + font-weight: normal; color: #777; - text-align: center; - font-size: 0.9em; +} + +code { + font-size: 1.15em; +} + +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: ""; +} + +section { + position: relative; +} +section > h3 { + position: absolute; + right: 75%; + width: 25%; + margin: 0; + padding: 0 1em 0 0; /* 1.75 */ font-weight: normal; + font-size: 1em; + text-align: right; + white-space: nowrap; +} +section > .section, article > .section, body > header { + position: relative; + left: 25%; + width: 50%; + margin: 0; + padding: 0; + max-width: 38em; } -.btable td {padding: 0 0.3rem} -.btable td:first-child {padding-left: 0} -.btable td:last-child {padding-right: 0} -#theses {padding-left: 1rem} -h1, h2, h3, h4, h5 {line-height: 1.15}