MediaWiki:Common.css

From SysCAD Documentation
Jump to navigation Jump to search

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 */

.mw-wiki-logo {
  background-size: contain !important;
}

.outdated-badge-warning {
  display: block;
  padding: 10px;
  background-color: darkred;
  color: white;
  margin-bottom: 10px;
  border-radius: 4px;
}

.outdated-badge-warning > a,
.outdated-badge-warning > a:visited,
.outdated-badge-warning > a:hover {
  color: white;
  text-decoration: underline;
  font-weight: 700;
}

.outdated-badge-warning::before {
    content: "⚠";
    display: inline-block;
    margin: 0 5px 0 0;
    font-size: 20px;
    line-height: 0px;
    position: relative;
    top: 2px;
}

/* Hide the Discussion tab page. NB: Doesn't actual remove this (still exists as link, etc) */
#ca-talk { display: none !important; }