From 8152c250c54b6be6533eecf393d38c83b4c66348 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 24 Jan 2016 09:25:11 +0000 Subject: Site redesign --- provider/css/default.css | 77 ++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 65 insertions(+), 12 deletions(-) (limited to 'provider/css') diff --git a/provider/css/default.css b/provider/css/default.css index af4832a..a100adc 100644 --- a/provider/css/default.css +++ b/provider/css/default.css @@ -1,29 +1,82 @@ +header, footer { + padding:1em 0 1em 0; +} + +header { + border-bottom:2px solid #f0f0f0; +} + +footer { + border-top:2px solid #f0f0f0; +} + +footer ul.tags { + list-style:none outside none; + margin:0; + padding:0; + display:inline; +} + +footer ul.tags:before { content:" — "; } + +footer ul.tags li { + margin:0; + padding:0; + display:inline; +} + +footer ul.tags li:after { content:", "; } + +footer ul.tags li:last-child:after { content: ""; } + +header h1, header h2 { + margin:0; +} + +header h2.subtitle { + font-size:1em; + font-weight:normal; + font-style:italic; +} + body { - margin: auto; - padding-right: 1em; - padding-left: 1em; - font: normal 1.1em monospace; - max-width: 90em; - text-align: justify; + margin:auto; + padding-right:1em; + padding-left:1em; + font:normal 1em monospace; + max-width:90em; + text-align:justify; } a { - color: inherit; + color:inherit; } p { - margin-bottom: 0 + margin-top:1em; + margin-bottom:0; +} + +p:last-of-type { + margin-bottom:1em; } p + p { - text-indent: 1.5em; - margin-top: 0; + text-indent:1.5em; + margin-top:0; +} + +footer p, footer p:last-of-type { + margin:0; + padding:0; + text-indent:0; + display:inline; } div.sourceCode { - padding-left: 1.5em; + padding-left:1.5em; border-left:2px solid #f0f0f0; - margin-left: -2px; + margin-left:-2px; } pre code { -- cgit v1.2.3