Module:Portal/sandbox/styles.css
< Module:Portal | sandbox
.portalbox-sand {
float: right;
padding: 0; /* Timeless adds padding */
}
.portalborder-sand {
border: solid #aaa 1px;
}
.portalbox-sand.tleft {
margin: 0.5em 1em 0.5em 0
}
.portalbox-sand.tright {
margin: 0.5em 0 0.5em 1em
}
.portalbox-sand > ul {
display: table;
box-sizing: border-box;
max-width: 175px;
font-size: 85%;
line-height: 110%;
font-style: italic;
font-weight: bold;
}
.portalborder-sand > ul {
padding: 0.1em;
background: #f9f9f9;
}
.portalbox-sand > ul > li {
display: table-row;
}
.portalbox-sand > ul > li > span:first-child {
display: table-cell;
padding: 0.2em;
vertical-align: middle;
text-align: center;
}
.portalbox-sand > ul > li > span:last-child {
display: table-cell;
padding: 0.2em 0.2em 0.2em 0.3em;
vertical-align: middle;
}