MediaWiki:Templates.css: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 596: Line 596:
}
}


/* Icons */
/* Season Pass */
.icon-base {
.icon-base {
     text-shadow: -1px -1px 0 #000, 0px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 0px 1px 0 #000, 1px 1px 0 #000,
     text-shadow: -1px -1px 0 #000, 0px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 0px 1px 0 #000, 1px 1px 0 #000,
Line 602: Line 602:
         -1px -1px 0 #000, 0px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 0px 1px 0 #000, 1px 1px 0 #000,
         -1px -1px 0 #000, 0px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 0px 1px 0 #000, 1px 1px 0 #000,
         -1px -1px 0 #000, 0px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 0px 1px 0 #000, 1px 1px 0 #000;
         -1px -1px 0 #000, 0px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 0px 1px 0 #000, 1px 1px 0 #000;
}
.season-pass-reward td {
    border-color: var(--border-color)!important;
}
}

Revision as of 15:40, 24 September 2022

/* Char stats */
.char-stats {
    display: inline-grid;
    grid-template-columns: repeat(3, 105px);
    grid-template-rows: repeat(3, 30px);
    gap: 5px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.char-stats-cat,
.char-stats-attack-caption,
.char-stats-attack {
    background-color: var(--theme-tone-5);
    color: var(--text-color);
    font-weight: 500;
    display: flex;
    place-items: center;
    place-content: center;
    transform: skew(-7deg);
    border-bottom: 2px solid var(--border-color);
}

.char-stats-cat {
    place-content: start;
    padding-left: 8px;
}

.char-stats-cat span,
.char-stats-attack-caption span,
.char-stats-attack img {
    transform: skew(7deg);
}

.char-stats-active {
    background-image: url("https://elwiki.net/wiki/images/f/f5/UI_-_Stats_Active.png");
    background-repeat: no-repeat;
    display: flex;
    place-items: center;
    place-content: center;
    color: white;
    font-weight: 500;
}

.char-stats-attack {
    display: flex;
    place-items: center;
    place-content: center;
    grid-row: span 2;
    /*     background-color: var(--theme-tone-5); */
}

.char-stats-attack img {
    width: 57px;
    height: auto;
}

/* SkillNav */
.skillnav .separate a:not(.image),
.forcenav a:not(.image) {
    margin-right: 13px;
    font-weight: 500;
}

.skillnav .separate a:not(.image):last-child,
.forcenav a:not(.image):last-child {
    margin-right: 0;
}

.forcenav .forcedot::before {
    content: "▪";
    margin-right: 13px;
}

.forcenav table.section .section .section th {
    border-left: 1px solid var(--border-color) !important;
    border-right: 1px solid var(--border-color) !important;
    background: var(--theme-tone-4) !important;
}

table.section > tbody > tr:first-child > th.skillnav-section {
    background-color: var(--theme-tone-3) !important;
    text-shadow: none;
    border-top: 1px solid var(--border-color) !important;
    border-bottom: 1px solid var(--border-color) !important;
    color: var(--text-color);
}

/* Force tabs */
.force-tabs .parent-tab {
    border: 1px solid rgb(71, 71, 71);
}

.force-tabs .parent-tab a:not(.mw-selflink) {
    color: black !important;
    text-decoration: none !important;
}

.parent-tab a {
    height: 100%;
    display: block;
    padding: 0 0.5em;
}

.force-tabs .parent-alt-tab {
    transition: 0.3s;
}

.force-tabs .parent-tab.parent-alt-tab a {
    color: white !important;
    text-shadow: 1px 1px 1px #000;
}

.force-tabs .parent-alt-tab:hover {
    transform: translateY(-5px);
}

.parent-tabs .mw-selflink {
    font-weight: 500 !important;
}

/* Warning */
div.mw-warning-with-logexcerpt {
    padding: 15px;
    border-radius: 6px;
    border: none;
    background: var(--theme-tone-5);
    margin-bottom: 1em;
    border: 1px solid var(--border-color);
}

.mw-warning-with-logexcerpt p:first-of-type {
    margin-top: 0;
}

.mw-warning-with-logexcerpt strong {
    font-weight: 500;
}

/* Region Map */
.region-map {
    position: relative;
    width: fit-content;
}

.region-map img[alt="About this image"] {
    position: absolute;
    display: none;
    bottom: 0;
    right: 0;
}

.region-map img[alt="About this image"]:hover,
.region-map .region-link img:hover {
    filter: brightness(1.1);
}

.dungeon-map map + div {
    border-radius: 0 4px 4px 4px;
}

.dark-mode .dungeon-map .extra-title {
    color: var(--accent-color);
}

/* Boss timer */
.boss-timer {
    display: flex;
}

.boss-timer-image img {
    display: none;
}

.boss-timer-image a {
    display: inline-block;
    width: 105px;
    height: 105px;
}

.boss-timer-caption,
.server-time-caption {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.75px;
    display: flex;
    flex-direction: column;
    place-content: center;
    color: var(--text-color);
}

.boss-timer-countdown,
.server-time {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
}

.boss-timer-text {
    margin-bottom: 2px;
}

.server-time-wrap {
    display: grid;
    grid-template-columns: auto auto;
    gap: 1rem;
    margin-right: auto;
}

.server-time-image-wrap {
    display: flex;
    place-content: center;
    place-items: center;
}

.tabber-border.fancy .tabber-tab {
    z-index: 2;
}

.server-time-caption {
    margin-bottom: -2px;
    color: var(--text-color);
}

.server-time-reset {
    text-transform: lowercase;
    font-size: 12px;
    letter-spacing: 0.75px;
}

.henir-grid {
    display: flex;
    place-items: center;
    place-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.henir-grid a:not(.tippy-content a),
.henir-grid a:hover:not(.tippy-content a) {
    display: block;
    color: var(--text-color);
}

.henir-grid .tippy-content {
    min-width: 150px;
}

.boss-sprite-1 {
    background-image: url("/wiki/images/e/e2/Sprite_-_Boss_Icon_1.png");
}

.boss-sprite-2 {
    background-image: url("/wiki/images/f/ff/Sprite_-_Boss_Icon_2.png");
}

.boss-sprite-3 {
    background-image: url("/wiki/images/1/1c/Sprite_-_Boss_Icon_3.png");
}

.boss-image {
    display: inline-block;
    background-repeat: no-repeat;
    order: 2;
    backface-visibility: hidden;
    transition: transform 0.2s;
}

.henir-caption {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.75px;
    text-align: center;
    color: var(--text-color);
}

.timers-wrap {
    display: grid;
    place-items: start;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    justify-content: start;
    align-items: center;
}

.boss-timer-section .timers-wrap {
    border-right: 1px solid var(--border-color);
}

.boss-timer-section .tabber-content {
    display: grid;
}

.henir-stage {
    display: flex;
    place-items: flex-end;
    cursor: pointer;
    position: relative;
}

.henir-stage .inner {
    overflow: hidden;
    display: flex;
}

.henir-stage .text {
    display: flex;
    gap: 3px;
    padding: 0 7px;
    font-size: 11px;
    border-radius: 4px;
    letter-spacing: 0.75px;
    font-weight: 700;
    border-top-right-radius: 0;
}

.henir-stage .text a {
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none !important;
}

.henir-stage:hover .boss-image {
    transform: translateZ(0) scale(1.2);
}

.henir-section .tabber-content {
    display: flex;
    flex-direction: column;
    place-content: center;
    place-items: center;
    gap: 13px;
}

span.boss {
    position: absolute;
    right: -5px;
    bottom: -5px;
}

span.boss img {
    height: auto;
    width: 20px;
}

span.boss a:not(.tippy-content a) {
    pointer-events: none;
}

.boss .tippy-content {
    cursor: initial;
}

.boss .tippy-btn {
    border-bottom: none;
}

.current-info .tabber-tab {
    margin-top: 0;
}

.current-info .fancy .tabber-tab.active,
.current-info .fancy .tabber-tab:hover {
    background-image: linear-gradient(to left bottom, #00a5ea 0, transparent 70%),
        linear-gradient(to left top, #20b7e5 43px, #00f6ff 44px) !important;
}

.henir-outer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    place-content: center;
}

/* Char tree - required here */
.char-banner-tree-image::before {
    background-image: url(https://elwiki.net/wiki/images/0/0b/Arrowright.png);
}

.tabber-list-toggle img:hover {
    filter: brightness(1.1);
}

/* Related skills */

.related-skills td:not(.no-div td) {
    padding: 0;
}

.related-skills.skill-table .skill-wrap-text {
    text-align: center;
}

.skill-table {
    height: fit-content;
}

.skill-table .skill-wrap {
    position: relative;
}

.skill-table .skill-wrap > a {
    position: absolute;
    width: 100%;
    display: block;
    height: 100%;
    color: transparent;
    -webkit-user-select: none;
    user-select: none;
    -moz-user-select: none;
    opacity: 0;
}

.related-skills.secret-art .skill-wrap {
    min-height: 108px;
}

.related-skills .skill-wrap-text {
    padding: 0 0.5rem;
    text-align: center;
}

.related-skills .skill-wrap-text > a:not(.image),
.related-skills td[width="150"] > a:not(.image) {
    font-weight: 500;
    color: var(--text-color);
    place-content: center;
    place-items: center;
    transition: 0.3s;
    width: auto;
    display: inline;
    word-break: break-word;
}

.related-skills .skill-wrap:hover .skill-wrap-text > a:not(.image) {
    color: var(--text-color);
}

.skill-wrap:not(.no-div .skill-wrap):hover {
    background-color: var(--theme-tone-7);
}

.related-skills .skill-wrap {
    transition: 0.3s;
    cursor: pointer;
    min-height: 54px;
    place-content: center;
    place-items: center;
    display: flex;
    width: 150px;
    padding: 0.15rem;
    box-sizing: border-box;
}

.related-skills .tooltip {
    margin: 0 0.15rem;
    font-weight: 500;
}

.related-skills .tooltip a:not(.tooltiptext a) {
    color: var(--text-color) !important;
}

.related-skills {
    width: fit-content;
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-right: none;
}

[data-type="table-row"] {
    display: flex;
    margin: 1px -1px -1px 0;
}

[data-type="table-row"]:first-child {
    margin-top: 0;
}

.related-skills .skill-wrap {
    height: 100%;
}

[data-type="table-cell"] {
    display: flex;
    place-content: center;
    align-items: center;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    width: fit-content;
}

.skill-columns {
    display: grid;
    grid-template-columns: repeat(2, auto);
}

.related-skills [data-type="table-cell"]:not([width], .related-title, .skill-table div) {
    max-width: 108px;
    flex-wrap: wrap;
}

.related-skills [data-type="table-cell"]:active .skill-wrap,
.related-skills [data-type="table-cell"]:focus .skill-wrap {
    background-color: var(--theme-tone-8);
}

.related-skills a:focus,
.related-skills a:active {
    text-decoration: none;
}

[data-type="table-head"] {
    display: flex;
    place-content: center;
    gap: 3px;
    place-items: center;
    padding: 3px;
    margin: 0 auto;
    max-width: fit-content;
    text-align: center;
}

[data-type="table-head"] img {
    display: block;
}

.related-skills:not(.no-div) {
    opacity: 0;
    pointer-events: none;
}

.shown {
    opacity: 1 !important;
    pointer-events: all !important;
}

.related-skills.no-div td[width="150"]:hover {
    background-color: var(--theme-tone-7);
    cursor: pointer;
}

.related-skills.no-div td[width="150"] {
    transition: 0.3s;
}

.related-skills.no-div td[width="150"] a {
    color: var(--text-color) !important;
}

[data-type="table-head"] {
    background-image: none !important;
}

[data-type="table-row"].table-head {
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, max-content));
    gap: 1em;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(325px, max-content));
}

.category-grid #toc {
    display: none;
}

.master-skill-grid .skill-wrap a {
    padding: 0 !important;
}

.related-title {
    padding: 2px;
    font-weight: 500;
    place-content: center;
    background-color: var(--theme-tone-4);
    text-shadow: none !important;
    color: var(--text-color) !important;
}

.related-skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    place-content: space-between;
    padding: 0 0 1.5rem 0;
}

/* Season Pass */
.icon-base {
    text-shadow: -1px -1px 0 #000, 0px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 0px 1px 0 #000, 1px 1px 0 #000,
        -1px -1px 0 #000, 0px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 0px 1px 0 #000, 1px 1px 0 #000,
        -1px -1px 0 #000, 0px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 0px 1px 0 #000, 1px 1px 0 #000,
        -1px -1px 0 #000, 0px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 0px 1px 0 #000, 1px 1px 0 #000;
}

.season-pass-reward td {
    border-color: var(--border-color)!important;
}