MediaWiki:Common.css: Difference between revisions

no edit summary
(Created page with "→‎CSS placed here will be applied to all skins: →‎Reset italic styling set by user agent: cite, dfn { font-style: inherit; } →‎Straight quote marks for <q>: q { quotes: '"' '"' "'" "'"; } →‎Avoid collision of blockquote with floating elements by swapping margin and padding: blockquote { overflow: hidden; margin: 1em 0; padding: 0 40px; } →‎Consistent size for <small>, <sub> and <sup>: small { font-size: 85%; } .mw-body-content sub, .mw-body-conte...")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
/*Begin Greenfield Custom CSS*/
.tileList {
display: flex;
margin: 0;
padding: 0;
flex-wrap: wrap;
}
.tileList.tile {
border-radius: .5rem;
display: flex;
justify-content: center;
align-items: center;
overflow:hidden;
}
.tileList.tile > p {
text-align: center;
margin-top: .125rem;
margin-bottom: .125rem;
}
.tileList.tile > img {
flex-shrink: 0;
min-width: 100%;
min-height: 100%;
transform: scale(1.0);
transition-duration: .3s;
}
.tileList.tile:hover > img{
transform: scale(1.05);
transition-duration: .3s;
}
/*End Greenfield Custom CSS */
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Reset italic styling set by user agent */
/* Reset italic styling set by user agent */