Browse Source

fix: readability fixes

main
Vivek R 2 years ago
parent
commit
3bb3f06886
3 changed files with 18 additions and 10 deletions
  1. +1
    -1
      layouts/partials/head.html
  2. +11
    -6
      static/css/dark.css
  3. +6
    -3
      static/css/main.css

+ 1
- 1
layouts/partials/head.html View File

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


+ 11
- 6
static/css/dark.css View File

@ -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,


+ 6
- 3
static/css/main.css View File

@ -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;
}


Loading…
Cancel
Save