MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will be applied to all skins: .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { font-size: 2em; text-align: center; } .infobox-image { text-align: center; } .infobox-table th { text-align: right; vertical-align: top; width: 120px; } .infobox-table td { vertical-align: top; }" |
No edit summary |
||
(30 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.dot-leader { | |||
display: inline-block; | |||
width: 100%; | |||
border-bottom: 1px dotted black; | |||
} | |||
.page-Wing_News table { | |||
table-layout: fixed; | |||
width: 550px; | |||
} | |||
.page-Wing_News th, | |||
.page-Wing_News td { | |||
width: 150px; | |||
overflow: hidden; | |||
} | |||
.infobox { | .infobox { | ||
background: #eee; | background: #eee; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
float: right; | float: right; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
padding: 1em; | padding: 1em; | ||
width: | width: 300px; | ||
} | } | ||
.infobox-title { | .infobox-title { | ||
font-size: 2em; | font-size: 2em; | ||
text-align: center; | text-align: center; | ||
line-height: 30px; | |||
height: 25px; | |||
} | } | ||
.infobox-image { | .infobox-image { | ||
Line 16: | Line 40: | ||
} | } | ||
.infobox-table th { | .infobox-table th { | ||
vertical-align: top; | vertical-align: top; | ||
width: | width: 145px; | ||
} | |||
.infobox-table tr { | |||
} | } | ||
.infobox-table td { | .infobox-table td { | ||
vertical-align: | width: 145px; | ||
text-align: center; | |||
vertical-align: middle; | |||
} | } |
Latest revision as of 00:47, 5 April 2025
/* CSS placed here will be applied to all skins */ .dot-leader { display: inline-block; width: 100%; border-bottom: 1px dotted black; } .page-Wing_News table { table-layout: fixed; width: 550px; } .page-Wing_News th, .page-Wing_News td { width: 150px; overflow: hidden; } .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 300px; } .infobox-title { font-size: 2em; text-align: center; line-height: 30px; height: 25px; } .infobox-image { text-align: center; } .infobox-table th { vertical-align: top; width: 145px; } .infobox-table tr { } .infobox-table td { width: 145px; text-align: center; vertical-align: middle; }