Difference between revisions of "MediaWiki:Common.js"
Difference between revisions of "MediaWiki:Common.js"
(Blanked the page) (Tag: Blanking) |
|||
Line 1: | Line 1: | ||
+ | table.scroll { | ||
+ | width: 100%; /* Optional */ | ||
+ | /* border-collapse: collapse; */ | ||
+ | border-spacing: 0; | ||
+ | border: 2px solid black; | ||
+ | } | ||
+ | table.scroll tbody, | ||
+ | table.scroll thead { display: block; } | ||
+ | |||
+ | thead tr th { | ||
+ | height: 30px; | ||
+ | line-height: 30px; | ||
+ | /*text-align: left;*/ | ||
+ | } | ||
+ | |||
+ | table.scroll tbody { | ||
+ | height: 100px; | ||
+ | overflow-y: auto; | ||
+ | overflow-x: hidden; | ||
+ | } | ||
+ | |||
+ | tbody { border-top: 2px solid black; } | ||
+ | |||
+ | tbody td, thead th { | ||
+ | width: 20%; /* Optional */ | ||
+ | border-right: 1px solid black; | ||
+ | } | ||
+ | |||
+ | tbody td:last-child, thead th:last-child { | ||
+ | border-right: none; | ||
+ | } |
Revision as of 21:01, 4 November 2020
table.scroll { width: 100%; /* Optional */ /* border-collapse: collapse; */ border-spacing: 0; border: 2px solid black; } table.scroll tbody, table.scroll thead { display: block; } thead tr th { height: 30px; line-height: 30px; /*text-align: left;*/ } table.scroll tbody { height: 100px; overflow-y: auto; overflow-x: hidden; } tbody { border-top: 2px solid black; } tbody td, thead th { width: 20%; /* Optional */ border-right: 1px solid black; } tbody td:last-child, thead th:last-child { border-right: none; }