Skip to content

Commit 5018c9c

Browse files
committed
1.1.12
1 parent 83e302b commit 5018c9c

File tree

8 files changed

+20
-20
lines changed

8 files changed

+20
-20
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# hexo-theme-indigo
22
# https://github.com/yscoder/hexo-theme-indigo
3-
version: 1.1.11
3+
version: 1.1.12
44

55
#添加新菜单项遵循以下规则
66
# menu:

layout/_partial/after-footer.ejs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
<script>var BLOG = { ROOT: '<%= config.root %>' };
55
BLOG.SHARE = {
66
title: "<%-(page.title || config.title) %>",
7-
pic: "<%=theme.avatar %>",
87
summary: document.getElementsByName('summary')[0].content,
98
url: "<%=url.replace(/index\.html$/, '') %>" }
109
</script>
1110
<%- partial('post/share', {className: 'global-share'}) %>
12-
<% } %>
11+
<% } %>

layout/_partial/post/duoshuo.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<div class="duoshuo">
1+
<div class="duoshuo" id="comments">
22
<div class="ds-thread" data-thread-key="<%=key%>" data-title="<%=title%>" data-url="<%=url.replace(/index\.html$/, '')%>"></div>
33
</div>
44
<script src="<%= url_for('/js/embed' + (cache ? '.min': '') + '.js?v=' + theme.version) %>"></script>
55
<script src="//cdn.bootcss.com/marked/0.3.6/marked.min.js" async="async"></script>
66
<script>
77
var duoshuoQuery = {short_name:'<%=theme.duoshuo %>', theme: 'none'}
8-
</script>
8+
</script>

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "hexo-theme-material-indigo",
3-
"version": "1.1.11",
3+
"version": "1.1.12",
44
"private": true
5-
}
5+
}

source/css/_partial/layout.less

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@
141141
#main {
142142
padding-left: 240px;
143143
min-height: 100%;
144-
background: @backColor;
145144
.transition(.4s);
146145
}
147146

@@ -174,7 +173,7 @@
174173
filter: alpha(opacity=0);
175174
pointer-events: none;
176175
.transition(.3s);
177-
176+
178177
&.in {
179178
visibility: visible;
180179
pointer-events: auto;
@@ -211,7 +210,7 @@ a[title="站长统计"] {
211210
}
212211

213212

214-
@media screen and (max-width:1040px) {
213+
@media screen and (max-width:1040px) {
215214
.container {
216215
width: 100%;
217216
padding: 20px 16px;

source/css/_partial/postlist.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,4 +164,4 @@
164164
padding: 0;
165165
margin-bottom: 16px;
166166
}
167-
}
167+
}

source/css/_partial/variable.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,4 @@
155155
background: #fff;
156156
border-radius: @radius;
157157
box-shadow: 0 1px 2px rgba(151, 151, 151, 0.58);
158-
}
158+
}

source/css/style.less

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,26 @@
1010
}
1111

1212
::-webkit-scrollbar {
13-
width: 5px;
14-
height: 5px;
13+
-webkit-appearance: none;
14+
width: 8px;
15+
height: 8px;
1516

16-
&-track { background-color: transparent; }
17+
&-track { background-color: inherit; }
1718
&-thumb {
18-
background-color: @dividerColor ;
19-
19+
background-color: @dividerColor;
20+
border: 1px solid #fff;
21+
border-radius: 10px;
2022
&:hover {
21-
background-color: @secondaryTextColor
23+
background-color: darken(@dividerColor, 10%)
2224
}
2325
&:active {
24-
background-color: @secondaryTextColor
26+
background-color: darken(@dividerColor, 20%)
2527
}
2628
}
2729
}
2830

2931
html {
30-
background-color: #fff;
32+
background-color: @backColor;
3133
color: @primaryTextColor;
3234
font-size: @font-size;
3335
line-height: 1.5;

0 commit comments

Comments
 (0)