jekyll-zeta 0.4.0 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +1 -1
- data/_includes/navbar.html +2 -2
- data/_layouts/tags.html +1 -1
- data/_sass/jekyll-zeta.scss +30 -9
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9f349e87c2efa3c694072655c546f30a833f2d11635d1b0e438199903b224ec
|
4
|
+
data.tar.gz: b32bcbd49648da861153b3aac6f5954c06f2c47b1995adb461adb534c199159b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db8edf7d6be11093ca70f59f764e87af9540d351f6a4462441b68e006eaa97f4ac347a35f9bd2ef43678bf343eb01d45e073a4b8ec8e05b2a4a7078566f3ebdf
|
7
|
+
data.tar.gz: 62b6d4415c3c13be4ade66b67f7984cb2233cfbfc93931a4694194e34fdef3b5460c34cf371802cf7494f9a3b3005d00b7a847fd3c865c77facf4e9e38eae18d
|
data/_config.yml
CHANGED
@@ -28,7 +28,7 @@ theme_config:
|
|
28
28
|
all_tags_title: All Tags
|
29
29
|
archive_date_format: "%Y"
|
30
30
|
archive_title_date_format: "%m/%d"
|
31
|
-
tags_layout_style: '
|
31
|
+
tags_layout_style: 'flat' # flat auto list
|
32
32
|
combine_css_html: false
|
33
33
|
show_more_text: 'show more ...'
|
34
34
|
next_page_title: "next"
|
data/_includes/navbar.html
CHANGED
@@ -23,9 +23,9 @@
|
|
23
23
|
{%- endif %}
|
24
24
|
|
25
25
|
{%- if iscurrent == true -%}
|
26
|
-
<
|
26
|
+
<a href="{{ itemurl }}" class="curNav">{{ item.title }}</a>
|
27
27
|
{%- else -%}
|
28
|
-
<a href="{{ itemurl }}">{{ item.title }}</a>
|
28
|
+
<a href="{{ itemurl }}" class="nav">{{ item.title }}</a>
|
29
29
|
{%- endif - -%}
|
30
30
|
|
31
31
|
{%- else -%}
|
data/_layouts/tags.html
CHANGED
@@ -43,7 +43,7 @@ layout: default
|
|
43
43
|
{%- capture counter -%}{%- increment counter -%} {%- endcapture -%}
|
44
44
|
|
45
45
|
|
46
|
-
<text><a href ="{{'/tags'|relative_url}}/{{ tagname}}.html" >{{ tagname}}</a> <sup>{{ tagnameCount }}</sup></text>
|
46
|
+
<text><a class="tags-tag" href ="{{'/tags'|relative_url}}/{{ tagname}}.html" >{{ tagname}}</a> <sup>{{ tagnameCount }}</sup></text>
|
47
47
|
|
48
48
|
{%- endfor -%}
|
49
49
|
{%- else -%}
|
data/_sass/jekyll-zeta.scss
CHANGED
@@ -126,15 +126,7 @@ a {
|
|
126
126
|
margin-right: 1rem;
|
127
127
|
font-size: 1.125rem;
|
128
128
|
}
|
129
|
-
.navli a{
|
130
|
-
color: $color-black;
|
131
|
-
}
|
132
|
-
.curNav {
|
133
|
-
color: $color-blue;
|
134
|
-
font-size: 1.2em;
|
135
129
|
|
136
|
-
}
|
137
|
-
|
138
130
|
.postlistul {
|
139
131
|
padding: 0
|
140
132
|
}
|
@@ -148,7 +140,7 @@ a {
|
|
148
140
|
|
149
141
|
}
|
150
142
|
|
151
|
-
.postlistli a,.pagebar a {
|
143
|
+
.postlistli a,.pagebar a ,.tags-tag{
|
152
144
|
color: #000;
|
153
145
|
}
|
154
146
|
|
@@ -218,3 +210,32 @@ a:hover {
|
|
218
210
|
text-decoration: underline;
|
219
211
|
color:$color-hove;
|
220
212
|
}
|
213
|
+
|
214
|
+
.curNav {
|
215
|
+
color: $color-blue;
|
216
|
+
font-size: 1.2em;
|
217
|
+
}
|
218
|
+
|
219
|
+
.nav{
|
220
|
+
color: $color-black;
|
221
|
+
}
|
222
|
+
|
223
|
+
input[type="button"]{
|
224
|
+
/* 设置按钮的背景色,字体样式等 */
|
225
|
+
background-color: #e0e0e0;
|
226
|
+
border: none;
|
227
|
+
color: $color-black;
|
228
|
+
padding: 5px 12px;
|
229
|
+
text-align: center;
|
230
|
+
text-decoration: none;
|
231
|
+
display: inline-block;
|
232
|
+
font-size: 0.8em;
|
233
|
+
|
234
|
+
cursor: pointer;
|
235
|
+
border-radius: 3px;
|
236
|
+
/* 鼠标悬停时改变按钮颜色 */
|
237
|
+
}
|
238
|
+
input[type="button"]:hover{
|
239
|
+
background-color: $color-black;
|
240
|
+
color: white;
|
241
|
+
}
|