chore: update catalog styles
parent
aee653f8e9
commit
633f3ad714
|
@ -356,53 +356,19 @@ $article-share-link
|
||||||
|
|
||||||
/* topic section */
|
/* topic section */
|
||||||
.toc-article
|
.toc-article
|
||||||
|
padding 20px 25px
|
||||||
|
line-height 1em
|
||||||
background #F9F9F9
|
background #F9F9F9
|
||||||
margin 2em 0 0 0.2em
|
margin 2em 0 0 0.2em
|
||||||
padding 1em
|
|
||||||
border-radius 0px
|
border-radius 0px
|
||||||
.toc-title
|
.toc-title
|
||||||
font-size 120%
|
font-size 120%
|
||||||
strong
|
|
||||||
padding 0.3em 1
|
padding 0.3em 1
|
||||||
|
|
||||||
ol.toc
|
|
||||||
width 100%
|
|
||||||
margin 1em 2em 0 0
|
|
||||||
|
|
||||||
#toc
|
|
||||||
line-height 1em
|
|
||||||
font-size 0.8em
|
|
||||||
float right
|
|
||||||
.toc
|
.toc
|
||||||
padding 0
|
padding 0
|
||||||
|
margin 10px 0 0
|
||||||
li
|
li
|
||||||
list-style-type none
|
list-style none
|
||||||
.toc-child
|
|
||||||
padding-left 0em
|
|
||||||
|
|
||||||
#toc.toc-aside
|
|
||||||
display none
|
|
||||||
width 13%
|
|
||||||
position fixed
|
|
||||||
right 2%
|
|
||||||
top 320px
|
|
||||||
overflow hidden
|
|
||||||
line-height 1.5em
|
|
||||||
font-size 1em
|
|
||||||
color color-heading
|
|
||||||
opacity .6
|
|
||||||
transition opacity 1s ease-out
|
|
||||||
strong
|
|
||||||
padding 0.3em 0
|
|
||||||
color color-font
|
|
||||||
&:hover
|
|
||||||
transition opacity .3s ease-out
|
|
||||||
opacity 1
|
|
||||||
a
|
|
||||||
transition color 1s ease-out
|
|
||||||
&:hover
|
|
||||||
color color-theme
|
|
||||||
transition color .3s ease-out
|
|
||||||
|
|
||||||
/* right-to-left languages */
|
/* right-to-left languages */
|
||||||
.article.rtl
|
.article.rtl
|
||||||
|
|
Loading…
Reference in New Issue