MediaWiki:Common.css

From Book Trigger Warnings
Revision as of 22:41, 23 June 2020 by Bookrob13 (talk | contribs)

Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

/* background color of the biggest part of the main "frame" */
#mw-content-container {
background: white;
}

/* text color of items in navbars (like Main page, Recent changes, ...) */
.mw-portlet-body ul li a {
color: gray;
}

#content h1 {
border-bottom: solid 4px #5e17eb;
}

.color-left {
background-color: black;
}

.color-middle {
background-color: black;
}

.color-right {
background-color: black;
}

.sidebar-chunk {
background-color: black;
background-clip: border-box;
}

/* for the side navbars (like Navigation, Wiki tools, Page tools, ...) */
.sidebar-inner {
background-color: black;
color: white;
}

#mw-page-header-links li.selected {
border-bottom-color: #5e17eb;
}

.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}