MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
table { | table { | ||
table-layout: fixed; | table-layout: fixed; | ||
width: | width: 500px; | ||
} | } | ||
th, | th, | ||
td { | td { | ||
width: 150px; | |||
width: | |||
overflow: hidden; | overflow: hidden; | ||
} | } |
Revision as of 01:25, 30 November 2024
/* CSS placed here will be applied to all skins */ table { table-layout: fixed; width: 500px; } th, 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; }