MediaWiki:Common.css
From Protochroma Wiki
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.
/* Font imports */
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css?family=PT+Serif:400,700&display=swap');
body {
font-family: 'PT Serif', serif;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Open Sans', sans-serif;
color: #042229;
}
/* Wiki background */
body
{
background-image: url(https://static.miraheze.org/protochromawiki/2/26/Background.png);
background-repeat: repeat;
}
/* Content background */
.mw-body, #footer, #sidebar div.pBody
{
background-color: #D0D0D0;
}
/* Removes Monobook white banner at the top */
div#globalWrapper
{
font-size: 130%;
width: 100%;
margin: 0; padding: 0;
background-image: none;
}
/* Gallery styles background changes are restricted to screen view. In printing we should avoid applying backgrounds. */
@media screen {
/* The backgrounds for galleries. */
#content .gallerybox div.thumb {
/* Light gray padding */
background-color: #f8f9fa;
}
/* Put a chequered background behind images, only visible if they have transparency.
'.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
.gallerybox .thumb img {
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
/* But not on articles, user pages, portals or with opt-out. */
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img,
.nochecker .gallerybox .thumb img {
background-image: none;
}
}
/* nav styling */
#p-personal li a {
color: #ffffff;
}
#p-personal li a:hover {
background: none;
}
.mw-echo-notifications-badge:before {
background-color: #ffffff;
box-shadow: 0px 0px 5px #ffffff;
}
[role="navigation"] {
font-family: 'Open Sans', sans-serif;
}
#sidebar h3 {
color: #ffffff;
}
.mw-body:not(.toc) a:not(.new) {
color: #042229;
text-decoration: underline;
font-weight: bold;
}
.mw-body a.new {
text-decoration: underline;
font-weight: bold;
}
.mw-footer {
border-top: 1px solid #1E90FF;
border-bottom: 1px solid #1E90FF;
}
/* link style*/
a {
color: #003a4d;
font-weight: bold;
}
a:visited {
color: #003a4d;
}
/* border coloring */
h1, h2 {
border-bottom: 1px solid #000000;
}
hr {
color: #99815f;
background-color: #99815f;
}
/* Tabbed infoboxes */
.tabbedInfobox {
float: right;
}
.tabbedInfobox ul.tabbernav{
border: none;
font: inherit;
padding: 0px;
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
.tabbedInfobox .tabbertab {
padding: 0px;
border: none;
}
.tabbedInfobox ul.tabbernav li a {
border: solid 2px #5f8b99;
border-bottom: none;
border-radius: 0.25em 0.25em 0px 0px;
display: inline-block;
width: 85%;
}
ul.tabbernav li {
flex: 1 0 25%;
margin-right: 2%;
}
