From d6ea98538491807c46e41b3d515feacf1c805bb8 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sun, 30 Sep 2018 09:02:00 +0200 Subject: [PATCH] use proper font --- themes/first/layouts/_default/baseof.html | 2 +- themes/first/src/css/font.less | 2 +- themes/first/src/css/main.less | 29 +++++++++++++++-------- 3 files changed, 21 insertions(+), 12 deletions(-) diff --git a/themes/first/layouts/_default/baseof.html b/themes/first/layouts/_default/baseof.html index 4791dff..ec4c8c1 100644 --- a/themes/first/layouts/_default/baseof.html +++ b/themes/first/layouts/_default/baseof.html @@ -3,7 +3,7 @@ {{ .Title }} - + diff --git a/themes/first/src/css/font.less b/themes/first/src/css/font.less index 90a80fe..89e082f 100644 --- a/themes/first/src/css/font.less +++ b/themes/first/src/css/font.less @@ -1,4 +1,4 @@ -@font-normal: ~"'Libre Baskerville', serif"; +@font-normal: ~"'Roboto', sans-serif"; @font-code: ~"'Inconsolata', monospace"; @font-header: ~"'Zilla Slab', serif"; diff --git a/themes/first/src/css/main.less b/themes/first/src/css/main.less index fa69355..d6578ce 100644 --- a/themes/first/src/css/main.less +++ b/themes/first/src/css/main.less @@ -72,24 +72,33 @@ ul.pages-list{ padding-left: .0em; li { - a { - padding-left: 1.3em; - padding-right: 1.0em; - padding-top: 1.0em; - padding-bottom: 1.0em; + padding-left: 1.3em; + padding-right: 1.0em; + padding-top: 1.0em; + padding-bottom: 1.0em; - margin-top: 0.5em; - margin-bottom: 0em; - background-color: @color-pages-list; + margin-top: 0.5em; + margin-bottom: 0em; + background-color: @color-pages-list; + + border-left: 3px solid @color-pages-list-border; - border-left: 3px solid @color-pages-list-border; display: block; text-align: left; text-decoration: none; color: @color-pages-list-text; + + h1,h2,h3,h4,h5 { + margin-top: 10px; + margin-bottom: 0px; + text-decoration: underline; + } + + p { + margin-top: 10px; + } } - } }