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 border none
table table
width 100% width 100%
max-width 70rem
border 1px solid #dedede
margin 15px auto
border-collapse collapse border-collapse collapse
vertical-align middle
empty-cells show empty-cells show
text-align left th,td
th, td, & height 35px
border border-width border-color solid border 1px solid #dedede
th, td padding 0 10px
padding 1rem 1.5rem th
tbody font-weight bold
tr:nth-child(2n) text-align center !important
background-color transparent 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 blockquote
display block display block