fix: table

This commit is contained in:
shenyu 2020-02-10 16:55:51 +08:00
parent 9fac2a8e2c
commit 380a5cc4ab

View File

@ -48,17 +48,26 @@ $base-style
border none
table
width 100%
max-width 70rem
border 1px solid #dedede
margin 15px auto
border-collapse collapse
vertical-align middle
empty-cells show
text-align left
th, td, &
border border-width border-color solid
th,td
padding 1rem 1.5rem
tbody
tr:nth-child(2n)
background-color transparent
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
tbody tr:hover
background #efefef
blockquote
display block