Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
m |
m |
||
Line 11: | Line 11: | ||
display: flex; | display: flex; | ||
flex-flow: row wrap; | flex-flow: row wrap; | ||
justify-content: space-between; | /* justify-content: space-between; */ | ||
margin: 1em 0; | margin: 1em 0; | ||
} | } | ||
Line 21: | Line 21: | ||
.ncfbox { | .ncfbox { | ||
box-sizing: border-box; | box-sizing: border-box; | ||
float: left; | /* float: left; */ | ||
} | } | ||
.ncfrow > .ncfbox + .ncfbox { | |||
margin-top: 1rem; | |||
margin-left: 1rem; | |||
} | |||
.ncfrightbox { | .ncfrightbox { |
Revision as of 14:18, 27 July 2018
/* CSS placed here will be applied to all skins */ /* NCF Additions */ .ncfcenter { text-align: center; } .ncfrow { display: flex; flex-flow: row wrap; /* justify-content: space-between; */ margin: 1em 0; } .ncfboxborder { border: solid #aaaaaa 1px; } .ncfbox { box-sizing: border-box; /* float: left; */ } .ncfrow > .ncfbox + .ncfbox { margin-top: 1rem; margin-left: 1rem; } .ncfrightbox { box-sizing: border-box; float: right; } .w-10 { width: 10%; } .w-20 { width: 19%; } .w-25 { width: 24%; } .w-33 { width: 33%; } .w-50 { width: 49%; } .w-75 { width: 75%; } .w-80 { width: 79%; } .w-100 { width: 99%; } .ncfboxtitle { font-size: 105%; padding: 0.4em; background-color: #eeeeee; font-weight: bold; min-height: 2em; vertical-align: middle; } .ncfboxcontents { background: #ffffff; padding: 0.2em 0.4em; }