MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
(Improved CSS for removing title on the Main Page)
(Added common CSS classes)
Line 8: Line 8:
body.page-Main_Page.action-view #contentSub, body.page-Main_Page.action-submit #contentSub {
body.page-Main_Page.action-view #contentSub, body.page-Main_Page.action-submit #contentSub {
   margin: 0 0 0 0 !important;
   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;
}
}

Revision as of 14:31, 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;
}