MediaWiki:Common.css: Difference between revisions
From Restoration Union
Jump to navigationJump to search
Infobox styling |
Tag: Undo |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* TODO: Move this info [[Template:Infobox/styles.css]] */ | /* TODO: Move this info [[Template:Infobox/styles.css]] */ | ||
.infobox { | .infobox { | ||
color: #000000; | |||
background-color: #f0f0ff; | |||
border: 1px solid #0000a0; | |||
padding: 0; | |||
box-shadow: 3px 3px 5px #888899; | |||
float: right; | |||
clear: right; | |||
margin: 0 0 1em 1em; | |||
width: 280px; | |||
border-collapse: collapse; | |||
} | } | ||
.infobox | .infobox caption { | ||
color: #ffffff; | |||
background-color: #000080; | |||
text-align: center; | |||
font-weight: bold; | |||
font-size: 120%; | |||
padding: 0.3em 0.5em; | |||
border-radius: 4px 4px 0 0; | |||
box-shadow: inherit; | |||
} | } | ||
.infobox | .infobox th, .infobox td { | ||
border: 1px solid #0000a0; | |||
padding: 0.1em 0.4em; | |||
} | } | ||
.infobox th { | |||
color: #000000; | |||
background-color: #d0d0ff; | |||
} | } | ||
.infobox td { | .infobox td { | ||
background-color: #f0f0ff; | |||
} | } |
Latest revision as of 12:47, 18 September 2024
/* TODO: Move this info [[Template:Infobox/styles.css]] */ .infobox { color: #000000; background-color: #f0f0ff; border: 1px solid #0000a0; padding: 0; box-shadow: 3px 3px 5px #888899; float: right; clear: right; margin: 0 0 1em 1em; width: 280px; border-collapse: collapse; } .infobox caption { color: #ffffff; background-color: #000080; text-align: center; font-weight: bold; font-size: 120%; padding: 0.3em 0.5em; border-radius: 4px 4px 0 0; box-shadow: inherit; } .infobox th, .infobox td { border: 1px solid #0000a0; padding: 0.1em 0.4em; } .infobox th { color: #000000; background-color: #d0d0ff; } .infobox td { background-color: #f0f0ff; }