Module:Infobox/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
background: #F8F9FA; | background: #F8F9FA; | ||
color: black; | color: black; | ||
width: | width: 450px; | ||
} | } | ||
Line 24: | Line 24: | ||
} | } | ||
.infobox image { | |||
text-align: center; | |||
word-spacing: 0; | |||
} | |||
.infobox.bordered { | .infobox.bordered { | ||
border-collapse: collapse; | border-collapse: collapse; |
Latest revision as of 02:26, 23 June 2022
/**
* Infoboxes
*/
.infobox {
float: right;
clear: right;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
border: 1px solid #A2A9B1;
background: #F8F9FA;
color: black;
width: 450px;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
margin-left: inherit;
font-size: larger;
}
.infobox image {
text-align: center;
word-spacing: 0;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #A2A9B1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}