X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/bndl.org/blobdiff_plain/6d80ac585ce878a70570a9fa869c4ccb4ac3156b..46e00845fab171c8a35b2455e60f59e51463ca3d:/style.css?ds=inline diff --git a/style.css b/style.css index 17999c7..163c9cf 100644 --- a/style.css +++ b/style.css @@ -1,42 +1,122 @@ +/* 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; +} + +main > header { + margin-bottom: 1em; } -header {text-align: center} -header, section {margin-bottom: 1.7rem} -#sub { + +#title { + font-size: 2.1em; + font-weight: normal; + margin-bottom: 0; +} +#title:after { + content: ".eu.org"; + color: #dadada; +} +#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; + +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 32em 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 {padding: 0.1rem 0.3rem} -.btable td:first-child, .btable td:nth-child(3) {text-align: right} -.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} + +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; +} +ol li { + margin-top: 0.5em; +} +ol li:first-child { + margin-top: 0; +} +*/