Difference between revisions of "Template:Infobox/styles.css"
Add `padding‑top` for `.infobox‑header th`
>Izno (trim to .infobox) |
>ExE Boss (Add `padding‑top` for `.infobox‑header th`) |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 7: | Line 7: | ||
border: 2px solid #a2a9b1; | border: 2px solid #a2a9b1; | ||
width: 280px; | width: 280px; | ||
border-collapse: collapse; | |||
border-spacing: 0; | |||
background-color: white; | |||
/* these are overriden by .infobox-rtl on the templates of interest */ | |||
/* @noflip */ | /* @noflip */ | ||
clear: right; | clear: right; | ||
/* @noflip */ | /* @noflip */ | ||
float: right; | float: right; | ||
/* @noflip */ | |||
margin: 0 0 0.5em 0.5em; | margin: 0 0 0.5em 0.5em; | ||
} | |||
.infobox-rtl { | |||
/* @noflip */ | |||
clear: left; | |||
/* @noflip */ | |||
float: left; | |||
/* @noflip */ | |||
margin: 0 0.5em 0.5em 0; | |||
} | |||
.infobox th { | |||
/* @noflip */ | |||
text-align: left; | |||
} | |||
.infobox-rtl th { | |||
/* @noflip */ | |||
text-align: right; | |||
} | } | ||
| Line 45: | Line 66: | ||
} | } | ||
.infobox-header td { | .infobox-header td, | ||
.infobox-header th { | |||
padding-top: 0.5em; | padding-top: 0.5em; | ||
} | } | ||