diff options
author | Vivek R <vividvilla@gmail.com> | 2019-10-22 21:24:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-22 21:24:31 +0300 |
commit | fd80089ceba1e703b60a34fd4b0255181b2d1739 (patch) | |
tree | eb3ea68e0c91d69232f31c2fa3848650afc566fc | |
parent | 4f0c28af2e9c9bb6a3a779013dfcff632545262b (diff) | |
parent | e52c69a3c1339f027833ee42f6022eab2582199e (diff) |
Merge pull request #25 from vividvilla/fix-readability
Fix readability
-rw-r--r-- | .gitignore | 58 | ||||
-rw-r--r-- | images/screenshot-dark.png | bin | 100412 -> 49810 bytes | |||
-rw-r--r-- | images/screenshot-light.png | bin | 108546 -> 55326 bytes | |||
-rw-r--r-- | layouts/partials/head.html | 2 | ||||
-rw-r--r-- | static/css/dark.css | 23 | ||||
-rw-r--r-- | static/css/main.css | 9 |
6 files changed, 82 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c11d1ac --- /dev/null +++ b/.gitignore @@ -0,0 +1,58 @@ + +# Created by https://www.gitignore.io/api/hugo,linux,macos +# Edit at https://www.gitignore.io/?templates=hugo,linux,macos + +### Hugo ### +# Generated files by hugo +/public/ +/resources/_gen/ + +# Executable may be added to repository +hugo.exe +hugo.darwin +hugo.linux + +### Linux ### +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +# End of https://www.gitignore.io/api/hugo,linux,macos diff --git a/images/screenshot-dark.png b/images/screenshot-dark.png Binary files differindex b02a39d..cb61246 100644 --- a/images/screenshot-dark.png +++ b/images/screenshot-dark.png diff --git a/images/screenshot-light.png b/images/screenshot-light.png Binary files differindex e77ae6a..2b161d5 100644 --- a/images/screenshot-light.png +++ b/images/screenshot-light.png 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 @@ <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> diff --git a/static/css/dark.css b/static/css/dark.css index cc1fe66..6841161 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,21 @@ hr { } blockquote { - border-color: #fff; + border-color: #ddd; } h1,h2,h3,h4,h5,h6 { - color: #fff; + color: #ddd; } a,a:hover { - color: #fff; + color: #ff7979; + text-decoration: none; +} + +.site-description a, +.site-description a:hover { + color: #ddd; text-decoration: underline; } @@ -35,8 +41,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; } |