Template:MinorNation/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
margin: 0 0 1em 1em; |
margin: 0 0 1em 1em; |
||
padding: 1em; |
padding: 1em; |
||
− | width: |
+ | width: 200px; |
− | } |
||
− | .infobox-title { |
||
− | font-size: 2em; |
||
− | text-align: center; |
||
− | } |
||
− | .infobox-image { |
||
− | text-align: center; |
||
} |
} |
||
.infobox th { |
.infobox th { |
||
Line 22: | Line 15: | ||
vertical-align: top; |
vertical-align: top; |
||
width: 120px; |
width: 120px; |
||
− | } |
||
− | .infobox td { |
||
− | vertical-align: top; |
||
} |
} |
Revision as of 00:43, 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 {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 200px;
}
.infobox th {
text-align: right;
vertical-align: top;
width: 120px;
}