MediaWiki:Monobook.css

From Protochroma Wiki
Revision as of 06:59, 30 January 2023 by Konz (talk | contribs)
(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.
/* -- Wiki fundamentals -- */
body 
{
    background-image: url(https://protochroma.wiki/w/images/2/26/Background.png);
    background-repeat: repeat;
    font-family: 'Open Sans', sans-serif;
}

.mw-body
{
    background-color: #D0D0D0;
}

.mw-body:not(.toc) a:not(.new):not(.mw-collapsible-text) {
    color: #042229;
    text-decoration: underline;
    font-weight: bold;
}

.mw-body a.new {
    text-decoration: underline;
    font-weight: bold;
}

h1, h2 {
    border-bottom: 1px solid #000000;
}

#footer, .mw-footer {
    border-top: 1px dotted white;
    border-bottom: 1px dotted white;
    background-color: #a9a9a9;
    font-size: 13px;
}

a, a:visited {
    color: #000080;
}

a:hover:not(.new) {
    color: #0000CD;
}

hr {
    color: #99815f;
    background-color: #99815f;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #042229;
}

a.mw-collapsible-text {
    color: #46eded;
}

.mbmainpagecpadding {
    padding-top: 22px;
}


/* removes Monobook white banner at the top. Not sure if still needed. */
div#globalWrapper
{
    font-size: 130%;
    width: 100%;
    margin: 0; padding: 0;
    background-image: none;
}

/* -- PC-style wiki sidebar -- */

#sidebar div.pBody {
    background-image: linear-gradient(to right, #181a1b, #42484b);
    border-left: 5px solid #1e90ff;
    border-right: transparent;
    border-top: transparent;
    border-bottom: transparent;
}

#sidebar h3 {
    color: #ffffff;
}

#sidebar a {
    color: #1affff;
    font-size: 13px;
}

#sidebar a:hover {
    color: white;
}

/* -- Mobile -- */

@media screen and (max-width: 550px){

body.skin--responsive .monobook-body .scrollbox img {

    height: unset !important;
    max-width: unset !important;

}

body.skin--responsive .monobook-body table.border img {

    height: unset !important;
    max-width: unset !important;

}
}