master 2.6.1
xaoxuu 4 years ago
parent bd28460e49
commit f40348b021
  1. 1
      _config.yml
  2. 2
      source/css/_defines/fonts.styl
  3. 1
      source/css/_layout/main.styl
  4. 2
      source/css/_layout/navbar.styl
  5. 8
      source/css/_tag-plugins/span.styl

@ -45,6 +45,7 @@ style:
h4: 16px # Spacing above H4 (only px unit)
paragraph: 1rem # Paragraph spacing between paragraphs
row: .5rem # Paragraph spacing between other elements
line_height: 1.75
border_radius:
card: 8px
codeblock: 4px

@ -52,7 +52,7 @@ $fontsize-code = convert(hexo-config('style.fontsize.code')) || .8125rem // 13p
$fontsize-footnote = convert(hexo-config('style.fontsize.footnote')) || .75rem // the smallest (12px)
// line-height
$lineheight = 1.6
$lineheight = hexo-config('style.gap.line_height') || 2
$fontsize-large = 3rem
$fontsize-huge = 4rem

@ -167,6 +167,7 @@
p
&.h1,&.h2
margin-top: $gap-paragraph + $gap-row
border-bottom: none
&.h1
font-size: $fontsize-h1 * 1.1
&.h2

@ -293,7 +293,7 @@ ul.list-v
margin-right: 4px
.l_header ul>li>a
color: alpha($color-text, 85%)
color: alpha($color-text, 80%)
&.current
border-left-color: alpha($color-theme, 80%)
border-bottom-color: alpha($color-theme, 80%)

@ -2,7 +2,7 @@
p.p.subtitle
font-weight: bold
color: $color-theme
padding-top: $gap
padding-top: $gap-row * 2
&:first-child
padding-top: 0
@ -41,15 +41,21 @@ span.p,p.p
&.h1
font-size: $fontsize-h1
color: $color-h1
padding-top: $gap-row * 2
border-bottom: 1px solid alpha($color-text, .1)
&.h2
font-size: $fontsize-h2
color: $color-h2
padding-top: $gap-row * 2
border-bottom: 1px solid alpha($color-text, .1)
&.h3
font-size: $fontsize-h3
color: $color-h3
padding-top: $gap-row * 2
&.h4
font-size: $fontsize-h4
color: $color-h4
padding-top: $gap-row * 2
span.p,p.p
&.red

Loading…
Cancel
Save