Module:Portal/sandbox/styles.css: Difference between revisions

Content deleted Content added
different selector
Tag: Reverted
get rid of clear/float
 
(24 intermediate revisions by the same user not shown)
Line 1:
/* {{pp-template}} */
.portalbox > ul-sand {
padding: 0; /* Timeless adds padding */
margin: 0.5em 0;
display: table;
list-style: none;
box-sizing: border-box;
max-width: 175px;
list-style: none;
}
 
.portalborder > ul-sand {
border: 1px solid #aaavar(--border-color-base, 1px#a2a9b1);
padding: 0.1em;
background: var(--background-color-neutral-subtle, #f9f9f9f8f9fa);
}
 
.portalbox > ul > li-entry-sand {
display: table-row;
font-size: 85%;
line-height: 110%;
height: 1.9em; /* sets min height */
font-style: italic;
font-weight: bold;
}
 
.portalbox-image-sand {
display: table-cell;
padding: 0.2em;
Line 29 ⟶ 31:
}
 
.portalbox-link-sand {
display: table-cell;
padding: 0.2em 0.2em 0.2em 0.3em;
Line 36 ⟶ 38:
 
@media (min-width: 720px) {
.portalleft > ul-sand {
clear: left;
float: left;
margin: 0.5em 1em 0.5em 0
}
.portalright > ul-sand {
clear: right;
float: right;