X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/fff947358dc21e55aa0e69b1a7f4ab371c3b25b0..b7583bc7e5068ef6557b6dafdfbb97c99736af21:/style.css?ds=sidebyside diff --git a/style.css b/style.css index e211e8d..cb676e4 100644 --- a/style.css +++ b/style.css @@ -1,42 +1,142 @@ +/* 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; +} + +#title { + font-size: 2.1em; + font-weight: normal; + margin-bottom: 0; +} +#title:after { + content: ".eu.org"; + color: #dadada; +} +#title a { + color: inherit; + border-bottom: 1px solid #eaeaea; } -header {text-align: center} -header, section {margin-bottom: 1.7rem} -#sub { +#title a:hover { + background-color: whitesmoke; + border-bottom-color: #e3e3e3; +} +#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 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 0 0.5em 0; +} +dl:last-child { + margin: 0; +} +dt { + margin-bottom: 0.5em; +} +dd { + margin-left: 1.5em; +} +#publications dd, .plinks { + font-size: 0.9em; +} +/* +ol { + margin: 0; + padding: 0; +} +ol li { + margin-top: 0.5em; +} +ol li:first-child { + margin-top: 0; +} +*/