diff options
author | guangmean <angularcorp@outlook.com> | 2019-01-06 19:16:57 +0300 |
---|---|---|
committer | guangmean <angularcorp@outlook.com> | 2019-01-06 19:16:57 +0300 |
commit | d2c1569b14d5902f9ddcc303d49e52c56aee21b0 (patch) | |
tree | 99965932b4bde97b14674d2567483adfa5d0e72f | |
parent | 18d0846a0c086a61e99556aba3cb9296468d2a80 (diff) |
Font family adjust for prettify
-rw-r--r-- | Site/themes/Niello/layouts/index.html | 6 | ||||
-rw-r--r-- | Site/themes/Niello/layouts/post/single.html | 6 | ||||
-rw-r--r-- | Site/themes/Niello/static/css/diello.css | 23 |
3 files changed, 21 insertions, 14 deletions
diff --git a/Site/themes/Niello/layouts/index.html b/Site/themes/Niello/layouts/index.html index 382d4ca..5806ecf 100644 --- a/Site/themes/Niello/layouts/index.html +++ b/Site/themes/Niello/layouts/index.html @@ -13,7 +13,7 @@ <div class="ads"></div> <div class="home"> <div class="logo"> - <h1>{{.Title}}</h1> + <h1><a href="/">{{.Title}}</a></h1> </div> <div class="navigation"> <a href="/" class="current">HOME</a> @@ -25,9 +25,7 @@ <div class="less"> <time>Published: {{ dateFormat "Monday, Jan 2, 2006" .Params.date }}</time> | {{ .ReadingTime }} minute read </div> - <div> - <em>{{ .Summary }}</em> - </div> + <div class="em">{{ .Summary }}</div> {{ if .Truncated }} <small><a href="{{ .RelPermalink }}">Read More >></a></small> {{ else }} diff --git a/Site/themes/Niello/layouts/post/single.html b/Site/themes/Niello/layouts/post/single.html index b9860e1..3592b3d 100644 --- a/Site/themes/Niello/layouts/post/single.html +++ b/Site/themes/Niello/layouts/post/single.html @@ -13,7 +13,7 @@ <div class="ads"></div> <div class="home"> <div class="logo"> - <h1>{{.Site.Title}}</h1> + <h1><a href="/">{{.Site.Title}}</a></h1> </div> <div class="navigation"> <a href="/">HOME</a> @@ -25,9 +25,7 @@ <div class="less"> <time>Published: {{ dateFormat "Monday, Jan 2, 2006" .Params.date }}</time> | {{ .ReadingTime }} minute read | Using {{ .WordCount }} words </div> - <div> - <em>{{ .Content | safeHTML }}</em> - </div> + <div class="em">{{ .Content | safeHTML }}</div> <br /> <br /> <div class="less">Page link: <a href="{{ .Permalink }}" class="pagelink">{{ .Permalink }}</a></div> diff --git a/Site/themes/Niello/static/css/diello.css b/Site/themes/Niello/static/css/diello.css index 9a66c5c..7763719 100644 --- a/Site/themes/Niello/static/css/diello.css +++ b/Site/themes/Niello/static/css/diello.css @@ -19,7 +19,7 @@ html, body { margin : 0; padding : 0; font-family : Museo100; - font-size : 16px; + font-size : 18px; color : #ccc; line-height : 200%; background-color : #000; @@ -33,8 +33,17 @@ h1 { h3 { margin : 0; padding : 0; - font-family : Museo300-Italic; - font-size : 22px; + font-family : Museo300; + font-size : 20px; +} + +a { + color : #fff; +} + +h1 > a { + color : #ccc; + text-decoration : none; } h3 > a { @@ -63,8 +72,8 @@ small > a:hover { background-color: #000; } -em { - font-size : 20px; +.em { + font-size : 18px; } footer { @@ -72,6 +81,7 @@ footer { justify-content : center; padding : 30px; width : 100%; + font-family : Museo300; font-size : 18px; color : #999; } @@ -132,13 +142,14 @@ footer { .less { color : #666; + font-size : 16px; } .pages { padding : 30px 0 10px; font-size : 18px; } .pages > a { - color : #de0066; + color : #de0066; } .pagelink { |