From 3bb3f06886189baa9319c7f386774bec5ebc6f0c Mon Sep 17 00:00:00 2001 From: Vivek R Date: Tue, 22 Oct 2019 15:54:46 +0530 Subject: fix: readability fixes --- layouts/partials/head.html | 2 +- static/css/dark.css | 17 +++++++++++------ static/css/main.css | 9 ++++++--- 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 242c9b2..d4b1427 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,5 +1,5 @@
-

{{ .Site.Title }}

+

{{ .Site.Title }}

{{- if isset .Site.Params "subtitle" -}}

{{ .Site.Params.Subtitle | markdownify }}

diff --git a/static/css/dark.css b/static/css/dark.css index cc1fe66..b8d59fa 100644 --- a/static/css/dark.css +++ b/static/css/dark.css @@ -1,5 +1,5 @@ body { - color: #fff; + color: #ddd; background-color: #000; } @@ -18,15 +18,15 @@ hr { } blockquote { - border-color: #fff; + border-color: #ddd; } h1,h2,h3,h4,h5,h6 { - color: #fff; + color: #ddd; } a,a:hover { - color: #fff; + color: #ddd; text-decoration: underline; } @@ -35,8 +35,13 @@ a:hover { } .post-tags .tags a { - border: 1px solid #fff; - color: #fff; + border: 1px solid #ddd; + color: #ddd; +} + +.site-title a { + color: #ddd; + text-decoration: none !important; } .header nav, diff --git a/static/css/main.css b/static/css/main.css index 000e721..4d3fe19 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -1,6 +1,6 @@ body { font-family: "ubuntu", sans-serif; - font-weight: 300; + font-weight: 400; color: #333; line-height: 1.6; font-size: 16px; @@ -112,12 +112,10 @@ h4 { } h5 { - font-weight: 300; font-size: 1rem; } h6 { - font-weight: 300; font-size: .9rem; } @@ -168,6 +166,11 @@ ul { list-style: disc inside; } +.site-title a { + color: #333; + text-decoration: none !important; +} + .post ul li { margin-bottom: 10px; } -- cgit v1.2.3