Skip to content

Commit

Permalink
fix: table style (#88)
Browse files Browse the repository at this point in the history
Co-authored-by: Gallen.Hu <[email protected]>
  • Loading branch information
Gallen.Hu and Gallen.Hu authored Dec 3, 2020
1 parent cc463be commit 0903735
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/css/_partial/article.styl
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ article
padding 8px 16px
text-align left

figure.highlight
table
border none
width auto
border-collapse separate

blockquote
border-top 1px solid color-border
border-bottom 1px solid color-border
Expand Down
3 changes: 3 additions & 0 deletions source/css/_partial/syntax.styl
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,15 @@ figure.highlight

.gutter
color color-meta
padding 0
padding-right 15px
border 0
border-right 1px solid color-border
text-align right

.code
padding-left 15px
border 0
border-left 1px solid #fff
color #666

Expand Down

0 comments on commit 0903735

Please sign in to comment.