MediaWiki:Monobook.css: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Fix some URLs)
(Moved to Common.css)
 
(7 intermediate revisions by 3 users not shown)
Line 16: Line 16:
     -webkit-border-radius: 1em;
     -webkit-border-radius: 1em;
     border-radius: 1em;
     border-radius: 1em;
     background: #EEFFEE url(http://archives.bulbagarden.net/media/upload/6/6f/Notice_bar_background.png) no-repeat left center;
     background: #EEFFEE url(//archives.bulbagarden.net/media/upload/6/6f/Notice_bar_background.png) no-repeat left center;
     border: 2px solid #3E7614;
     border: 2px solid #3E7614;
}
}
Line 23: Line 23:
     text-align: left;
     text-align: left;
}
}


/* Full nine yards, roundy bulba-green treatment. */
/* Full nine yards, roundy bulba-green treatment. */
Line 29: Line 28:


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


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


Line 58: Line 55:


/* tabs */
/* 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: #A1CF31;
    }
   
    body.skin--responsive #p-cactions li.selected,
    body.skin--responsive #p-cactions li.selected a {
        border-color: #3E7614;
        background: #FFFFFF;
    }
}


#p-cactions ul li, #p-cactions ul li a {
/* Placement fix for section edit links */
  -moz-border-radius: 1em 1em 0 0;
div.editsection,
  -webkit-border-top-left-radius: 1em;
div.editsectionnew
  -webkit-border-top-right-radius: 1em;
{
  border-radius: 1em 1em 0 0;
float: right;
  border-color: #3E7614;
}
}


#p-cactions ul li, #p-cactions ul li a {
/* Right-side link repair */
  -moz-border-radius: 1em 1em 0 0;
@media screen and (max-width: 1440px) {
  -webkit-border-top-left-radius: 1em;
    div#rightcolbox {
  -webkit-border-top-right-radius: 1em;
        display: none;
  border-radius: 1em 1em 0 0;
    }
  border-color: #3E7614;
}
}
#p-cactions ul li a { background: #A1CF31; }
#p-cactions ul li.selected a { background: #FFFFFF; }
#p-cactions li.selected { border-color: #3E7614; }
#p-cactions li { border-color: #3E7614; }


/* Override default font used for gender symbols for legibility */
body {
    font-family: 'bp_gender', sans-serif;
}
/* </pre> */
/* </pre> */

Latest revision as of 01:15, 1 March 2024

/* edit this file to customize the monobook skin for the entire site */
/* <pre> */

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

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

.usermessage {
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    border-radius: 1em;
    background: #EEFFEE url(//archives.bulbagarden.net/media/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;
    }
}

/* ToC */

#toc, .toc {
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    border-radius: 1em;
    border: 1px solid #A1CF31;
}

/* 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: #A1CF31;
    }
    
    body.skin--responsive #p-cactions li.selected,
    body.skin--responsive #p-cactions li.selected a {
        border-color: #3E7614;
        background: #FFFFFF;
    }
}

/* Placement fix for section edit links */
div.editsection,
div.editsectionnew
{
float: right;
}

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

/* Override default font used for gender symbols for legibility */
body {
    font-family: 'bp_gender', sans-serif;
}
/* </pre> */