Browse Source

Merge pull request #25 from vividvilla/fix-readability

Fix readability
main
Vivek R 2 years ago
committed by GitHub
parent
commit
fd80089ceb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 82 additions and 10 deletions
  1. +58
    -0
      .gitignore
  2. BIN
      images/screenshot-dark.png
  3. BIN
      images/screenshot-light.png
  4. +1
    -1
      layouts/partials/head.html
  5. +17
    -6
      static/css/dark.css
  6. +6
    -3
      static/css/main.css

+ 58
- 0
.gitignore View File

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

BIN
images/screenshot-dark.png View File

Before After
Width: 1678  |  Height: 1242  |  Size: 98 KiB Width: 913  |  Height: 749  |  Size: 49 KiB

BIN
images/screenshot-light.png View File

Before After
Width: 1710  |  Height: 1290  |  Size: 106 KiB Width: 915  |  Height: 740  |  Size: 54 KiB

+ 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>


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

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


+ 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