MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
(Undo revision 8656 by HerrHulaHoop (talk))
Tag: Undo
(Removed from common and moved it to specific page)
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* hide the Main page title */
/* Hide the title on the main page */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading {
.action-view.page-Main_Page #siteSub, .action-submit.page-Main_Page #siteSub,
  display: none;
.action-view.page-Main_Page #contentSub, .action-submit.page-Main_Page #contentSub,
}
.action-view.page-Main_Page .firstHeading, .action-submit.page-Main_Page .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;
}
}


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

Revision as of 06:26, 21 February 2020

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

/* Hide the title on the main page */
.action-view.page-Main_Page #siteSub, .action-submit.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub, .action-submit.page-Main_Page #contentSub,
.action-view.page-Main_Page .firstHeading, .action-submit.page-Main_Page .firstHeading {
  display: none;
}

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