MediaWiki:Common.css

From TSAS Library
Revision as of 17:21, 14 May 2018 by JStallings (talk | contribs) (Major cleanout of CSS copied from MediaWiki)
Jump to: navigation, 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.
/* Hatnotes and disambiguation notices */
.hatnote {
    font-style: italic;
}
.hatnote i {
    font-style: normal;
}
div.hatnote {
    /* @noflip */
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}
div.hatnote + div.hatnote {
    margin-top: -0.5em;
}

/*Custom Alert Styling*/
.alert-primary {
    background-color: #d9edf7;
    padding:5px;
}
.alert-la {
    background-color: #e8af6f;
    padding:5px;
}
.alert-st {
    background-color: #b4a7d6;
    padding:5px;
}
.alert-cc {
    background-color: #b7e1cd;
    padding:5px;
}
.alert-fa {
    background-color: #ffe599;
    padding:5px;
}

/* Font Awesome Support*/
@import url("https://use.fontawesome.com/releases/v5.0.10/css/solid.css");

/*Prevent Scrunchy Tables*/
.infobox td, .infobox th {
    padding-left: 10px;
}
/* Fix Ugly Save Buttons*/
input[type=submit], input[type=button] {
    text-shadow: none;
}

.oo-ui-buttonElement > .oo-ui-buttonElement-button {
    font-size:14px;
}