MediaWiki:Common.less/mainpage.less: Difference between revisions
no edit summary
(base cp from rsw) |
No edit summary Tag: Reverted |
||
Line 166:
.mainpage-contents {
.tile-halves {
flex: 1;
margin-right: @mp-gutter-width;
// zoom on hover
&:hover .tile-top img {
transform: scale(1.04);
}▼
&:last-child {
margin-right: 0;
}
}
.tile-top {
height: @mp-contents-height;
position: relative; // needed for ribbon
h2 a {
display: block;
text-align: center;
text-decoration: none;
line-height: @mp-contents-height;
padding-left: .45rem; // to make up for arrow width
}
}
Line 180 ⟶ 199:
margin: 0;
padding: 0;
▲ }
}
|