Template:Infobox/style.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
min-width: 200px; |
min-width: 200px; |
||
width: 30em; |
width: 30em; |
||
+ | margin: 1em; |
||
− | |||
+ | |||
border: solid 1px grey; |
border: solid 1px grey; |
||
background-color: #f5f5f5; |
background-color: #f5f5f5; |
||
Line 13: | Line 14: | ||
.infobox.nofloat { |
.infobox.nofloat { |
||
float: none; |
float: none; |
||
− | margin: auto; |
+ | margin: 1em auto; |
} |
} |
||
Revision as of 00:11, 7 March 2021
.infobox {
float: right;
clear: right;
min-width: 200px;
width: 30em;
margin: 1em;
border: solid 1px grey;
background-color: #f5f5f5;
font-size: 90%;
}
.infobox.nofloat {
float: none;
margin: 1em auto;
}
.infobox-header, .infobox-illustration, .infobox-caption, .infobox-section-header {
/*column-span: 2;*/
}
.infobox-header {
padding: 0.8em 2em;
color: white;
background-color: #696969;
font-size: 1.3em;
}
.infobox-illustration, .infobox-caption {
margin: auto;
text-align: center;
}
.infobox-caption {
color: #696969;
font-style: italic;
}
.infobox-section-header {
background-color: #ddd;
color: #222;
font-size: 1.1em;
}