MediaWiki:Vector.css: Difference between revisions

MediaWiki interface page
(Created page with "→‎CSS placed here will affect users of the Vector skin: →‎Flexbox used in the Main page and Help page: #mainpage-flexbox, #help-flexbox { margin-top: 20px; } /* Flex...")
 
(Keeping CSS segregation sane)
Line 1: Line 1:
/* CSS placed here will affect users of the Vector skin */
/* CSS placed here will affect users of the Vector skin */


/* Flexbox used in the Main page and Help page */
/* Flexbox used in the Main page */
#mainpage-flexbox, #help-flexbox {
#mainpage-flexbox, #help-flexbox {
   margin-top: 20px;
   margin-top: 20px;
}
}


/* Flexbox properties */
.flexbox-row-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
 
.flexchild-stretch {
  flex-grow: 1;
}
 
.flexchild-border {
.flexchild-border {
   border-style: solid;
   border-style: solid;
Line 32: Line 41:
   padding-bottom: 0px;
   padding-bottom: 0px;
   font-size: 1em;
   font-size: 1em;
}
/* Formatting for the video game infobox template */
.vginfobox {
  float: right;
  max-width: 375px;
  margin-left: 15px;
  margin-bottom: 15px;
  font-size: 90%;
  border-spacing: 0px;
  border-style: solid;
  border-width: 1px;
  border-color: #a2a9b1;
}
.vginfobox > * > tr > th, .vginfobox > * > tr > td {
  padding: 10px;
}
}

Revision as of 07:09, 13 October 2019

/* CSS placed here will affect users of the Vector skin */

/* Flexbox used in the Main page */
#mainpage-flexbox, #help-flexbox {
  margin-top: 20px;
}

.flexbox-row-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.flexchild-stretch {
  flex-grow: 1;
}

.flexchild-border {
  border-style: solid;
  border-width: 1px;
  border-color: #cccccc;
  border-radius: 10px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 5px;
  padding-bottom: 15px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.flexchild-borderless {
  padding-right: 10px;
}

.flexheading3 {
  font-weight: bold;
  font-size: 1.2em;
}

.flexheading4 {
  padding-bottom: 0px;
  font-size: 1em;
}

/* Formatting for the video game infobox template */
.vginfobox {
  float: right;
  max-width: 375px;
  margin-left: 15px;
  margin-bottom: 15px;
  font-size: 90%;
  border-spacing: 0px;
  border-style: solid;
  border-width: 1px;
  border-color: #a2a9b1;
}

.vginfobox > * > tr > th, .vginfobox > * > tr > td {
  padding: 10px;
}