From b07cc6b57a7f0fd80c390c7f07bccd1b2b6dfaa3 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 22 Mar 2015 01:14:49 +0100 Subject: Improve layout --- style/style.less | 3 ++- style/typography.less | 21 +++++++++++++++------ 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/style/style.less b/style/style.less index f5603d0..b60acad 100644 --- a/style/style.less +++ b/style/style.less @@ -31,11 +31,12 @@ ol.footnotes { */ pre { text-align: left; + margin: 1em 0; padding: 1em; } pre, code { - font-family: "Source Code Pro"; + font-family: monospace; background-color: #f3f3f3; font-size: 11pt; } diff --git a/style/typography.less b/style/typography.less index 316516f..a5c83f9 100644 --- a/style/typography.less +++ b/style/typography.less @@ -1,3 +1,12 @@ +/* + * Ousía Website CSS + * + * (c) Andreas Stöckel, 2015 + * + * This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 + * International License. + */ + @font-face { font-family: 'Noto Sans'; font-style: normal; @@ -26,13 +35,13 @@ html { background-color: @color-footer; } -p { - margin-bottom: 0.5rem; -} +/* Paragraphs and headers */ -h1, h2, h3 { - font-weight: normal; - margin-bottom: 1em; +main { + p { margin: 1.12em 0 } + h1 { font-size: 2em; margin: .67em 0 } + h2 { font-size: 1.5em; margin: .75em 0 } + h3 { font-size: 1.17em; margin: .83em 0 } } h1 { -- cgit v1.2.3