Module:Infobox/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* | /** | ||
* Infoboxes | |||
* | |||
*/ | */ | ||
.infobox { | |||
float: right; | |||
clear: right; | |||
margin-bottom: 0.5em; | |||
margin-left: 1em; | |||
.infobox | padding: 0.2em; | ||
border: 1px solid #A2A9B1; | |||
background: #F8F9FA; | |||
margin: - | color: black; | ||
} | |||
.infobox td, | |||
.infobox th { | |||
vertical-align: top; | |||
} | |||
.infobox caption { | |||
margin-left: inherit; | |||
font-size: larger; | |||
} | } | ||
.infobox | .infobox.bordered { | ||
border-collapse: collapse; | |||
} | } | ||
.infobox . | .infobox.bordered td, | ||
.infobox.bordered th { | |||
border: 1px solid #A2A9B1; | |||
} | } | ||
.infobox.bordered .borderless td, | |||
.infobox.bordered .borderless th { | |||
border: 0; | |||
} | } |
Revision as of 02:08, 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;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
margin-left: inherit;
font-size: larger;
}
.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;
}