From c3e64686145b5b2c31e72a182b3f8ff6c3ae3ef9 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 26 Dec 2017 13:04:18 +0100 Subject: Switch to bootstrap --- static/style.css | 70 +++++++++++++++++++------------------------------------- 1 file changed, 24 insertions(+), 46 deletions(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index 9774886..d0031dd 100644 --- a/static/style.css +++ b/static/style.css @@ -1,69 +1,47 @@ body { - margin: 5% 10%; color: #222; - padding: 1ex 1em; font-family: 'Abel', sans-serif; } -h1, h2, h3, h4, header, footer { +h1, h2, h3, h4, h5, h6, header, footer, .navbar-brand { font-family: 'Raleway', sans-serif; - margin: 2em 0 1em 0; } -h1, h2 { +h1, h2, .navbar-brand { text-shadow: 1px 1px #CCC; } pre, code, kbd { font-family: 'Anonymous Pro', monospace; } +a { + color: #F50; +} +a:hover { + color: #05A; +} pre { line-height: 120%; - font-size: smaller; - border: thin solid #CDE; overflow: auto; + border: thin solid #CDE; padding: 1ex 2ex; } -img, pre { - border-radius: 1ex; -} -time, address, .tags { - font-size: smaller; - color: #999; -} -dd { - padding-bottom: 1em; -} -article a { - color: #05A; -} -a, header a { - color: #F50; - text-decoration: none; -} -aside { - float: right; - padding-left: 1em; - margin: 0 0 1em 2em; - width: 10em; - border-left: thin solid #999; - color: #555; - -} -aside ul { - padding: 0pt; +article, section { + margin-top: 3em; + margin-bottom: 2em; } -aside p, aside ul { - margin: 1em 1ex; +article header { + margin-bottom: 1em; } -aside li { - list-style-type: none; - margin-bottom: 0.5ex; +article footer { + margin-top: 1em; } -article { - margin-bottom: 3em; +time, address { + color: #999; + font-size: small; } -.figcaption { +figcaption { font-style: italic; - margin-bottom: 2em; + margin-bottom: 2ex; } -address { - font-style: italic; +img { + margin-right: 1ex; + margin-bottom: 1ex; } -- cgit v1.2.3