🚀 feat: custom layoutWidth
This commit is contained in:
@@ -30,7 +30,6 @@
|
||||
overflow-x: hidden
|
||||
-webkit-overflow-scrolling touch
|
||||
&.on
|
||||
transform translateX(aside-width)
|
||||
margin-left 0 !important
|
||||
|
||||
.sidebar
|
||||
@@ -64,11 +63,11 @@
|
||||
font-size larger
|
||||
|
||||
.wrap, .outer
|
||||
position relative
|
||||
width 100%
|
||||
padding-right gutter-width
|
||||
padding-left gutter-width
|
||||
margin auto
|
||||
overflow-x hidden
|
||||
min-height calc( 100% - 157px )
|
||||
clearfix()
|
||||
|
||||
|
@@ -1,10 +1,12 @@
|
||||
|
||||
.tocbot
|
||||
position absolute
|
||||
right: -28rem
|
||||
top 14rem
|
||||
left calc((100vw - 70rem) / 2 + 70rem)
|
||||
font-size 80%
|
||||
opacity .8
|
||||
opacity .95
|
||||
max-width 230px
|
||||
border-radius 8px
|
||||
> .toc-list
|
||||
position relative
|
||||
overflow hidden
|
||||
@@ -35,7 +37,8 @@ a.toc-link
|
||||
.is-position-fixed
|
||||
position fixed !important
|
||||
top 0
|
||||
right aside-width
|
||||
right 6rem
|
||||
background-color #fff
|
||||
|
||||
// Left line before pseudo element.
|
||||
.toc-link::before
|
||||
|
Reference in New Issue
Block a user