Module:Sandbox/Aurelain/Spells/styles.css: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
 
(47 intermediate revisions by the same user not shown)
Line 1: Line 1:
table {
/* ===================================================== */
     white-space: nowrap;
/*     G E N E R A L
}
/* ===================================================== */
 
tr:hover {
    background: #13161a;
}
 
.wiki-hint {
.wiki-hint {
     border-bottom: none !important; /* hide the underline applied by the Hint template */
     border-bottom: none !important; /* hide the underline applied by the Hint template */
Line 17: Line 12:
td {
td {
     color: #cbced1;
     color: #cbced1;
    text-align: center;
}
/* ===================================================== */
/*    C O L U M N S
/* ===================================================== */
.spell td:nth-child(1) { /* Name */
    min-width: 154px;
    max-width: 154px;
}
}


td:nth-child(2), td:nth-child(4) {
.medallion {
     white-space: normal;
    position: relative;
    margin-top: 12px;
     margin-bottom: 12px;
}
}


td:nth-child(2) {
.ring {
     text-align: center;
    position: absolute;
    z-index: 1;
    margin-left: -3px;
    margin-top: -10px;
}
 
td:nth-child(2) { /* School */
     width: 100px;
}
}


/* Tier */
/* Tier */
td:nth-child(3) {
td:nth-child(3) {
     text-align: center;
 
}
 
/* Description */
td:nth-child(4) {
     text-align: left;
    min-width: 320px;
    padding-bottom: 32px;
}
}


Line 35: Line 55:
td:nth-child(5) {
td:nth-child(5) {
     text-align: right;
     text-align: right;
    white-space: nowrap;
}
}


/* Global Map */
/* Global Map */
td:nth-child(6) {
td:nth-child(6) {
    text-align: center;
 
}
}


/* Special */
/* Special */
td:nth-child(7) {
td:nth-child(7) {
    text-align: center;
 
}
}


/* ---- SEPARATORS ---- */
/* ===================================================== */
 
/*    S E P A R A T O R S
/* ===================================================== */
.separator:first-child, .separator:last-child, .separator + .separator {
.separator:first-child, .separator:last-child, .separator + .separator {
     display: none;
     display: none;
Line 68: Line 90:
}
}


/* ---- LEVELS ---- */
/* ===================================================== */
/*    L E V E L S
/* ===================================================== */
.level {
.level {
     margin-left: 2em;
     margin-left: 2em;
Line 74: Line 98:
     color: #cbced1;
     color: #cbced1;
}
}
.level b {
.level b {
     color: #c8b36c;
     color: #c8b36c;
}
}
.masterful {
 
.masterful, .masterful b {
     margin-bottom: 0;
     margin-bottom: 0;
}
.masterful b {
     color: peru;
     color: peru;
}
/* ---- SCHOOLS ---- */
.day {
    background: linear-gradient(rgba(98,65,15,0.2), rgba(98,65,15,0.1));
}
.day:hover {
    background: rgba(98,65,15,0.2);
}
.night {
    background: rgba(70,27,91,0.1)
}
.night:hover {
    background: rgba(70,27,91,0.2)
}
}

Latest revision as of 20:57, 31 May 2026

/* ===================================================== */
/*     G E N E R A L
/* ===================================================== */
.wiki-hint {
    border-bottom: none !important; /* hide the underline applied by the Hint template */
}

th .wiki-hint {
    cursor: pointer;
}

td {
    color: #cbced1;
    text-align: center;
}

/* ===================================================== */
/*     C O L U M N S
/* ===================================================== */
.spell td:nth-child(1) { /* Name */
    min-width: 154px;
    max-width: 154px;
}

.medallion {
    position: relative;
    margin-top: 12px;
    margin-bottom: 12px;
}

.ring {
    position: absolute;
    z-index: 1;
    margin-left: -3px;
    margin-top: -10px;
}

td:nth-child(2) { /* School */
    width: 100px;
}

/* Tier */
td:nth-child(3) {

}

/* Description */
td:nth-child(4) {
    text-align: left;
    min-width: 320px;
    padding-bottom: 32px;
}

/* Mana cost */
td:nth-child(5) {
    text-align: right;
    white-space: nowrap;
}

/* Global Map */
td:nth-child(6) {

}

/* Special */
td:nth-child(7) {

}

/* ===================================================== */
/*     S E P A R A T O R S
/* ===================================================== */
.separator:first-child, .separator:last-child, .separator + .separator {
    display: none;
}

.separator-tiny {
    height: 4px;
    background: #c8b36c !important;
}

.separator-tiny td {
    padding: 0;
}

.separator-large {
    background-color: #101622 !important;
    text-align: center;
    font-size: 24px;
}

/* ===================================================== */
/*     L E V E L S
/* ===================================================== */
.level {
    margin-left: 2em;
    margin-bottom: 0;
    color: #cbced1;
}

.level b {
    color: #c8b36c;
}

.masterful, .masterful b {
    margin-bottom: 0;
    color: peru;
}