hexo
This commit is contained in:
@ -0,0 +1,36 @@
|
||||
.sidebar-toggle {
|
||||
position: fixed;
|
||||
right: $b2t-position-right;
|
||||
bottom: 45px;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
padding: 5px;
|
||||
background: $black-deep;
|
||||
line-height: 0;
|
||||
z-index: $zindex-5;
|
||||
cursor: pointer;
|
||||
-webkit-transform: translateZ(0);
|
||||
|
||||
+tablet() {
|
||||
fixbutton() if hexo-config('sidebar.onmobile');
|
||||
hide() if not hexo-config('sidebar.onmobile');
|
||||
}
|
||||
+mobile() {
|
||||
fixbutton() if hexo-config('sidebar.onmobile');
|
||||
hide() if not hexo-config('sidebar.onmobile');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.sidebar-toggle-line {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
height: 2px;
|
||||
width: 100%;
|
||||
background: white;
|
||||
margin-top: 3px;
|
||||
|
||||
&:first-child { margin-top: 0; }
|
||||
}
|
Reference in New Issue
Block a user