MediaWiki:Common.css

From Book Trigger Warnings
Revision as of 23:23, 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-clip: padding-box;
}
*/

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

h1, h2, h3, h4 {
	color: #5e17eb;
}

#mw-site-navigation .sidebar-chunk {
	border: outset #222;
	background: #333;
	box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
	border-radius: 3px;
}
@media screen and (max-width: 851px)
{
    #mw-site-navigation .sidebar-chunk {
	padding: 0 15px 5px 20px;
    }
}

#mw-site-navigation .sidebar-inner {
	background: #000;
	border: 0;
}
@media screen and (max-width: 1099px) and (min-width: 851px)
{
    #mw-site-navigation .sidebar-inner {
	background: #222 !important;
	border: solid #111 !important;
    }
}
@media screen and (max-width: 1099px) and (min-width: 851px)
{
    #mw-site-navigation .sidebar-inner {
	background: #222 !important;
	border: solid #111 !important;
    }
}

#mw-related-navigation .sidebar-chunk {
	background: #000;
	border: outset #222;
	box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
	border-radius: 3px;
}
@media screen and (max-width: 1099px) and (min-width: 851px) {
#mw-related-navigation .sidebar-chunk {
	background: #333;
	border: outset #222;
	box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
	border-radius: 3px;
	padding: 0 15px 5px 20px;
}
}



@media screen and (max-width: 1099px) and (min-width: 851px)
{
    #mw-related-navigation .sidebar-inner {
	background: #222 !important;
	border: solid #111;
    }
}


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