MediaWiki:Common.css: Difference between revisions

From SysCAD Documentation
Jump to navigation Jump to search
(Created page with "→‎CSS placed here will be applied to all skins: #p-logo .mw-wiki-logo { background-size: contain; }")
 
No edit summary
Line 3: Line 3:
#p-logo .mw-wiki-logo {
#p-logo .mw-wiki-logo {
   background-size: contain;
   background-size: contain;
}
.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;
}
}

Revision as of 19:53, 5 September 2017

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

#p-logo .mw-wiki-logo {
  background-size: contain;
}

.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;
}