MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
.flex2 { | .flex2 { | ||
flex-grow: 2; | flex-grow: 2; | ||
} | |||
.flex3 { | |||
flex-grow: 3; | |||
} | } |
Revision as of 09:55, 30 April 2019
/* CSS placed here will be applied to all skins */ .mainpage_row { display: flex; flex-direction: row; flex-flow: row wrap; justify-content: space-between; padding: 0; margin: 0; } .mainpage_column { flex: 1; display: flex; flex-direction: column; flex-flow: column wrap; justify-content: space-between; padding: 0; margin: 0; } .mainpage_box { flex: 1; margin: 5px; min-width: 210px; border: 1px solid #CCC; padding: 0 10px 10px 10px; box-shadow: 0 2px 2px rgba(0,0,0,0.1); } .flex2 { flex-grow: 2; } .flex3 { flex-grow: 3; }