Module:Infobox/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
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; | ||
width: 450px; | |||
} | } | ||
.infobox | .infobox td, | ||
.infobox th { | |||
vertical-align: top; | |||
} | } | ||
.infobox | .infobox caption { | ||
font-size: | margin-left: inherit; | ||
font-size: larger; | |||
} | } | ||
.infobox image { | |||
text-align: center; | 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; | |||
} | } |
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;
}