MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
(Added common CSS classes)
(Fix-up)
Line 26: Line 26:
   border-color: #cccccc;
   border-color: #cccccc;
   border-radius: 10px;
   border-radius: 10px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 15px;
  margin-right: 10px;
  margin-bottom: 10px;
}
}

Revision as of 14:45, 11 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 */
.flex-row-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

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

.Main_Page-flexbox {
  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;
}