Difference between revisions of "MediaWiki:Common.css"
From specialfunctionswiki
(Created page with "→CSS placed here will be applied to all skins: div.grid { display: flex; flex-wrap: wrap; justify-content: space-around; } a.grid { display: inline-block; width:calc(50%-...") |
(No difference)
|
Revision as of 06:35, 10 June 2016
/* CSS placed here will be applied to all skins */ div.grid { display: flex; flex-wrap: wrap; justify-content: space-around; } a.grid { display: inline-block; width:calc(50%-4px); margin-bottom: 50px; text-decoration: none; color: black; } @media screen and (min-width: 1000px) { a.grid { width: calc(20% - 6.4px); } } a.grid:hover img.grid { transform: scale(1.15); } figure.grid { margin:0; overflow: hidden; } figcaption.grid { margin-top: 15px; } img.grid { border: none; max-width: 100%; height: 150px; display: block; margin: 0 auto; background: #ccc; transition: transform .2s ease-in-out; }