diff options
-rw-r--r-- | style/style.less | 3 | ||||
-rw-r--r-- | 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. <http://creativecommons.org/licenses/by-sa/4.0/> + */ + @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 { |