MediaWiki:Common.css: Difference between revisions
Content added Content deleted
mNo edit summary |
mNo edit summary |
||
Line 396: | Line 396: | ||
.byline a { |
.byline a { |
||
color: #949eaa; |
color: #949eaa; |
||
} |
|||
.tile-row { |
|||
display: flex; |
|||
flex-flow: row wrap; |
|||
margin-bottom: 1em; |
|||
} |
|||
.mainpage-contents .tile-halves { |
|||
flex: 1; |
|||
margin-right: 0.9rem; |
|||
} |
|||
.mainpage-contents .tile-halves:hover .tile-top img { |
|||
transform: scale(1.04); |
|||
} |
|||
.mainpage-contents .tile-halves:last-child { |
|||
margin-right: 0; |
|||
} |
|||
.mainpage-contents .tile-top { |
|||
height: 4.5rem; |
|||
position: relative; |
|||
} |
|||
.mainpage-contents .tile-top h2 a { |
|||
display: block; |
|||
text-align: center; |
|||
text-decoration: none; |
|||
line-height: 4.5rem; |
|||
padding-left: 0.45rem; |
|||
} |
|||
.mainpage-contents h2 { |
|||
margin: 0; |
|||
padding: 0; |
|||
} |
} |