Skip to content

Commit

Permalink
💻 refactor: 去除无用代码 & fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanDecode committed Feb 11, 2019
1 parent 40ef7ab commit 1aea661
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ gulp build

### 开源项目

[JQuery](https://github.com/jquery/jquery) | [highlight.js](https://highlightjs.org/) | [MathJax](https://www.mathjax.org/) | [fancyBox](http://fancyapps.com/fancybox/3/) | [scrollTo](http://demos.flesler.com/jquery/scrollTo/) | [OwO](https://github.com/DIYgod/OwO) | [pjax](https://github.com/defunkt/jquery-pjax) | [yue.css](https://github.com/lepture/yue.css)
[JQuery](https://github.com/jquery/jquery) | [highlight.js](https://highlightjs.org/) | [MathJax](https://www.mathjax.org/) | [fancyBox](http://fancyapps.com/fancybox/3/) | [bigfoot.js](http://www.bigfootjs.com/) | [OwO](https://github.com/DIYgod/OwO) | [pjax](https://github.com/defunkt/jquery-pjax) | [yue.css](https://github.com/lepture/yue.css) | [tocbot](https://tscanlin.github.io/tocbot/)

### 其他

Expand Down
2 changes: 1 addition & 1 deletion archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* archives
*
* @author 熊猫尝A
* @author 熊猫小A
* @version 2019-01-17 0.1
*
*/
Expand Down
7 changes: 0 additions & 7 deletions assets/libs/scrollTo/jquery.scrollTo.min.js

This file was deleted.

15 changes: 14 additions & 1 deletion assets/libs/tocbot/tocbot.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ a.toc-link {
font-weight: 700
}

.is-active-link::before, .toc-link:hover::before {
.is-active-link::before {
content: "";
background-color: #54BC4B;
display: block;
Expand All @@ -54,3 +54,16 @@ a.toc-link {
position: absolute;
width: 2px
}

@media screen and (min-width: 1366px){
.toc-link:hover::before {
content: "";
background-color: #54BC4B;
display: block;
height: 1.5rem;
left: -0.6rem;
top: 0;
position: absolute;
width: 2px
}
}

0 comments on commit 1aea661

Please sign in to comment.