MediaWiki:Minerva.less/tiles.less
Jump to navigation
Jump to search
// standard tile class
// mainpage.less relies on this; check before changing anything
/* ------------------
tile
------------------ */
.tile {
padding: 1.5em 2em 1em;
h2 {
font-weight: 600;
border: none;
margin-top: .4em;
}
// reduce spacing when byline and heading appear together
// (which should be the only way bylines appear)
.byline + h2 {
margin-top: -0.5em;
}
}
/* ------------------
halves
------------------ */
.tile-row {
background: var(--body-light) !important;
border: 1px solid var(--body-border);
}
// goes inside tile-halves
.tile-top {
padding: 1.3rem 1.5rem 2rem;
}
// goes inside tile-halves
.tile-bottom {
padding: 1rem 1.5rem 2rem;
&.read-more {
padding: 0;
a {
padding: 1em 1.75em;
}
}
}