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%-...") |
|||
Line 4: | Line 4: | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
justify-content: space-around; | justify-content: space-around; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
@media screen and (min-width: 1000px) { | @media screen and (min-width: 1000px) { | ||
− | + | div.grid { | |
width: calc(20% - 6.4px); | width: calc(20% - 6.4px); | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } |
Revision as of 06:53, 10 June 2016
/* CSS placed here will be applied to all skins */ div.grid { display: flex; flex-wrap: wrap; justify-content: space-around; } @media screen and (min-width: 1000px) { div.grid { width: calc(20% - 6.4px); } }