浏览代码

Merge pull request #25 from vividvilla/fix-readability

Fix readability
pull/2/head
Vivek R 4 年前
父节点
当前提交
fd80089ceb
没有帐户链接到提交者的电子邮件
共有 6 个文件被更改,包括 82 次插入10 次删除
  1. +58
    -0
      .gitignore
  2. 二进制
      images/screenshot-dark.png
  3. 二进制
      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 查看文件

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

二进制
images/screenshot-dark.png 查看文件

之前 之后
宽度: 1678  |  高度: 1242  |  大小: 98KB 宽度: 913  |  高度: 749  |  大小: 49KB

二进制
images/screenshot-light.png 查看文件

之前 之后
宽度: 1710  |  高度: 1290  |  大小: 106KB 宽度: 915  |  高度: 740  |  大小: 54KB

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

+ 17
- 6
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,

+ 6
- 3
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;
}

正在加载...
取消
保存