MediaWiki:Common.css

MediaWiki interface page
Revision as of 14:31, 11 September 2019 by HerrHulaHoop (talk | contribs) (Added common CSS classes)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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;
}