Head blueLogoText.gif NCF HelpWiki
Help | StartPage

Difference between revisions of "MediaWiki:Common.css"

From Support
Jump to navigation Jump to search
m
m
 
(24 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;
/* justify-content: space-between; */
   margin: 1em 0;
   margin: 1em 0;
}
}
Line 17: Line 16:
.ncfboxborder {
.ncfboxborder {
   border: solid #aaaaaa 1px;
   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: left;
}
}
 
.ncfrightbox {
  box-sizing: border-box;
   float: right;
}
 
.min-w-20rem {
  min-width: 20rem;
}
 
.min-w-50rem {
  min-width: 50rem;
}


.w-10 {
.w-10 {
Line 35: Line 53:
   width: 24%;
   width: 24%;
}
}


.w-33 {
.w-33 {
   width: 33%;
   width: 32%;
}
}


Line 46: Line 63:


.w-75 {
.w-75 {
   width: 75%;
   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;
}