fix: readability fixes

This commit is contained in:
Vivek R 2019-10-22 15:54:46 +05:30
parent 000316e711
commit c269d8202c
3 changed files with 18 additions and 10 deletions

View File

@ -1,5 +1,5 @@
<div class="header"> <div class="header">
<h1 class="site-title">{{ .Site.Title }}</h1> <h1 class="site-title"><a href="/">{{ .Site.Title }}</a></h1>
<div class="site-description"> <div class="site-description">
{{- if isset .Site.Params "subtitle" -}} {{- if isset .Site.Params "subtitle" -}}
<h2>{{ .Site.Params.Subtitle | markdownify }}</h2> <h2>{{ .Site.Params.Subtitle | markdownify }}</h2>

View File

@ -1,5 +1,5 @@
body { body {
color: #fff; color: #ddd;
background-color: #000; background-color: #000;
} }
@ -18,15 +18,15 @@ hr {
} }
blockquote { blockquote {
border-color: #fff; border-color: #ddd;
} }
h1,h2,h3,h4,h5,h6 { h1,h2,h3,h4,h5,h6 {
color: #fff; color: #ddd;
} }
a,a:hover { a,a:hover {
color: #fff; color: #ddd;
text-decoration: underline; text-decoration: underline;
} }
@ -35,8 +35,13 @@ a:hover {
} }
.post-tags .tags a { .post-tags .tags a {
border: 1px solid #fff; border: 1px solid #ddd;
color: #fff; color: #ddd;
}
.site-title a {
color: #ddd;
text-decoration: none !important;
} }
.header nav, .header nav,

View File

@ -1,6 +1,6 @@
body { body {
font-family: "ubuntu", sans-serif; font-family: "ubuntu", sans-serif;
font-weight: 300; font-weight: 400;
color: #333; color: #333;
line-height: 1.6; line-height: 1.6;
font-size: 16px; font-size: 16px;
@ -112,12 +112,10 @@ h4 {
} }
h5 { h5 {
font-weight: 300;
font-size: 1rem; font-size: 1rem;
} }
h6 { h6 {
font-weight: 300;
font-size: .9rem; font-size: .9rem;
} }
@ -168,6 +166,11 @@ ul {
list-style: disc inside; list-style: disc inside;
} }
.site-title a {
color: #333;
text-decoration: none !important;
}
.post ul li { .post ul li {
margin-bottom: 10px; margin-bottom: 10px;
} }