MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
(Undo revision 8656 by HerrHulaHoop (talk))
Tag: Undo
(Added border and removed redundant condition)
Line 47: Line 47:
   float: right;
   float: right;
   width: 320px;
   width: 320px;
   margin-left: 8px;
   margin-left: 15px;
   font-size: 90%;
   font-size: 90%;
  text-align: left;
   border-style: solid;
   border-style: solid;
   border-width: 1px;
   border-width: 1px;
  border-color: #a2a9b1;
}
}

Revision as of 20:22, 22 September 2019

/* CSS placed here will be applied to all skins */

/* hide the Main page title */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { 
  display: none; 
}

body.page-Main_Page.action-view #contentSub, body.page-Main_Page.action-submit #contentSub {
  margin: 0 0 0 0 !important;
}

/* Flexbox used in the Main page */
.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-bottom: 15px;
  margin-right: 10px;
  margin-bottom: 10px;
}

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

.text-bottomline {
  border-bottom-style: solid; 
  border-bottom-width: 1px;
  border-bottom-color: #a2a9b1;
}

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