Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 22: | Line 22: | ||
margin-left: 1rem; | margin-left: 1rem; | ||
} | } | ||
.ncfrow:first-child { | .ncfrow > :first-child { | ||
margin-left: 0; | margin-left: 0; | ||
} | } |
Revision as of 14:30, 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; } .ncfrow > * { margin-left: 1rem; } .ncfrow > :first-child { margin-left: 0; } .ncfbox { box-sizing: border-box; } .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; }