Ver código fonte

fix: readability fixes

pull/2/head
Vivek R 4 anos atrás
pai
commit
3bb3f06886
3 arquivos alterados com 18 adições e 10 exclusões
  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 Ver arquivo

@@ -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 Ver arquivo

@@ -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 Ver arquivo

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

Carregando…
Cancelar
Salvar