xaoxuu 4 years ago
parent aeffea8785
commit d3994e8cd0
  1. 6
      _config.yml
  2. 8
      source/css/_layout/sidebar.styl
  3. 1
      source/css/_layout/toc.styl
  4. 7
      source/css/_tag-plugins/btns.styl
  5. 8
      source/css/_tag-plugins/tabs.styl

@ -62,15 +62,15 @@ style:
footnote: .75rem
fontfamily:
logofont:
fontfamily: '"Varela Round"'
fontfamily: '"Varela Round", "PingFang SC", "Microsoft YaHei", Helvetica, Arial'
name: 'Varela Round'
url: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-fonts/VarelaRound/VarelaRound-Regular.ttf
weight: normal
style: normal
bodyfont:
fontfamily: '"UbuntuMono"'
fontfamily: 'UbuntuMono, "PingFang SC", "Microsoft YaHei", Helvetica, Arial'
name: 'UbuntuMono'
url: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-fonts@20.2.27/UbuntuMono/UbuntuMono-Regular.ttf
url: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-fonts/UbuntuMono/UbuntuMono-Regular.ttf
weight: normal
style: normal
codefont:

@ -205,13 +205,15 @@
font-size: $fontsize-meta
font-weight: bold
line-height: 2.4em
img,i
margin-right: 4px
i
margin-left: 1px
img
display: inline
vertical-align: middle
height: 2em
width: 2em
height: 20px
width: 20px
margin-bottom: 4px
&#round
border-radius: 100%

@ -5,6 +5,7 @@
position: sticky
top: $navbar-height + $gap
trans()
line-height: 1.4
header
position: sticky
width: 100%

@ -5,8 +5,9 @@ span.btn
display: inline-block
background: $color-theme
color: $color-inner
padding: 2px 4px 0px 4px
padding: 4px 4px 2px 4px
margin: 2px
line-height: 1.1
border-radius: 2px
i
margin-right: 2px
@ -21,12 +22,12 @@ span.btn
&.regular
>a
padding: 6px 12px 4px 12px
padding: 8px 12px 6px 12px
i
margin-right: 4px
&.large
>a
padding: 10px 36px 8px 36px
padding: 12px 36px 10px 36px
i
margin-right: 8px
&.center

@ -49,8 +49,14 @@ div.tabs
border-top: 1px solid $border-color
margin-top: -1px
.tab-pane
padding: $gap-row $gap
padding: $gap
&:not(.active)
display: none
&.active
display: block
>
p,.tabs,ul,ol,.highlight,div.note
&:first-child
margin-top: 0
&:last-child
margin-bottom: 0

Loading…
Cancel
Save