Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
m |
|||
| (36 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; | |||
} | |||
.ncfrow > :not(:last-child) { | |||
margin-right: 1%; | |||
} | |||
.ncfrow > .ncfbox { | |||
margin-bottom: 1rem; | |||
} | } | ||
.ncfbox { | .ncfbox { | ||
box-sizing: border-box; | box-sizing: border-box; | ||
float: | } | ||
} | |||
.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 { | .w-20 { | ||
width: | width: 19%; | ||
} | } | ||
.w-25 { | .w-25 { | ||
width: | width: 24%; | ||
} | } | ||
.w-33 { | .w-33 { | ||
width: | width: 32%; | ||
} | } | ||
.w-50 { | .w-50 { | ||
width: | width: 49%; | ||
} | } | ||
.w-75 { | .w-75 { | ||
width: 74%; | width: 74%; | ||
} | |||
.w-80 { | |||
width: 79%; | |||
} | } | ||
| Line 47: | Line 77: | ||
.ncfboxtitle { | .ncfboxtitle { | ||
font-size: 105%; | font-size: 105%; | ||
padding: 0.4em; | |||
background-color: #eeeeee; | background-color: #eeeeee; | ||
font-weight: bold; | font-weight: bold; | ||
| Line 56: | Line 86: | ||
.ncfboxcontents { | .ncfboxcontents { | ||
background: #ffffff; | 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;
}
