Template:MinorNation/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
float: right; |
float: right; |
||
clear: right; |
clear: right; |
||
− | margin |
+ | margin: 1em; |
− | margin-left: 1em; |
||
− | padding: 0.2em; |
||
− | border: 1px solid #a2a9b1; |
||
background: #f8f9fa; |
background: #f8f9fa; |
||
color: black; |
color: black; |
||
Line 16: | Line 13: | ||
.infobox image { |
.infobox image { |
||
− | vertical-align: top; |
||
max-width: 150px; |
max-width: 150px; |
||
} |
} |
Revision as of 02:16, 19 July 2021
/* {{pp-template}} */
/* The width style is limited to tablet and desktop resolutions as 22em is bigger than most mobile screens.
Historically, the mobile skin (Minerva) has used !important to override them but this is not sustainable.*/
.infobox {
float: right;
clear: right;
margin: 1em;
background: #f8f9fa;
color: black;
max-width: 150px;
}
.infobox image {
max-width: 150px;
}
.infobox td,
.infobox th {
vertical-align: top;
max-width: 150px;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}