Difference between revisions of "MediaWiki:Common.css"

From PinataIsland.info, the Viva Piñata wiki
Jump to: navigation, search
(Since there doesn't seem to be a pleasant red shade, lets see how the same bg color as the species Sour version section works for the Taming sour pinatas table)
(Need darker cell border color to contrast with light table background)
Line 182: Line 182:
 
     background: #d3baf2; ! ickyred = #f29494;
 
     background: #d3baf2; ! ickyred = #f29494;
 
     padding: 5px;
 
     padding: 5px;
 +
    border-bottom-color: #cccccc;
 
}
 
}
  
Line 187: Line 188:
 
     background: #f0e1ff; ! ickyred = #ffb1b1;
 
     background: #f0e1ff; ! ickyred = #ffb1b1;
 
     padding: 5px;
 
     padding: 5px;
 +
    border-color: #cccccc;
 
}
 
}
  

Revision as of 15:07, 22 November 2006

/** CSS placed here will be applied to all skins */

/* Content backgrounds for various categoried pages. */

/*
 * Can't set width to 100% and also specify padding in same div, due to browser bugs.  (Renders wider than it should, leading to horizontal scrollbars.)
 *
 * Bug/workaround documented at http://www.webreference.com/authoring/style/sheets/layout/advanced/
 */

div.pii_species_content_container,
div.pii_flower_content_container,
div.pii_waterflower_content_container,
div.pii_vegetable_content_container,
div.pii_weed_content_container,
div.pii_bush_content_container,
div.pii_tree_content_container {
    width: 100%;
}

div.pii_species_content {
    margin: 0;
    padding: 1em;
    background-color:#D1F3FF;
}

div.pii_species_sour_content {
    margin: 0;
    padding: 1em;
    background-color:#f0e1ff;
}

div.pii_flower_content,
div.pii_waterflower_content,
div.pii_vegetable_content,
div.pii_weed_content,
div.pii_bush_content,
div.pii_tree_content {
    margin: 0;
    padding: 1em;
    background-color:#ccffcc;
}

/* Indent for Species page Requirements section data */

div.pii_species_requirements {
    margin: 1em 1em 1em 2em;
}


/* Speechbox */

div.pii_speechbox {
    background-image: url(/skins/common/images/Speech_Box.jpg);
    height: 190px;
    width: 366px;
    padding: 90px; 
}

/* Gameplay Tip message box */

div.pii_gameplay_tip {
    width: 80%;
    border: 4px solid #cef2e0; ! blue=#cedff2;
    background: #f5fffa; ! blue=#f5faff;
    padding: 0.8em;
    margin: 1em auto 1em auto;
    text-align: center;
}

div.pii_gameplay_tip b {
    color: #8eb2a0; ! blue=#8e9fb2;
    font-weight: bold;
}

/* Accessories item box */

div.pii_accessories {
    width: 90%;
    border: 4px solid #cedff2;
    background: #f5faff;
    padding: 0.6em;
    margin: 1em auto 1em auto;
    text-align: center;
}

div.pii_accessories b {
    color: #8e9fb2;
    font-weight: bold;
    font-size: 120%;
    text-decoration: none;
    border-bottom: 2px solid #cedff2;
    padding-bottom: 0.2em;
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0.2em;
    display: block;
}

div.pii_accessories ul {
    text-align: center;
    list-style: none;
    list-style-image: none;
    list-style-type: none;
    display: block;
    cursor: default;
}

div.pii_accessories li {
    padding: 0;
    display: block;
    margin-left: -1.5em;
}

/* Species page Variants table */

table.pii_species_variants {
    padding: 5px;
    border-spacing: 0px;
    margin: 1em 1em 1em 1em;
    border: 1px #aaaaaa solid;
    border-collapse: collapse;
    vertical-align: top;
    text-align: center;
}

table.pii_species_variants td {
    background: #fdffeb;
    padding: 5px;
}

table.pii_species_variants th {
    background: #fdf2ce;
    padding: 5px;
}

/* General table, auto-width */

table.pii_wikitable {
    padding: 5px;
    border-spacing: 5px;
    margin: 1em;
    border: 1px #aaaaaa solid;
    border-collapse: collapse;
    vertical-align: top;
}

table.pii_wikitable th {
    padding: 5px;
}

table.pii_wikitable td {
    padding: 5px;
}

/*
 * Color variations for table headings and rows
 *
 * Attract: Yellow (E.g. Attracting new species)
 * Tame: Red (E.g. Taming sour pinatas)
 * Game: Green (E.g. Site Map Game)
 * Merchandise: Blue (E.g. Site Map General info)
 * TV: Purple (E.g. Site Map TV show)
 *
 */

/* Yellow */

#pii_attract th {
    background: #fdf2ce;
    padding: 5px;
}

#pii_attract td {
    background: #fdffeb;
    padding: 5px;
}

/* Was Red - trying same purple shade as species Sour version section */

#pii_tame th {
    background: #d3baf2; ! ickyred = #f29494;
    padding: 5px;
    border-bottom-color: #cccccc;
}

#pii_tame td {
    background: #f0e1ff; ! ickyred = #ffb1b1;
    padding: 5px;
    border-color: #cccccc;
}

/* Green */

#pii_site_game th {
    background: #cef2e0;
    padding: 5px;
}

#pii_site_game td {
    background: #f5fffa;
    padding: 5px;
}

/* Blue */

#pii_site_merchandise th {
    background: #cedff2;
    padding: 5px;
}

#pii_site_merchandise td {
    background: #f5faff;
    padding: 5px;
}

/* Purple */

#pii_site_tv th {
    background: #ddcef2;
    padding: 5px;
}

#pii_site_tv td {
    background: #faf5ff;
    padding: 5px;
}

/* Fake (monobook) H2 to keep FAQ's TOC in order */

#pii_faq_h2 {
   font-size: 150%;
   color: black;
   background: none;
   font-weight: normal;
   margin: 0;
   padding-top: .5em;
   padding-bottom: .17em;
   border-bottom: 1px solid #aaa;
}