master
xaoxuu 4 years ago
parent 1bb82516a5
commit cd93432768
  1. 4
      _config.yml
  2. 18
      source/css/_base/index.styl
  3. 2
      source/css/_defines/func.styl
  4. 4
      source/css/_highlight/index.styl

@ -12,9 +12,9 @@ info:
style:
max_width: 1080px # Sum of body width and sidebar width (This limit will be exceeded when the device width is greater than 2000px, reaching 75% of the total width)
scrollbar:
size: 8px
size: 8px
border: 1px
color: '#2196f3'
color: '#2196f3'
navbar:
height: 64px
width: auto # auto, max

@ -243,23 +243,23 @@ optgroup
table
border-collapse: collapse
margin-top: .7em
margin-bottom: .7em
overflow: auto
display: block
display: inline-block
max-width: 100%
scrollbar()
th
background-color: darken($color-block, 2)
td,th
padding: 6px 16px
border: 1px solid darken($color-block, 3)
border: 2px solid darken($color-block, 2)
tr
word-break: keep-all
background-color: lighten($color-block, 3)
tbody>tr
trans()
&:hover
background-color: darken($color-block, 2)
tbody
>tr
trans()
&:hover
background-color: darken($color-block, 2)
td,th
padding: 0

@ -42,7 +42,7 @@ scrollbar($w = 4px, $b = 2px, $c = mix($color-p, $color-card, 70))
&::-webkit-scrollbar-track-piece
background: transparent
&::-webkit-scrollbar-thumb
background: alpha($c, .5)
background: alpha($c, .4)
cursor: pointer
border-radius: $b
&:hover

@ -19,10 +19,10 @@
left: 0
padding: $gap * 0.25 $gap * 0.5 $gap * 0.25 $gap * 0.5
background-color: darken($color-codeblock, 5%)
border-top-left-radius: $border-codeblock
border-top-right-radius: $border-codeblock
>table
scrollbar()
overflow: auto
display: block
td,th

Loading…
Cancel
Save