Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css

MediaWiki interface page
Revision as of 14:19, 13 August 2023 by HelloMiners Admin (talk | contribs) (Created page with "→‎CSS placed here will be applied to all skins: // COLOR DEFINITIONS .bgcolor-hmyellow { background-color: #ffc500; } .bgcolor-hmgray { background-color: #262626; } .color-hmyellow { color: #ffc500; } .color-hmgray { color: #262626; } →‎New BOB Styling: .bob { width: 300px; margin: 5px; background-color: #4c4c4c; clear: right; float: right; color: white; } .bob big { text-align: center; margin: 0 auto; } .bob td { padding: 2p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 */
// COLOR DEFINITIONS
.bgcolor-hmyellow {
    background-color: #ffc500;
}

.bgcolor-hmgray {
    background-color: #262626;
}

.color-hmyellow {
    color: #ffc500;
}

.color-hmgray {
    color: #262626;
}

/* New BOB Styling */
.bob {
  width: 300px;
  margin: 5px;
  background-color: #4c4c4c;
  clear: right;
  float: right;
  color: white;
}

.bob big {
  text-align: center;
  margin: 0 auto;
}

.bob td {
  padding: 2px 5px;
}

.bob .bob-header {
    font-size: 150%;
    text-align: center;
    background-color: #ffc500;
    color: black;
}

.bob img {
    text-align: center;
    margin: 0 auto;
}

.bob-info {
display:flex;
}

.bob-info-header {
    text-align: right;
    display: block;
    font-weight: bold;
    width: 50%;
    padding: 0.1em;
}

.bob-info-footer {
    text-align: left;
    display: block;
    padding: 0.1em;
    width: 50%;
}

.bob .bob-sectionhd {
    text-align: right;
    font-style: bold;
}

/* Bottom Navbox template */
.navbox {
  border: none;
  padding: 1px;
  margin: 0.5em auto;
  width: 90%;
  clear: both;
  font-size: 95%;
  background: #4c4c4c;
  color: white;
}
.navbox th {
  background: #ffc500;
  color: black;
  font-weight: normal;
  padding: 0 0.25em;
}
.navboxhead {
  background: #ffc500 /* bite me */
  font-weight: bold;
}

th.navboxhead {
  font-weight: bold;
}

.navbox a.new {
 white-space: nowrap;
 color: white;
}

.navbox td {
 padding: 0 0.25em;
}

.navbox tr {
 border-bottom: solid 0.15em #4c4c4c;
}

/* MessageBox (MBox) Template Styles */
.msgbox {
  width: 50%;
  border-style: solid;
  border-width: 0 0.375em;
  border-radius: 5px;
  border-color: #ffc500;
  padding: 0.5em;
  background-color: #4c4c4c;
  margin: 5px;
  color: white;
}