Difference between revisions of "MediaWiki:Common.css"

From Pokemon Dungeon Explorers
Jump to navigation Jump to search
(npc-speech)
(sigh)
Line 48: Line 48:
 
     margin-bottom: 1em;
 
     margin-bottom: 1em;
 
}
 
}
.npc-speaker {
+
.npc-speaker, /* need mediawiki upgrade :| */
 +
.npc-speech img {
 
     float: left;
 
     float: left;
 
     margin-right: 0.5em;
 
     margin-right: 0.5em;
 
     margin-bottom: 0.5em;
 
     margin-bottom: 0.5em;
 
}
 
}

Revision as of 23:46, 28 March 2013

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

/* Nice sections -- used on front page */

div.blocky {
    margin-bottom: 1em;
    padding: 1em;
    border: 1px solid hsl(200, 40%, 87%);
    background: hsl(200, 40%, 97%);
}
div.blocky h1 {
    font-size: 1.5em;
    padding: 0.33em;
    margin: -0.5em -0.5em 0.66em;
    background: hsl(200, 40%, 93%);
    color: #202020;
    text-shadow: 1px 1px 1px white;
}

/* Capsules -- the little inline labels used on the front page timeline */

.capsule {
    font-size: 0.8em;
    padding: 2px 3px;
    border-radius: 2px;
    color: white;
    background: #ddd;
    text-shadow: 1px 1px 0 #999;
    vertical-align: bottom;
}
.capsule.capsule-prompt {
    background: #d04d2b;
    text-shadow: 1px 1px 0 #a63922;
}
.capsule.capsule-plot {
    background: #b12bd0;
    text-shadow: 1px 1px 0 #9122a6;
}
.capsule.capsule-story {
    background: #2b87d0;
    text-shadow: 1px 1px 0 #226ca6;
}

/* NPC speech, mostly in mission reposts */

.npc-speech {
    overflow: hidden;  /* float containment */
    margin-bottom: 1em;
}
.npc-speaker, /* need mediawiki upgrade :| */
.npc-speech img {
    float: left;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
}