Difference between revisions of "MediaWiki:Common.css"

From Dark Prospects Rules
Jump to navigation Jump to search
m
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
 +
// RITUAL PAGES
 
.ritual pre {
 
.ritual pre {
 
         white-space: pre-wrap;
 
         white-space: pre-wrap;
Line 15: Line 16:
 
.ritual .description {
 
.ritual .description {
 
         border-top: 1px solid black;
 
         border-top: 1px solid black;
 +
}
 +
 +
// POWER AND SKILL TOOLTIPS
 +
.tipmaster {
 +
        text-decoration: underline;
 +
        color: #0033aa;
 +
}
 +
 +
.tipmaster span {
 +
        display: none;
 +
        position: absolute;
 +
        background: #cccccc;
 +
        color: #0033aa;
 +
        padding-left: 2em;
 +
        padding-right: 2em;
 +
        padding-bottom: 1em;
 +
        border: 1px solid black;
 +
        text-decoration: none;
 +
}
 +
 +
.tipmaster:hover span, .tip:focus span, .tip:active span {
 +
        display: block;
 +
}
 +
 +
.tip:hover span, .tip:focus span, .tip:active span {
 +
        display: block;
 
}
 
}

Revision as of 09:11, 2 June 2017

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

// RITUAL PAGES
.ritual pre {
        white-space: pre-wrap;
}

.card {
        white-space: pre-wrap;
}

table td {
        vertical-align: top;
}

.ritual .description {
        border-top: 1px solid black;
}

// POWER AND SKILL TOOLTIPS
.tipmaster {
        text-decoration: underline;
        color: #0033aa;
}

.tipmaster span {
        display: none;
        position: absolute;
        background: #cccccc;
        color: #0033aa;
        padding-left: 2em;
        padding-right: 2em;
        padding-bottom: 1em;
        border: 1px solid black;
        text-decoration: none;
}

.tipmaster:hover span, .tip:focus span, .tip:active span {
        display: block;
}

.tip:hover span, .tip:focus span, .tip:active span {
        display: block;
}