hexo-theme-solitude 1.7.1 → 1.7.2

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.
@@ -32,16 +32,6 @@ window.addEventListener("load", () => {
32
32
 
33
33
  const searchClickFn = () => {
34
34
  utils.addEventListenerPjax(document.querySelector("#search-button > .search"), "click", openSearch);
35
-
36
- GLOBAL_CONFIG.rightside.enable && document.getElementById("menu-search").addEventListener("click", function (){
37
- rm.hideRightMenu();
38
- openSearch();
39
- let t=document.getElementsByClassName('ais-SearchBox-input')[0];
40
- let evt = document.createEvent('HTMLEvents');
41
- evt.initEvent('input', true,true)
42
- t.value = selectTextNow
43
- t.dispatchEvent(evt)
44
- })
45
35
  };
46
36
 
47
37
  const searchFnOnce = () => {
@@ -37,16 +37,6 @@ window.onload = () => {
37
37
 
38
38
  const searchClickFn = () =>{
39
39
  utils.addEventListenerPjax(document.querySelector("#search-button > .search"), "click", openSearch);
40
-
41
- GLOBAL_CONFIG.rightside.enable && document.getElementById("menu-search").addEventListener("click", function (){
42
- rm.hideRightMenu();
43
- openSearch();
44
- let t=document.getElementsByClassName('search-box-input')[0];
45
- let evt = document.createEvent('HTMLEvents');
46
- evt.initEvent('input', true,true)
47
- t.value = selectTextNow
48
- t.dispatchEvent(evt)
49
- })
50
40
  }
51
41
 
52
42
  searchClickFn();
@@ -1,34 +0,0 @@
1
- #page h1.page-title
2
- display inline
3
- margin .4rem 0 1rem
4
-
5
- #page
6
- background 0 0
7
- border none
8
- padding 0
9
- box-shadow none
10
- min-height calc(100vh - 464px)
11
-
12
- +maxWidth768()
13
- padding 0 1rem
14
-
15
- > div:not(.author-content-item)
16
- animation slide-in .6s .2s backwards
17
-
18
- +minWidth768()
19
- > div:nth-child(1) > a::before
20
- height: 24px
21
- width: 44px
22
- content: ""
23
- background-size: 38px 24px
24
- position: absolute
25
- top: 0
26
- left: 0
27
-
28
- > a:nth-child(0) > i
29
- padding-right: 8px
30
-
31
- +minWidth768()
32
- .needEndHide.hide
33
- bottom -200px !important
34
- opacity 0