hexo-theme-hipaper-keyboarddaily 1.4.5 → 1.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/languages/JJY.yml CHANGED
@@ -26,7 +26,7 @@ read_more: '阅读全文'
26
26
  contents: 文章目录
27
27
  none: 无
28
28
  insight:
29
- hint: '请输入关键词...'
29
+ hint: '点我开始搜索...'
30
30
  posts: '文章'
31
31
  pages: '页面'
32
32
  categories: '分类'
@@ -59,7 +59,7 @@
59
59
  <form class="search-form">
60
60
  <label style="width:100%">
61
61
  <span class="screen-reader-text">Search for:</span>
62
- <input type="search" class="search-field" style="height: 36px; width: 100%;" placeholder="请输入搜索关键词..." value="" name="s" title="Search for:">
62
+ <input id="mobile-search-input" type="search" class="search-field" style="height: 36px; width: 100%; padding: 6px;" placeholder="<%= __('insight.hint') %>" value="" name="s" title="Search for:">
63
63
  </label>
64
64
  </form>
65
65
  </div>
@@ -1,10 +1,10 @@
1
1
  <% if (theme.search.insight) { %>
2
2
  <div class="search-form">
3
- <input type="text" class="ins-search-input search-form-input" placeholder="请输入搜索关键词..." />
3
+ <input id="insight-search-input" type="text" class="ins-search-input search-form-input" placeholder="<%= __('insight.hint') %>" />
4
4
  </div>
5
5
  <% } else if (theme.search.swiftype) { %>
6
6
  <div class="search-form">
7
- <input id="ins-search-input" type="text" class="st-default-search-input search-form-input" placeholder="<%= __('index.search') %>" />
7
+ <input id="swiftype-search-input" type="text" class="st-default-search-input search-form-input" placeholder="<%= __('insight.hint') %>" />
8
8
  </div>
9
9
  <% } else if (theme.search.baidu) { %>
10
10
  <%- partial('search/baidu') %>
@@ -3,7 +3,7 @@
3
3
  <form class="search-form">
4
4
  <label style="width: 72%;">
5
5
  <span class="screen-reader-text">Search for:</span>
6
- <input type="search" class="search-field" style="height: 36px; width: 100%;" placeholder=" <%= __('search') %>…" value="" name="s" title="Search for:">
6
+ <input type="search" class="search-field" style="height: 36px; width: 100%; padding: 6px;" placeholder="<%= __('insight.hint') %>" value="" name="s" title="Search for:">
7
7
  </label>
8
8
  <input type="submit" class="search-form-submit" value="<%= __('search') %>">
9
9
  </form>
@@ -2,7 +2,7 @@
2
2
  <div class="ins-search-mask"></div>
3
3
  <div class="ins-search-container">
4
4
  <div class="ins-input-wrapper">
5
- <input type="text" class="ins-search-input" placeholder="<%= __('insight.hint') %>"/>
5
+ <input id="ins-search-input" type="text" class="ins-search-input" placeholder="<%= __('insight.hint') %>"/>
6
6
  <span class="ins-close ins-selectable"><i class="fa fa-times-circle"></i></span>
7
7
  </div>
8
8
  <div class="ins-section-wrapper">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-hipaper-keyboarddaily",
3
- "version": "1.4.5",
3
+ "version": "1.4.7",
4
4
  "description": "Bugfix for A newspaper theme for Hexo.",
5
5
  "author": "iTimeTraveler, bugfix by keyboarddaily",
6
6
  "repository": {
@@ -1221,6 +1221,9 @@ ul.widget-tab-nav {
1221
1221
  #search-form-menu {
1222
1222
  display: none !important;
1223
1223
  }
1224
+ #sidebar {
1225
+ display: block;
1226
+ }
1224
1227
  }
1225
1228
  @media screen and (max-width: 768px) {
1226
1229
  .container {
@@ -1280,11 +1283,14 @@ ul.widget-tab-nav {
1280
1283
  float: none;
1281
1284
  }
1282
1285
  }
1286
+ .clearfix .sf-menu {
1287
+ height: 50px !important;
1288
+ }
1283
1289
  #search-form-menu {
1284
1290
  display: block;
1285
1291
  }
1286
- .clearfix .sf-menu {
1287
- height: 50px !important;
1292
+ #sidebar {
1293
+ display: none;
1288
1294
  }
1289
1295
  @media screen and (max-width: 400px) {
1290
1296
  .clearfix .sf-menu {