Skip to content

Commit 9160868

Browse files
authored
Merge pull request knadh#25 from vividvilla/fix-readability
Fix readability
2 parents 000316e + 93a0f33 commit 9160868

File tree

6 files changed

+82
-10
lines changed

6 files changed

+82
-10
lines changed

.gitignore

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
2+
# Created by https://www.gitignore.io/api/hugo,linux,macos
3+
# Edit at https://www.gitignore.io/?templates=hugo,linux,macos
4+
5+
### Hugo ###
6+
# Generated files by hugo
7+
/public/
8+
/resources/_gen/
9+
10+
# Executable may be added to repository
11+
hugo.exe
12+
hugo.darwin
13+
hugo.linux
14+
15+
### Linux ###
16+
*~
17+
18+
# temporary files which can be created if a process still has a handle open of a deleted file
19+
.fuse_hidden*
20+
21+
# KDE directory preferences
22+
.directory
23+
24+
# Linux trash folder which might appear on any partition or disk
25+
.Trash-*
26+
27+
# .nfs files are created when an open file is removed but is still being accessed
28+
.nfs*
29+
30+
### macOS ###
31+
# General
32+
.DS_Store
33+
.AppleDouble
34+
.LSOverride
35+
36+
# Icon must end with two \r
37+
Icon
38+
39+
# Thumbnails
40+
._*
41+
42+
# Files that might appear in the root of a volume
43+
.DocumentRevisions-V100
44+
.fseventsd
45+
.Spotlight-V100
46+
.TemporaryItems
47+
.Trashes
48+
.VolumeIcon.icns
49+
.com.apple.timemachine.donotpresent
50+
51+
# Directories potentially created on remote AFP share
52+
.AppleDB
53+
.AppleDesktop
54+
Network Trash Folder
55+
Temporary Items
56+
.apdisk
57+
58+
# End of https://www.gitignore.io/api/hugo,linux,macos

images/screenshot-dark.png

-49.4 KB
Loading

images/screenshot-light.png

-52 KB
Loading

layouts/partials/head.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="header">
2-
<h1 class="site-title">{{ .Site.Title }}</h1>
2+
<h1 class="site-title"><a href="/">{{ .Site.Title }}</a></h1>
33
<div class="site-description">
44
{{- if isset .Site.Params "subtitle" -}}
55
<h2>{{ .Site.Params.Subtitle | markdownify }}</h2>

static/css/dark.css

+17-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
body {
2-
color: #fff;
2+
color: #ddd;
33
background-color: #000;
44
}
55

@@ -18,15 +18,21 @@ hr {
1818
}
1919

2020
blockquote {
21-
border-color: #fff;
21+
border-color: #ddd;
2222
}
2323

2424
h1,h2,h3,h4,h5,h6 {
25-
color: #fff;
25+
color: #ddd;
2626
}
2727

2828
a,a:hover {
29-
color: #fff;
29+
color: #ff7979;
30+
text-decoration: none;
31+
}
32+
33+
.site-description a,
34+
.site-description a:hover {
35+
color: #ddd;
3036
text-decoration: underline;
3137
}
3238

@@ -35,8 +41,13 @@ a:hover {
3541
}
3642

3743
.post-tags .tags a {
38-
border: 1px solid #fff;
39-
color: #fff;
44+
border: 1px solid #ddd;
45+
color: #ddd;
46+
}
47+
48+
.site-title a {
49+
color: #ddd;
50+
text-decoration: none !important;
4051
}
4152

4253
.header nav,

static/css/main.css

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
body {
22
font-family: "ubuntu", sans-serif;
3-
font-weight: 300;
3+
font-weight: 400;
44
color: #333;
55
line-height: 1.6;
66
font-size: 16px;
@@ -112,12 +112,10 @@ h4 {
112112
}
113113

114114
h5 {
115-
font-weight: 300;
116115
font-size: 1rem;
117116
}
118117

119118
h6 {
120-
font-weight: 300;
121119
font-size: .9rem;
122120
}
123121

@@ -168,6 +166,11 @@ ul {
168166
list-style: disc inside;
169167
}
170168

169+
.site-title a {
170+
color: #333;
171+
text-decoration: none !important;
172+
}
173+
171174
.post ul li {
172175
margin-bottom: 10px;
173176
}

0 commit comments

Comments
 (0)