Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
m |
|||
(16 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* NCF Additions */ | /* NCF Additions */ | ||
Line 11: | Line 10: | ||
display: flex; | display: flex; | ||
flex-flow: row wrap; | flex-flow: row wrap; | ||
/* justify-content: space-between; */ | |||
margin: 1em 0; | margin: 1em 0; | ||
} | } | ||
Line 20: | Line 19: | ||
.ncfrow > :not(:last-child) { | .ncfrow > :not(:last-child) { | ||
margin-right: 1rem; | margin-right: 1%; | ||
} | |||
.ncfrow > .ncfbox { | |||
margin-bottom: 1rem; | |||
} | } | ||
Line 30: | Line 32: | ||
box-sizing: border-box; | box-sizing: border-box; | ||
float: right; | float: right; | ||
} | |||
.min-w-20rem { | |||
min-width: 20rem; | |||
} | |||
.min-w-50rem { | |||
min-width: 50rem; | |||
} | } | ||
Line 43: | Line 53: | ||
width: 24%; | width: 24%; | ||
} | } | ||
.w-33 { | .w-33 { | ||
width: | width: 32%; | ||
} | } | ||
Line 54: | Line 63: | ||
.w-75 { | .w-75 { | ||
width: | width: 74%; | ||
} | } | ||
Latest revision as of 07:38, 1 August 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; } .ncfrow > :not(:last-child) { margin-right: 1%; } .ncfrow > .ncfbox { margin-bottom: 1rem; } .ncfbox { box-sizing: border-box; } .ncfrightbox { box-sizing: border-box; float: right; } .min-w-20rem { min-width: 20rem; } .min-w-50rem { min-width: 50rem; } .w-10 { width: 10%; } .w-20 { width: 19%; } .w-25 { width: 24%; } .w-33 { width: 32%; } .w-50 { width: 49%; } .w-75 { width: 74%; } .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; }