Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
m |
|||
(39 intermediate revisions by 4 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 */ | |||
.ncfcenter { | |||
text-align: center; | |||
} | |||
.ncfrow { | .ncfrow { | ||
display: flex; | display: flex; | ||
flex-flow: row wrap; | flex-flow: row wrap; | ||
/* justify-content: space-between; */ | |||
margin: 1em 0; | margin: 1em 0; | ||
} | } | ||
. | .ncfboxborder { | ||
border: solid #aaaaaa 1px; | |||
border: solid | |||
} | } | ||
.ncfrow > :not(:last-child) { | |||
margin-right: 1%; | |||
} | |||
.ncfrow > .ncfbox { | |||
margin-bottom: 1rem; | |||
} | |||
. | .ncfbox { | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
. | .ncfrightbox { | ||
box-sizing: border-box; | box-sizing: border-box; | ||
float: | 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; | |||
} | } |
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; }