Hexo
Hexo 美化记录
页脚养鱼:
footer.styl1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20background-color: alpha($dark-black, .1)
#footer-wrap
position: absolute
padding: 1.2rem 1rem 1.4rem
color: $light-grey
text-align: center
left: 0
right: 0
top:0
bottom: 0
#footer
if hexo-config('footer_bg') != false
&:before
position: absolute
width: 100%
height: 100%
background-color: alpha($dark-black, .1)
content: ''
js
1 | - <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script> |
固定宽度:1
2
3
4
5
6
7/* 鱼塘固定宽度 */
canvas:not(#ribbon-canvas), #web_bg {
margin-bottom: -0.5rem;
display: block;
width: 100%;
height: 160px
}
开启懒加载:1
npm install hexo-lazyload-image --save
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Zxman!