xaoxuu 4 years ago
parent 4d1fb64642
commit 603aee6519
  1. 2
      _config.yml
  2. 4
      source/css/_base/index.styl
  3. 1
      source/css/_highlight/index.styl
  4. 4
      source/css/_layout/article.styl
  5. 2
      source/css/_layout/main.styl
  6. 2
      source/css/_tag-plugins/span.styl
  7. 1
      source/css/_tag-plugins/tabs.styl

@ -43,7 +43,7 @@ style:
h2: 48px # Spacing above H2 (only px unit) h2: 48px # Spacing above H2 (only px unit)
h3: 24px # Spacing above H3 (only px unit) h3: 24px # Spacing above H3 (only px unit)
h4: 16px # Spacing above H4 (only px unit) h4: 16px # Spacing above H4 (only px unit)
paragraph: 1rem # Paragraph spacing between paragraphs paragraph: .75rem # Paragraph spacing between paragraphs
row: .5rem # Paragraph spacing between other elements row: .5rem # Paragraph spacing between other elements
line_height: 1.75 line_height: 1.75
border_radius: border_radius:

@ -244,12 +244,14 @@ table
max-width: 100% max-width: 100%
scrollbar() scrollbar()
margin-right: $gap-row margin-right: $gap-row
vertical-align: text-top; vertical-align: text-top
th th
background-color: darken($color-block, 2) background-color: darken($color-block, 2)
td,th td,th
padding: 6px 16px padding: 6px 16px
border: 2px solid darken($color-block, 2) border: 2px solid darken($color-block, 2)
line-height: 1.5
font-size: $fontsize-meta
tr tr
word-break: keep-all word-break: keep-all
background-color: lighten($color-block, 3) background-color: lighten($color-block, 3)

@ -92,6 +92,7 @@ pre
td,th td,th
padding: 0 padding: 0
border: none border: none
line-height: 1.5
margin: 0 margin: 0
background-color: transparent background-color: transparent
border: none border: none

@ -130,8 +130,8 @@
margin-top: 0 margin-top: 0
margin-bottom: 0 margin-bottom: 0
li li
margin-top: $gap-row * 0.5 margin-top: 2px
margin-bottom: $gap-row * 0.5 margin-bottom: 2px
li li
margin-top: 0 margin-top: 0
margin-bottom: 0 margin-bottom: 0

@ -72,7 +72,6 @@
mobile-post() mobile-post()
.post .post
div.meta div.meta
margin-bottom: $gap
.title .title
font-size: $fontsize-h3 font-size: $fontsize-h3
@media screen and (max-width: $device-mobile) @media screen and (max-width: $device-mobile)
@ -128,6 +127,7 @@
font-size: $fontsize-h1 font-size: $fontsize-h1
section.meta section.meta
color: $color-meta color: $color-meta
margin-bottom: $gap
&#header-meta &#header-meta
margin-top: 0 margin-top: 0
margin-bottom: 1 * $gap margin-bottom: 1 * $gap

@ -4,7 +4,7 @@ p.p.subtitle
color: $color-theme color: $color-theme
padding-top: $gap-row * 2 padding-top: $gap-row * 2
&:first-child &:first-child
padding-top: 0 padding-top: $gap-row
span.p,p.p span.p,p.p
&.logo &.logo

@ -24,6 +24,7 @@ div.tabs
padding: 8px 8px 0 8px padding: 8px 8px 0 8px
background: $color-block background: $color-block
border-radius: $tbr $tbr 0 0 border-radius: $tbr $tbr 0 0
line-height: 1.5
li.tab li.tab
list-style-type: none list-style-type: none
margin-top: 0 margin-top: 0

Loading…
Cancel
Save