Got a spare minute? The Archives need some love. See the to-do list to find a way to help.
If you upload a new image make sure you name and categorize it properly. If in doubt, ask an admin or see our FAQ page.

MediaWiki:Monobook.css: Difference between revisions

From Bulbagarden Archives
Jump to navigationJump to search
(Fix tabs/sidebar)
(Override default font used for gender symbols for legibility)
Line 64: Line 64:


/* Right-side link repair */
/* Right-side link repair */
@media screen and (max-width: 1440px) {
@media screen and (max-width: 1440px) {
     div#rightcolbox {
     div#rightcolbox {
         display: none;
         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;
}
}

Revision as of 05:25, 29 February 2024

/* 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;
}