Wikipedia:Catalogue of CSS classes/Wikitable

The wikitable class applies specific CSS styles to tables.

Rules for class=wikitable
Property Screen[a] Print[b] Mobile[c]
Table
margin 1em 0
background-color #f9f9f9 white transparent
border 1px #aaa solid
border-collapse collapse
color black
Header
border 1px #aaa solid
border-right 1px solid #EEE
border-right
last-child
none
padding 0.3em 0.4em 0.2em
background-color #f2f2f2 white transparent
font-weight bold
text-align center
Caption
font-weight bold
text-align center left
Row
border 1px #aaa solid
border-bottom 1px solid #EEE
border-bottom
last-child
none
padding 0.3em 0.4em 0.2em
Cell
border 1px #aaa solid
border-bottom 1px solid #EEE
border-right 1px solid #EEE
border-right
last-child
none
padding 0.3em 0.4em 0.2em
Rules for class="wikitable plainrowheaders"
Header with scope="row"[a]
border 1px #aaa solid
padding 0.3em 0.4em 0.2em
background-color #f2f2f2 white
font-weight normal
text-align left