MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 48: | Line 48: | ||
table { | .table-1 { | ||
border-collapse: separate; | border-collapse: separate; | ||
border-spacing: 0; | border-spacing: 0; | ||
min-width: 350px; | min-width: 350px; | ||
} | } | ||
table tr th, | .table-1 tr th, | ||
table tr td { | .table-1 tr td { | ||
border-right: 1px solid #bbb; | border-right: 1px solid #bbb; | ||
border-bottom: 1px solid #bbb; | border-bottom: 1px solid #bbb; | ||
padding: 5px; | padding: 5px; | ||
} | } | ||
table tr th:first-child, | .table-1 tr th:first-child, | ||
table tr td:first-child { | .table-1 tr td:first-child { | ||
border-left: 1px solid #bbb; | border-left: 1px solid #bbb; | ||
} | } | ||
table tr th { | .table-1 tr th { | ||
border-top: 1px solid #bbb; | border-top: 1px solid #bbb; | ||
text-align: left; | text-align: left; | ||
Line 72: | Line 72: | ||
/* top-left border-radius */ | /* top-left border-radius */ | ||
table tr:first-child th:first-child { | .table-1 tr:first-child th:first-child { | ||
border-top-left-radius: 6px; | border-top-left-radius: 6px; | ||
} | } | ||
/* top-right border-radius */ | /* top-right border-radius */ | ||
table tr:first-child th:last-child { | .table-1 tr:first-child th:last-child { | ||
border-top-right-radius: 6px; | border-top-right-radius: 6px; | ||
} | } | ||
/* bottom-left border-radius */ | /* bottom-left border-radius */ | ||
table tr:last-child td:first-child { | .table-1 tr:last-child td:first-child { | ||
border-bottom-left-radius: 6px; | border-bottom-left-radius: 6px; | ||
} | } | ||
/* bottom-right border-radius */ | /* bottom-right border-radius */ | ||
table tr:last-child td:last-child { | .table-1 tr:last-child td:last-child { | ||
border-bottom-right-radius: 6px; | border-bottom-right-radius: 6px; | ||
} | } |