Difference between revisions of "MediaWiki:Common.css"

From Dark Prospects Rules
Jump to navigation Jump to search
m
 
(15 intermediate revisions by the same user not shown)
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 PAGES */
.ritual .description pre {
+
 
        white-space: pre-wrap;
+
.ritual .description { border-top: 1px solid black; }
}
+
 
 +
.ritual .description pre { white-space: pre-wrap; }
  
.card {
+
.card { white-space: pre-wrap; }
        white-space: pre-wrap;
 
}
 
  
table td {
+
table td { vertical-align: top; }
        vertical-align: top;
 
}
 
  
.ritual .description {
+
/* POWER AND SKILL TOOLTIPS */
        border-top: 1px solid black;
 
}
 
  
// POWER AND SKILL TOOLTIPS
 
 
.tipmaster {
 
.tipmaster {
 
         text-decoration: underline;
 
         text-decoration: underline;
 
         color: #0033aa;
 
         color: #0033aa;
 +
}
 +
 +
.modifier {
 +
        text-decoration: underline;
 +
        color: #339900;
 
}
 
}
  
Line 34: Line 33:
 
         border: 1px solid black;
 
         border: 1px solid black;
 
         text-decoration: none;
 
         text-decoration: none;
 +
}
 +
 +
.modifier span {
 +
        color: #339900;
 
}
 
}
  
Line 52: Line 55:
 
         background: white;
 
         background: white;
 
         text-align: center;
 
         text-align: center;
 +
}
 +
 +
#sidetoc {
 +
        font-size: 0.75em;
 +
}
 +
 +
#sidetoc a {
 +
        font-weight: normal;
 
}
 
}

Latest revision as of 22:04, 20 August 2018

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

/* RITUAL PAGES */

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

.ritual .description pre { white-space: pre-wrap; }

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

table td { vertical-align: top; }

/* POWER AND SKILL TOOLTIPS */

.tipmaster {
        text-decoration: underline;
        color: #0033aa;
}

.modifier {
        text-decoration: underline;
        color: #339900;
}

.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;
}

.modifier span {
        color: #339900;
}

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

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

#totop {
        position: fixed;
        width: 100%;
        height: 1.5em;
        top: 100vh;
        margin-top: -1.5em;
        background: white;
        text-align: center;
}

#sidetoc {
        font-size: 0.75em;
}

#sidetoc a {
        font-weight: normal;
}