MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Space above logo.) |
(Info box typo.) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
margin-top: 1em; | margin-top: 1em; | ||
margin-bottom: 0.5em; | margin-bottom: 0.5em; | ||
} | |||
/* Slightly less whitespace before footer */ | |||
#footer { | |||
padding-top: 0.5em; | |||
} | |||
/* Space between footer buttons */ | |||
#footer-poweredbyico > a { | |||
margin-left: 0.5em; | |||
} | |||
/* Info box table */ | |||
table.infoboxTable { | |||
width: 350px; | |||
font-size: 90%; | |||
border: 1px solid #aaaaaa; | |||
background-color: #f9f9f9; | |||
color: black; | |||
margin-bottom: 0.5em; | |||
margin-left: 1em; | |||
padding: 0.2em; | |||
float: right; | |||
clear: right; | |||
text-align: left; | |||
} | |||
th.infoboxTitle { | |||
text-align: center; | |||
background-color: #ccccff; | |||
font-size: larger; | |||
} | |||
table.infoboxTable > tbody > tr > th:not(.infoboxTitle) { | |||
text-align: right; | |||
vertical-align: top; | |||
white-space: nowrap; | |||
} | } |
Latest revision as of 05:08, 22 March 2024
/* CSS placed here will be applied to all skins */ /* Space above logo */ #p-logo { margin-top: 1em; margin-bottom: 0.5em; } /* Slightly less whitespace before footer */ #footer { padding-top: 0.5em; } /* Space between footer buttons */ #footer-poweredbyico > a { margin-left: 0.5em; } /* Info box table */ table.infoboxTable { width: 350px; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align: left; } th.infoboxTitle { text-align: center; background-color: #ccccff; font-size: larger; } table.infoboxTable > tbody > tr > th:not(.infoboxTitle) { text-align: right; vertical-align: top; white-space: nowrap; }