xaoxuu 4 years ago
parent fe3b5c96e8
commit 5519b1c291
  1. 3
      source/css/_defines/layout.styl
  2. 7
      source/css/_layout/article.styl
  3. 2
      source/css/_layout/sidebar.styl

@ -20,7 +20,8 @@ $navbar-height = convert(hexo-config('style.navbar_height')) || 64px
$gap = convert(hexo-config('style.gap')) || 16px
$gap-h2 = convert(hexo-config('style.gap_h2')) || 2.5em
$gap-h3 = convert(hexo-config('style.gap_h3')) || 1.5em
$gap-line = convert(hexo-config('style.gap_line')) || 1rem
$gap-line = convert(hexo-config('style.gap_line')) || 1rem //
$gap-inline = convert(hexo-config('style.gap_inline')) || .5rem //
$gap-card = $gap
// border radius

@ -148,11 +148,12 @@
border-radius: $borderradius-codeblock
blockquote,div.info,div.success,div.warning,div.danger
&,p
&,p,ul,ol
text-align: left
word-wrap: normal
font-size: $fontsize-list
margin: .5rem 0
margin-top: $gap-inline
margin-bottom: $gap-inline
box-shadow: $boxshadow-card
position: relative
width: 100%
@ -163,7 +164,7 @@
text-align: justify
color: inherit
font-style: italic
margin: .5rem 0
margin: $gap-inline 0
cite
&::before
content: '----'

@ -58,7 +58,7 @@
max-height: "calc(100% - %s)" % $offset
max-width: 100%
p
margin: .5rem 0
margin: $gap-inline 0
ul>li
a

Loading…
Cancel
Save