MediaWiki:Monobook.css

Revision as of 05:25, 29 February 2024 by Abcboy (talk | contribs) (Override default font used for gender symbols for legibility)

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.
/* edit this file to customize the monobook skin for the entire site */

#siteSub {
    display: inline;
    font-size: 100%;
    font-weight: normal;
}

#ca-edit {
    font-weight: bold;
}

.usermessage {
    -moz-border-radius: 1em;
    background: #EEFFEE url('//archives.bulbagarden.net/w/upload/6/6f/Notice_bar_background.png') no-repeat left center;
    border: 2px solid #3E7614;
}

h1, h2, h3, h4, h5, h6 {
    text-align: left;
}

/* Full nine yards, roundy bulba-green treatment. */
/* content box, navigation sections */

#content {
    -moz-border-radius: 1em 0 0 1em;
    -webkit-border-top-left-radius: 1em;
    -webkit-border-bottom-left-radius: 1em;
    border-radius: 1em 0 0 1em;
    border-color: #3E7614;
}

@media screen and (min-width: 551px) {
    body.skin--responsive .pBody {
        -moz-border-radius: 0 1em 1em 0;
        -webkit-border-top-right-radius: 1em;
        -webkit-border-bottom-right-radius: 1em;
        border-radius: 0 1em 1em 0;
        border-color: #3E7614;
    }
}

/* tabs */
@media screen and (min-width: 551px) {
    body.skin--responsive #p-cactions li,
    body.skin--responsive #p-cactions li a {
        -moz-border-radius: 1em 1em 0 0;
        -webkit-border-top-left-radius: 1em;
        -webkit-border-top-right-radius: 1em;
        border-radius: 1em 1em 0 0;
        border-color: #3E7614;
        background: #eee;
    }
    
    body.skin--responsive #p-cactions li.selected,
    body.skin--responsive #p-cactions li.selected a {
        border-color: #3E7614;
        background: #FFFFFF;
    }
}

ul { list-style-image:none; list-style-type:disc; }

/* Right-side link repair */
@media screen and (max-width: 1440px) {
    div#rightcolbox {
        display: none;
    }
}

/* Override default font used for gender symbols for legibility */
@font-face {
    font-family: 'bp_gender';
    src:
        local('Segoe UI Symbol'),    /* Windows, overriding Arial */
        local('Helvetica'),          /* Mac/iOS */
        local('Noto Emoji Regular'); /* Android */
    unicode-range: U+2640, U+2642;
}

body {
    font-family: 'bp_gender', sans-serif;
}