Template:MinorNation/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
background: #eee; |
background: #eee; |
||
border: 1px solid #aaa; |
border: 1px solid #aaa; |
||
− | float: right; |
||
margin: 0 0 1em 1em; |
margin: 0 0 1em 1em; |
||
padding: 1em; |
padding: 1em; |
||
Line 12: | Line 11: | ||
} |
} |
||
.infobox th { |
.infobox th { |
||
− | text-align: right; |
||
− | vertical-align: top; |
||
width: 120px; |
width: 120px; |
||
} |
} |
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;
margin: 0 0 1em 1em;
padding: 1em;
width: 200px;
}
.infobox th {
width: 120px;
}