Module:Portal/styles.css
< Module:Portal
Jump to navigation
Jump to search
Revision as of 03:18, 19 December 2021 by Tachyony (talk | contribs) (Created page with "→{{pp-template}}: .portalbox { float: right; border: solid #aaa 1px; padding: 0; →Timeless adds padding: } .portalbox.tleft { margin: 0.5em 1em 0.5em 0 } .portalbox.tright { margin: 0.5em 0 0.5em 1em } .portalbox > ul { display: table; box-sizing: border-box; padding: 0.1em; max-width: 175px; background: #f9f9f9; font-size: 85%; line-height: 110%; font-style: italic; font-weight: bold; } .portalbox > ul > li { display: table-row; } .portalbo...")
/* {{pp-template}} */
.portalbox {
float: right;
border: solid #aaa 1px;
padding: 0; /* Timeless adds padding */
}
.portalbox.tleft {
margin: 0.5em 1em 0.5em 0
}
.portalbox.tright {
margin: 0.5em 0 0.5em 1em
}
.portalbox > ul {
display: table;
box-sizing: border-box;
padding: 0.1em;
max-width: 175px;
background: #f9f9f9;
font-size: 85%;
line-height: 110%;
font-style: italic;
font-weight: bold;
}
.portalbox > ul > li {
display: table-row;
}
.portalbox > ul > li > span:first-child {
display: table-cell;
padding: 0.2em;
vertical-align: middle;
text-align: center;
}
.portalbox > ul > li > span:last-child {
display: table-cell;
padding: 0.2em 0.2em 0.2em 0.3em;
vertical-align: middle;
}