Skip to content

Commit

Permalink
添加表格支持
Browse files Browse the repository at this point in the history
  • Loading branch information
yumemor committed Nov 24, 2016
1 parent d06276a commit d9fc250
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions source/css/_partial/article.styl
Expand Up @@ -240,6 +240,31 @@ article .post-body blockquote:before {
left: 10px
}

article table
width 100%
max-width 65em
border 1px solid #dedede
margin 15px auto
border-collapse collapse
empty-cells show
th,td
height 35px
border 1px solid #dedede
padding 0 10px
th
font-weight bold
text-align center !important
background rgba(158, 188, 226, .2)
white-space nowrap
tbody tr:nth-child(2n)
background rgba(158, 188, 226, .12)
td:nth-child(1)
white-space nowrap
tr:hover
background #efefef

article .table-area
overflow auto

.meta,
.post-date {
Expand Down

0 comments on commit d9fc250

Please sign in to comment.