MediaWiki:Mobile.css: Difference between revisions
From Elwiki
No edit summary |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
@import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:ColorSel.css"); | @import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:ColorSel.css"); | ||
@font-face { | @font-face { |
Revision as of 07:11, 15 August 2023
@import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:ColorSel.css");
@font-face {
font-family: "Heading";
font-style: normal;
font-weight: normal;
src: url("/fonts/MYRIADPRO-BOLDCOND.woff") format("woff");
}
/* Color scheme */
:root {
--accent-color: #00adda;
--accent-color-tone-0: #15b9e3;
--accent-color-tone-2: #048eb1;
--accent-color-tone-3: #047491;
--border-color: #d3dcdd;
--border-color-tone-2: #bbbbbb;
--theme-tone-1: #fff;
--theme-tone-2: #f4f5f6;
--theme-tone-3: #eef2f3;
--theme-tone-4: #f1f5f5;
--theme-tone-5: #f4f5f7;
--theme-tone-6: #f9fafb;
--theme-tone-7: #eaecf0;
--theme-tone-8: #dce0e6;
--theme-tone-9: #b2b6bd;
--text-color: black;
--text-color-invert: white;
--inactive-color: #555a60;
--arrow: url('data:image/svg+xml,<%3Fxml%20version%3D"1.0"%20encoding%3D"UTF-8"%20standalone%3D"no"%3F>%0A<svg%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20viewBox%3D"0%20-407%2024%2024">%0A%20%20%20%20<g%20id%3D"g4">%0A%20%20%20%20%20%20%20%20<path%20d%3D"M21.348-401.268q.94%200%201.61.668l.92.922-11.858%2011.86L.198-399.66l.922-.94q.65-.686%201.59-.686.94%200%201.61.668l7.718%207.7%207.7-7.682q.67-.668%201.61-.668z"%20id%3D"path6"%20fill%3D"currentColor"%2F>%0A%20%20%20%20<%2Fg>%0A<%2Fsvg>%0A');
}
/* Fonts */
@font-face {
font-family: "Heading";
font-style: normal;
font-weight: normal;
src: url("/fonts/MYRIADPRO-BOLDCOND.woff") format("woff");
}
@font-face {
font-family: SegoeUI;
src: local("Segoe UI Light"), url(https://elwiki.net/fonts/Segoe_UI/Light/latest.ttf) format("truetype");
font-weight: 200;
}
@font-face {
font-family: SegoeUI;
src: local("Segoe UI Semilight"), url(https://elwiki.net/fonts/Segoe_UI/Semilight/latest.ttf) format("truetype");
font-weight: 300;
}
@font-face {
font-family: SegoeUI;
src: local("Segoe UI"), url(https://elwiki.net/fonts/Segoe_UI/Regular/latest.ttf) format("truetype");
font-weight: 400;
}
@font-face {
font-family: SegoeUI;
src: local("Segoe UI Semibold"), url(https://elwiki.net/fonts/Segoe_UI/Semibold/latest.ttf) format("truetype");
font-weight: 500;
}
@font-face {
font-family: SegoeUI;
src: local("Segoe UI Bold"), url(https://elwiki.net/fonts/Segoe_UI/Bold/latest.ttf) format("truetype");
font-weight: 600;
}
html *:not(.wikiEditor-ui *, .mw-editfont-monospace, .mw-highlight *, .char-banner-title),
#p-logo-text a {
font-family: "SegoeUI", "Frutiger", "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", "Arial", sans-serif;
}
/* Generic */
.content ul {
list-style-type: disc;
padding-left: 1.75em;
}
b,
th {
font-weight: 500!important;
}
.content .mw-parser-output > h1 .mw-headline {
display: block;
}
.content .mw-parser-output > h1 {
width: 100%;
}
.border-color {
border-color: var(--border-color) !important;
}
.outline-color {
outline-color: var(--border-color) !important;
}
.border-color-tone-2 {
border-color: var(--border-color-tone-2) !important;
}
.tone-1 {
background-color: var(--theme-tone-1) !important;
}
.tone-2 {
background-color: var(--theme-tone-2) !important;
}
.tone-3 {
background-color: var(--theme-tone-3) !important;
}
.tone-4 {
background-color: var(--theme-tone-4) !important;
}
.tone-5 {
background-color: var(--theme-tone-5) !important;
}
.tone-6 {
background-color: var(--theme-tone-6) !important;
}
.tone-7 {
background-color: var(--theme-tone-7) !important;
}
.tone-7-hover:hover {
background-color: var(--theme-tone-7) !important;
}
.tone-8 {
background-color: var(--theme-tone-8) !important;
}
.tone-8-active:active {
background-color: var(--theme-tone-8) !important;
}
.color-normal {
color: var(--text-color);
}
.color-normal-force-link a {
color: var(--text-color) !important;
}
.accent-color {
background-color: var(--accent-color) !important;
}
.accent-textcolor {
color: var(--accent-color) !important;
}
.accent-color-hover:hover {
background-color: var(--accent-color) !important;
}
/****************************** Checkbox, Radio & Button Styles ******************************/
input,
button {
position: relative;
}
/****************************** Namebox Styles ******************************/
table.nmbox {
border-collapse: collapse;
width: 100%;
clear: both;
font-size: 85%;
border: 2px solid #bfdbe3;
margin: 20px 0;
}
table.nmbox > tbody > tr > th {
background-color: #ebf4f7;
}
table.nmbox > tbody > tr > td {
background-color: #f7fdff;
}
table.nmbox > tbody > tr > th,
table.nmbox > tbody > tr > td {
padding: 0.4em 0.8em;
}
#p-googleadsense .pBody {
padding-top: 5px;
text-align: center;
}
div.section-wrapper {
padding: 0.5em;
border-radius: 5px;
border-width: 2px;
border-style: solid;
clear: both;
}
table.top-nav {
border-spacing: 0;
width: auto;
margin: 1em;
text-align: center;
vertical-align: middle;
}
table.section,
table.section-side-column {
position: relative;
width: 100%;
margin: 0;
border-width: 1px;
border-style: solid;
border-spacing: 0;
}
table.section:not(.infobox) + table.section:not(.infobox),
table.section:not(.infobox) + table.section-side-column,
table.section-side-column + table.section:not(.infobox) {
border-top: none;
}
table.section > tbody > tr:first-child {
text-align: center;
background-color: var(--border-color);
}
table.section > tbody > tr:first-child > th {
line-height: 1em;
padding: 0.5em 0;
text-align: center;
vertical-align: middle;
border-width: 1px;
border-style: solid;
border-top: none !important;
}
table.section > tbody > tr:last-child > td {
vertical-align: top;
padding: 0.5em;
border: none;
border-bottom: none !important;
}
table.section > tbody > tr:first-child > th:first-child,
table.section > tbody > tr:last-child > td:first-child {
border-left: none !important;
}
table.section > tbody > tr:first-child > th:last-child,
table.section > tbody > tr:last-child > td:last-child {
border-right: none !important;
}
table.section > tbody > tr:first-child > th ~ th,
table.section > tbody > tr:last-child > td ~ td {
border-left: none !important;
}
table.section-side-column {
text-align: center;
}
table.section-side-column > tbody > tr > td:first-child {
width: 50%;
height: 400px;
padding: 10px;
}
table.section-side-column > tbody > tr > td:last-child {
border-left: 1px solid #000;
height: 420px;
padding: 0;
}
table.section-side-column > tbody > tr > td:last-child > table.section > tbody > tr:last-child > td {
vertical-align: middle;
}
table.section-side-column > tbody > tr > td:last-child > table.section {
text-align: center;
border: none;
}
table.section-side-column > tbody > tr > td:last-child > table.section + table.section {
border-top-width: 1px;
border-top-style: solid;
}
table.section-border,
table.section-border.section > tbody > tr > th,
table.section-border.section > tbody > tr > td,
.section-border.tabdiv > ul,
.section-border:not(table) {
border-color: var(--border-color);
border-width: 2px !important;
}
.section-border-top-radius {
-webkit-border-top-left-radius: 5px;
border-top-left-radius: 5px;
-moz-border-radius-topleft: 5px;
-webkit-border-top-right-radius: 5px;
border-top-right-radius: 5px;
-moz-border-radius-topright: 5px;
}
.section-border-bottom-radius {
-webkit-border-bottom-left-radius: 5px;
border-bottom-left-radius: 5px;
-moz-border-radius-bottomleft: 5px;
-webkit-border-bottom-right-radius: 5px;
border-bottom-right-radius: 5px;
-moz-border-radius-bottomright: 5px;
}
.textfloat {
color: #fff;
text-shadow: 1px 1px 1px #000;
}
.textfloat a,
.textfloat a:link,
.textfloat a:visited,
.textfloat a:hover,
.textfloat a:active {
color: inherit;
}
th {
background-color: inherit;
}
/**
Bilibili Sidebar Style
**/
.portal h3 {
background-image: none !important;
padding: 0 0 3px 0 !important;
}
.portal h3,
.portal h3:hover,
.portal h3:active,
.portal h3:link,
.portal h3:visited {
font-weight: bolder !important;
text-decoration: none !important;
}
.portal li > ul {
position: absolute;
visibility: hidden;
left: 100%;
background-color: #fff;
margin-top: -1em !important;
margin-left: -10px !important;
min-width: 180px;
max-width: 230px;
opacity: 0;
-webkit-box-shadow: 10px 10px 10px #ccf;
-moz-box-shadow: 10px 10px 10px #ccf;
box-shadow: 10px 10px 10px #ccf;
}
.portal li:hover > ul {
opacity: 1;
visibility: visible;
}
.portal ul,
.portal li,
.portal a,
.portal strong.selflink {
display: block;
}
.portal a,
.portal strong.selflink {
max-width: 96%;
}
.portal li {
position: relative;
font-weight: bold;
font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif;
text-decoration: none;
padding: 0;
margin: 0;
}
.portal li:hover {
-webkit-transform: translateX(10px);
-moz-transform: translateX(10px);
-ms-transform: translateX(10px);
-o-transform: translateX(10px);
transform: translateX(10px);
}
.portal a,
.portal a:link,
.portal a:visited,
.portal a:hover,
.portal a:active,
.portal strong.selflink {
text-decoration: none;
color: #000 !important;
}
.portal a:before,
.portal a:after,
.portal strong.selflink:before,
.portal strong.selflink:after {
color: #07a3d7;
margin: auto 3px;
}
.portal a:before,
.portal strong.selflink:before {
content: ">";
}
.portal a:after,
.portal strong.selflink:after {
content: "<";
visibility: hidden;
-webkit-transform: translateX(15px);
-moz-transform: translateX(15px);
-ms-transform: translateX(15px);
-o-transform: translateX(15px);
transform: translateX(15px);
}
.portal a:hover:after,
.portal strong.selflink:hover:after {
visibility: visible;
-webkit-transform: translateX(0px);
-moz-transform: translateX(0px);
-ms-transform: translateX(0px);
-o-transform: translateX(0px);
transform: translateX(0px);
}
.portal strong.selflink {
color: #07a3d7 !important;
border-bottom: 2px #07a3d7 solid;
}
.portal a:after,
.portal strong.selflink:after,
.portal li {
-webkit-transition: transform 0.3s;
-moz-transition: transform 0.3s;
-o-transition: transform 0.3s;
transition: transform 0.3s;
}
.portal li > ul {
-webkit-transition: opacity 0.3s;
-moz-transition: opacity 0.3s;
-o-transition: opacity 0.3s;
transition: opacity 0.3s;
}
/** floating header **/
.persistHeader {
position: fixed;
top: 0;
display: block;
width: 100%;
z-index: 3000;
background-color: red;
}
.persistHeader.visible {
visibility: visible;
}
code {
display: inline-block;
font-weight: bold;
font-family: "Consolas", "Menlo", "Deja Vu Sans Mono", "Bitstream Vera Sans Mono", monospace;
background-color: #eee;
color: #4e9a06;
padding: 2px 0.4em;
border-radius: 3px;
}
.rainbow-text {
background-image: -webkit-gradient(
linear,
left top,
right top,
color-stop(0, #f22),
color-stop(0.15, #f2f),
color-stop(0.3, #22f),
color-stop(0.45, #2ff),
color-stop(0.6, #2f2),
color-stop(0.75, #2f2),
color-stop(0.9, #ff2),
color-stop(1, #f22)
);
background-image: gradient(
linear,
left top,
right top,
color-stop(0, #f22),
color-stop(0.15, #f2f),
color-stop(0.3, #22f),
color-stop(0.45, #2ff),
color-stop(0.6, #2f2),
color-stop(0.75, #2f2),
color-stop(0.9, #ff2),
color-stop(1, #f22)
);
color: transparent;
-webkit-background-clip: text;
background-clip: text;
}
.rainbow {
background-color: orange;
}
* {
text-rendering: optimizeSpeed;
}
.mw-body .external {
padding-right: 0;
background-image: none;
}
.shady,
.shady a {
background-color: black !important;
color: transparent !important;
}
.shady:hover,
.shady:hover a,
.shady a:hover {
background-color: black !important;
color: white !important;
}
/* Hoverimage */
.hoverimage img {
opacity: 0;
filter: alpha(opacity=0);
}
.hoverimage img:hover {
opacity: 1;
filter: alpha(opacity=100);
}
.hoverimages img {
opacity: 0.85;
filter: alpha(opacity=0);
}
.hoverimages img:hover {
opacity: 1;
filter: alpha(opacity=100);
}
/* Installing Hover Logo */
#WikiHeader h1.wordmark img {
opacity: 0.85;
filter: alpha(opacity=85);
/* For IE8 and earlier */
}
#WikiHeader h1.wordmark img:hover {
opacity: 1;
filter: alpha(opacity=100);
/* For IE8 and earlier */
}
/* ImageHover */
.fadeout img:hover {
opacity: 0;
}
.fadeout img:active {
opacity: 0;
}
body:not(.editor) .fadeout-container.fadeout-hide-bottom > :nth-child(2) {
visibility: hidden;
/* the 'body:not(.editor)' is used to prevent hiding the image in editing mode where it is not displayed properly */
}
/* Tooltip */
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted black;
}
.tooltiptext {
visibility: hidden;
min-width: 400px;
padding: 12px 14px;
text-align: center;
position: absolute;
left: 50%;
bottom: calc(20px + 100%);
z-index: 100004;
background: #fff;
box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.15);
border: 1px solid #a2a9b1;
border-radius: 2px;
font-weight: normal;
}
.tooltiptext:after,
.tooltiptext:before {
content: "";
position: absolute;
left: 50%;
border-style: solid;
}
.tooltiptext:after {
top: 100%;
bottom: auto;
width: 20px;
height: 20px;
background: #fff;
margin-top: -10px;
margin-left: -10px;
box-shadow: 1px 1px 0px #a2a9b1;
transform: rotate(45deg);
border-width: 0;
}
.tooltiptext:before {
top: 100%;
bottom: auto;
border-width: 18px;
margin-left: -18px;
border-color: rgba(0, 0, 0, 0.15) transparent transparent transparent;
pointer-events: none;
}
.tooltip .tooltip .tooltiptext {
bottom: auto;
top: calc(20px + 100%);
}
.tooltip .tooltip .tooltiptext:after {
top: auto;
bottom: 100%;
border-width: 15px;
margin-left: -15px;
border-color: transparent transparent white transparent;
width: 0;
height: 0;
box-shadow: none;
background: none;
transform: none;
}
.tooltip .tooltip .tooltiptext:before {
top: auto;
bottom: 100%;
border-width: 16px;
margin-left: -16px;
border-color: transparent transparent #888 transparent;
}
.tooltiptext hr {
margin: 10px 0 12px;
position: relative;
background: none;
}
.tooltiptext hr:after {
content: "";
display: block;
width: 100%;
height: 1px !important;
position: absolute;
left: -14px;
background: #a2a9b1;
padding: 0 14px;
}
.tooltip:hover > .tooltiptext {
visibility: visible;
}
.tooltiptext {
opacity: 0;
transition: opacity 200ms ease, visibility 0s ease 200ms, transform 200ms ease;
transform: translate(-50%, 8px);
}
.tooltip .tooltip .tooltiptext {
transform: translate(-50%, -8px);
}
.tooltip:hover > .tooltiptext {
opacity: 1;
transition-delay: 0s;
transform: translate(-50%, 0);
}
.tooltiptext a {
color: #0645ad;
border-bottom: 0;
}
.tooltiptext a:visited {
color: #0b0080;
}
.tooltiptext a:active {
color: #faa700;
}
.tooltiptext a:hover,
a:focus {
text-decoration: underline;
}
.tooltiptext {
color: #252525;
}
.tooltiptext a.new {
color: #ba0000;
}
/* Remove .mw-body-content stacking context so the tooltip can
overlap with elements outside content area and be shown properly */
.mw-body-content {
z-index: auto;
}
/* Try to fix images in tables */
td {
min-width: 54px;
}
/* Fix lock cover in skill tree */
table .fadeout-container .fadeout img {
position: relative;
z-index: 1;
}
table .fadeout-container {
position: relative !important;
}
/* Hide an extra tab */
.tabs-tabbox .tabs-tabbox h5.tabs-header:nth-of-type(2) {
display: none;
}
/* Style mobile tabs */
.tabs-tabbox [type="radio"],
.tabs-content {
display: none;
}
.tabs.tabs-tabbox .tabs-container .tabs-header {
margin: 0.3em 0 0 0 !important;
padding: 20px 13px !important;
font-size: 1.1em !important;
transition: background-color 0.3s, color 0.3s;
background-color: #e7e7e7 !important;
}
.tabs.tabs-tabbox .tabs-container .tabs-header:after {
width: 2.5em !important;
background-position: 0 50% !important;
background-size: 40% auto !important;
}
/* Fix infobox */
.infobox {
overflow-x: hidden !important;
}
.infobox-wrap {
float: none;
overflow-x: hidden;
}
.infobox td {
min-width: 30px;
}
.tabber-tab-wrap {
margin-left: 0 !important;
}
/* New tabs */
.tabber-new {
display: flex;
flex-direction: column;
gap: 0.75em;
}
.tabber-tab-wrap {
border: solid 1px #d9d9d9;
padding-left: 0 !important;
display: flex;
flex-direction: column;
}
.tabber-new .tabber-tab {
cursor: pointer;
list-style-type: none;
margin: 0;
padding: 10px;
font-size: 1em;
font-weight: bold;
background-color: var(--theme-tone-5);
color: #222;
display: block;
position: relative;
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
}
.tabber-new .active .tabber-tab {
border-bottom: 1px solid var(--border-color);
}
.tabber-new .tabber-tab::after {
content: "";
height: 100%;
width: 65px;
position: absolute;
top: 0;
right: 0;
background-size: 25%;
background-position: 50%;
background-repeat: no-repeat;
background-image: var(--arrow);
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
transition: transform 0.3s;
}
/* .tabber-new .active > .tabber-tab::after {
transform: rotate(180deg);
}
.active > .tabber-content {
display: block!important;
}
.tabber-content:not(.active .tabber-content) {
display: none!important;
} */
.tabber-content {
padding: 0.75em;
}
.tabber-new > .tabber-ul {
display: flex;
margin-top: 0;
margin-left: 0 !important;
margin-right: 0;
}
/* Tooltip */
.tooltiptext {
min-width: 250px;
max-width: 80vw;
}
/* Template fix */
dfn {
display: none;
}
/* Bannerbox */
.bannerbox .container {
padding: 15px;
margin-bottom: 25px;
}
/* Pre */
pre {
margin: 1rem 0;
}
/* Youtube embed */
.embedvideo iframe {
max-width: 92vw;
}
/* SkillNav */
th.textfloat {
width: 110vw;
}
/* Alt langs empty paragraph */
.nmbox + p > br {
display: none;
}
/* Sections */
.section-tabber > tbody,
.section-tabber > tbody > tr > td,
.section-tabber > tbody > tr,
.section-tabber > tbody > tr > th {
display: block;
}
table.section > tbody > tr.textfloat {
background: var(--theme-tone-7);
color: black;
text-shadow: none !important;
}
.section .tabber-new {
width: auto;
min-width: 200px;
}
table.section {
margin: 1em 0;
}
.section-characters table th,
.section .tabber-new table .textfloat th:not(.section-fields > tbody > tr.textfloat > th),
.skillnav .textfloat {
color: white !important;
}
.section-fields > tbody > tr.textfloat > th {
color: black !important;
}
.section .wikitable > * > tr > th {
color: black;
text-shadow: none;
}
.section .wikitable > * > tr > th {
padding: 0.65rem;
text-align: center;
}
/* tabber section design */
/* copied from desktop */
.section-tabber .tabber-new ul:not(.tabber-ul) li {
display: block;
}
.section-tabber .tabber-new ul:not(.tabber-ul) li a {
color: black !important;
padding: 5px 10px;
background: #eee;
margin: 5px;
display: block;
font-weight: 500;
border-radius: 5px;
transition: background-color 0.3s;
}
.section-tabber .tabber-new ul:not(.tabber-ul) li a:hover {
background: #e3e3e3;
}
.section-tabber .tabber-new ul:not(.tabber-ul) li a {
text-decoration: none !important;
}
.section-tabber .tabber-new ul:not(.tabber-ul) {
margin: 0;
padding-left: 0;
}
.section-tabber .tabber-content {
padding: 0 5px 5px 5px !important;
}
/*--*/
.section td:not(.section-characters td) {
min-width: 150px;
}
/* Hide user notifications */
.minerva-user-notifications {
display: none;
}
.minerva-user-navigation {
min-width: 14em;
}
/* vertical grid table */
.vgrid-table {
flex-direction: column;
display: flex;
gap: 1px;
overflow: hidden;
}
table.section-border {
border-top: 2px solid var(--border-color) !important;
border-bottom: 2px solid var(--border-color) !important;
}
.vgrid-table > div {
padding: 3px;
box-shadow: 0 0 0 1px var(--border-color);
height: 100%;
}
/* ---title */
.vgrid-table > .vgrid-cat {
font-weight: 500;
width: 100%;
height: 100%;
display: flex;
place-content: center;
place-items: center;
text-align: center;
background-color: var(--theme-tone-5);
word-break: break-word;
}
/* ---content */
.vgrid-table > div:not(.vgrid-cat) {
display: flex;
place-items: center;
flex-direction: column;
}
.vgrid-table > div:not(.vgrid-cat) ul {
display: flex;
flex-wrap: wrap;
margin: 0;
list-style-type: none;
gap: 0.3em;
place-items: center;
padding: 0 0.9em;
padding-left: 0;
}
.vgrid-table > div:not(.vgrid-cat) ul li {
position: relative;
padding: 5px;
display: block;
margin-bottom: 0;
}
.vgrid-table > div:not(.vgrid-cat) ul li::after {
content: "▪";
position: absolute;
right: -0.37em;
top: 50%;
transform: translateY(-50%);
font-size: 0.8em;
}
.vgrid-table > div:not(.vgrid-cat) ul li:last-child::after {
content: unset;
}
.vgrid-table > div:not(.vgrid-cat) ul li a {
font-weight: 500;
color: black !important;
padding: 5px;
border-radius: 4px;
transition: background-color 0.3s, color 0.2s;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
text-decoration: none;
}
.vgrid-table > div:not(.vgrid-cat) ul li a:hover,
.vgrid-table > div:not(.vgrid-cat) ul li a.mw-selflink {
color: white !important;
background-color: var(--accent-color);
}
.vgrid-table > .vgrid-cat > span {
padding: 4px;
}
.vgrid-table > .vgrid-cat > span {
padding: 4px;
}
.vgrid-table .textfloat {
color: #fff !important;
text-shadow: 1px 1px 1px #000 !important;
}
.vgrid-table > div .vgrid-cat {
background: var(--theme-tone-5);
margin-top: -3px;
padding: 3px 6px;
font-weight: 500;
height: 100%;
width: 100%;
text-align: center;
border-bottom: 1px solid var(--border-color);
display: flex;
align-items: center;
justify-content: center;
}
table .vgrid-table {
margin-bottom: 7px;
}
/* section - character */
.mw-content-ltr .section-border.section-characters .mw-collapsible-toggle {
padding-top: 0;
}
.section-characters .textfloat a + a {
font-size: 1.3em;
margin-left: 7px;
}
.section-characters th {
padding: 10px !important;
border-radius: 3px;
}
.section-characters table table td {
font-size: 1.085em;
font-weight: 500;
}
/* collapsibles */
.mw-collapsible-button {
height: 2em;
background-image: var(--arrow);
background-repeat: no-repeat;
background-position: center;
background-size: 1.5em;
background-color: var(--theme-tone-7);
border-radius: 6px 6px 0 0;
padding: 0.25em;
cursor: pointer;
}
.section-characters table table {
overflow: hidden;
}
.section-border .mw-mobile-collapsed {
max-height: 40px;
overflow: hidden;
display: block;
}
.section-characters .mw-mobile-collapsed {
max-height: 75px;
overflow: hidden;
display: block;
}
.mw-collapsible-button.mw-mobile-expanded-button {
transform: rotate(180deg);
border-radius: 0 0 6px 6px !important;
}
/* New Infobox */
.infobox-new {
border: 1px solid var(--border-color);
border-radius: 4px;
max-width: 100%;
}
.infobox-new-header {
padding: 7px;
text-align: center;
text-shadow: 1px 1px 1px #000;
font-weight: 500;
border-bottom: 1px solid var(--border-color);
color: white;
}
.infobox-character .infobox-new-header img[alt^="Mini Icon"] {
display: none;
}
.infobox-new-image {
text-align: center;
}
.infobox-equipment .infobox-new-image {
margin: 5px;
}
.infobox-new .infobox-row {
--first-column-width: 120px;
display: grid;
grid-template-columns: var(--first-column-width) auto;
border-top: 1px solid var(--border-color);
}
.infobox-new .infobox-row.infobox-double-row {
grid-template-columns: var(--first-column-width) calc((100% - var(--first-column-width)) / 2) calc((100% - var(--first-column-width)) / 2);
}
.infobox-new .infobox-row-title {
padding: 5px 10px;
border-right: 1px solid var(--border-color);
font-weight: 500;
background-color: var(--theme-tone-4);
display: flex;
align-items: center;
word-break: break-word;
}
.infobox-new .infobox-row-content {
padding: 5px 10px;
display: flex;
align-items: center;
overflow-x: auto;
}
.infobox-new .infobox-row-content span {
width: fit-content;
}
.infobox-new .infobox-row-content:nth-child(3) {
border-left: 1px solid var(--border-color);
}
.infobox-new .embedvideo {
max-width: 100%;
margin: 5px 0;
}
.infobox-new .tabber-tab {
margin-top: 0;
background-color: transparent;
border-bottom: 0;
border-radius: 0;
margin-right: 0 !important;
padding: 7px 12px;
font-size: 15px;
color: var(--text-color) !important;
font-weight: 500;
background-color: var(--theme-tone-3);
border-bottom: 1px solid var(--border-color);
}
.infobox-new .infobox-row-content img[alt^="Mini Icon"] {
vertical-align: sub;
}
.infobox-new .infobox-row-content table {
margin: 5px 0;
}
/* Mobile only infobox */
.infobox-new .tabber-new {
gap: 5px;
}
.infobox-new .tabber-new:first-of-type {
margin: 5px;
}
/* New nmbox */
.nmbox-new {
display: flex;
border: 1px solid var(--border-color);
border-radius: 4px;
margin: 1em 0;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
.nmbox-new .nmbox-new-header {
display: flex;
place-content: center;
place-items: center;
background-color: var(--theme-tone-5);
padding: 8px;
border-right: 1px solid var(--border-color);
border-radius: 4px 0 0 4px;
display: none;
}
.nmbox-new .nmbox-new-header a {
text-decoration: none !important;
white-space: pre;
}
.nmbox-new .nmbox-new-header a b {
color: var(--text-color);
font-weight: 500;
}
.nmbox-new .nmbox-new-content {
display: flex;
place-items: center;
}
div.nmbox-new ul {
display: flex;
place-items: center;
list-style-type: none;
margin: 0;
flex-wrap: wrap;
padding-left: 0;
}
.nmbox-new ul li {
display: block;
margin-bottom: 0;
}
.nmbox-new ul a {
color: var(--text-color);
text-decoration: none !important;
display: flex;
place-content: center;
place-items: center;
padding: 4px 8px;
transition: background-color 0.2s;
font-size: 12px;
direction: ltr;
}
.nmbox-new ul .mw-selflink,
.nmbox-new ul b {
font-weight: 500;
color: var(--text-color);
}
.nmbox-new ul a:hover {
background-color: var(--theme-tone-5);
}
/* Tables */
table[cellpadding="5"][border="1"][style],
table[cellpadding="5"][border="1"][style] td {
border-color: #c1c1c1;
}
table[cellpadding="5"][border="1"][style] tr[style],
table[cellpadding="5"][border="1"][style] tr[style] th {
border: 1px solid rgb(71, 71, 71);
}
tr[style*="#444444"] th {
color: white;
text-shadow: none !important;
}
tr[style*="background:#444444"] a {
color: white !important;
text-shadow: none !important;
}
table[cellpadding="5"][border="1"][style] tr[style*="#444444"],
table[cellpadding="5"][border="1"][style] tr[style*="#444444"] th {
border-color: black;
}
/* 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;
}
/* Class Tree */
.class-tree td {
min-width: auto;
}
/* Quest */
.job-change-collapsible {
border: 1px solid var(--border-color-tone-2);
border-radius: 4px;
display: flex;
flex-direction: column;
}
.job-change-collapsible [style*="1.25em"] * {
font-size: 15.2px !important;
}
.job-change-collapsible > .section > .mw-collapsible-toggle {
color: white;
text-shadow: 1px 1px 1px #000;
top: 8px;
bottom: 8px;
}
.job-change-collapsible .section .section {
border-bottom: 1px solid var(--border-color-tone-2);
}
.job-change-collapsible .section .section:first-of-type {
border-bottom: 1px solid var(--border-color-tone-2);
}
.job-change-collapsible .mw-collapsible-toggle-default::before,
.job-change-collapsible .mw-collapsible-toggle-default::after,
.job-change-collapsible .mw-collapsible-text {
display: none;
}
.job-change-collapsible .section {
position: relative;
}
.job-change-collapsible .mw-collapsible-toggle {
display: block;
position: absolute;
right: 10px;
top: 10px;
}
.job-change-collapsible .mw-collapsible-toggle {
font-weight: 500;
}
.generic-quest {
position: relative;
margin-bottom: 5px;
}
.generic-quest > div {
border-radius: 4px;
}
.generic-quest .mw-collapsible-toggle {
color: white !important;
text-shadow: 1px 1px 1px #000;
font-size: 1em;
position: absolute;
right: 7px;
top: 11px;
}
.generic-quest .mw-collapsible-toggle a {
color: white !important;
font-weight: 500;
}
.generic-quest > .mw-collapsible-content {
border: 1px solid var(--border-color);
}
.generic-quest > div:not(.mw-collapsed > div) {
border-radius: 4px 4px 0 0;
}
/* Segment */
/* New section - segment */
.segment {
position: relative;
margin: 15px 0;
}
.segment .vgrid-table {
margin: 0;
}
.segment .segment-header {
color: var(--text-color);
text-shadow: none;
font-weight: 500;
background-color: var(--theme-tone-5);
border: 1px solid var(--border-color);
padding: 7px 10px;
border-radius: 4px 4px 0 0;
text-align: center;
letter-spacing: 0.5px;
font-size: 19px;
}
.segment > .mw-collapsible-toggle::before,
.segment > .mw-collapsible-toggle::after {
display: none;
}
.mw-content-ltr .segment > .mw-collapsible-toggle {
position: absolute;
padding: 6px;
top: 5px;
border-radius: 4px;
right: 5px;
transition: 0.3s;
}
.segment > .mw-collapsible-toggle:hover {
background-color: rgba(9, 45, 50, 0.05);
}
.segment > .mw-collapsible-toggle a {
color: var(--text-color);
letter-spacing: 0.5px;
font-weight: 500;
}
.segment.section-border > .segment-contents {
border: 1px solid var(--border-color);
}
.segment {
margin: 10px 0;
}
.segment-header {
color: var(--text-color);
text-shadow: none;
font-weight: 500;
text-align: center;
background-color: var(--theme-tone-5);
border: 1px solid var(--border-color);
border-radius: 4px 4px 0 0;
padding: 5px;
letter-spacing: 0.5px;
}
.segment-contents {
flex-direction: column;
border: 1px solid var(--border-color);
border-top: none;
padding: 0.5em;
overflow-x: auto;
}
.client-js .segment.mw-collapsed:not(.mw-made-collapsible):before,
.client-js .segment.mw-collapsible:not(.mw-made-collapsible):before {
display: none !important;
}
.segment > .segment-contents {
padding: 1em;
}
.segment .segment-header:not(.mw-collapsed .segment-header) {
border-bottom: none;
}
.segment .segment-header.single-title {
border-bottom: 1px solid var(--border-color) !important;
}
.segment.section-border.section-bg > .segment-headers > .segment-header {
background-color: var(--theme-tone-6);
}
/* Quest */
.job-change-collapsible {
border: 1px solid var(--border-color-tone-2);
border-radius: 7px 7px 4px 4px;
display: flex;
flex-direction: column;
}
.job-change-collapsible .segment-header {
border: none;
color: var(--text-color);
text-shadow: none;
padding: 0;
font-size: 1em;
}
.job-change-collapsible .segment {
border: none;
margin: 0;
}
.job-change-collapsible [style*="1.25em"] * {
font-size: 15.2px !important;
}
.job-change-collapsible > .section > .mw-collapsible-toggle:hover {
background-color: rgba(255, 255, 255, 0.15);
}
.job-change-collapsible .section .section {
border-bottom: 1px solid var(--border-color-tone-2);
}
.job-change-collapsible .section .section:first-of-type {
border-bottom: 1px solid var(--border-color-tone-2);
}
.job-change-collapsible .mw-collapsible-toggle-default::before,
.job-change-collapsible .mw-collapsible-toggle-default::after,
.job-change-collapsible .mw-collapsible-text {
display: none;
}
.job-change-collapsible .section {
position: relative;
}
.mw-content-ltr .job-change-collapsible .segment > .mw-collapsible-toggle {
display: block;
position: absolute;
right: 8px;
top: 8px;
padding: 3px 5px;
transition: 0.3s;
border-radius: 4px;
}
.mw-content-ltr .job-change-collapsible > .section > .mw-collapsible-toggle {
color: white;
text-shadow: 1px 1px 1px #000;
top: 5px;
right: 7px;
height: fit-content;
}
.job-change-collapsible .mw-collapsible-toggle:hover {
background-color: var(--theme-tone-7);
}
.client-js .job-change-collapsible div.mw-collapsed:not(.mw-made-collapsible):before,
.client-js .generic-quest.mw-collapsed:not(.mw-made-collapsible):before {
content: unset;
/* (Bandaid for FoUC) */
}
.job-change-collapsible .mw-collapsible-toggle::after {
display: block;
content: "Hide";
}
.job-change-collapsible .mw-collapsed .mw-collapsible-toggle::after {
display: block;
content: "Show";
}
.job-change-collapsible .mw-collapsible-toggle {
font-weight: 500;
}
.job-change-collapsible .segment > .segment-contents {
padding: 0;
overflow: hidden;
}
.job-change-collapsible > .segment > .segment-headers .segment-header {
color: white;
text-shadow: 1px 1px 1px #000;
}
.generic-quest {
position: relative;
margin-top: 5px;
margin-bottom: 5px;
}
.generic-quest > div {
border-radius: 4px;
}
.generic-quest .mw-collapsible-toggle {
color: white !important;
text-shadow: 1px 1px 1px #000;
font-size: 1em;
position: absolute;
right: 7px;
top: 11px;
}
.generic-quest .mw-collapsible-toggle a {
color: white !important;
font-weight: 500;
}
.generic-quest > .segment-contents {
border: 1px solid var(--border-color);
}
.generic-quest .mw-collapsible-toggle-default::before,
.generic-quest .mw-collapsible-toggle-default::after,
.generic-quest .mw-collapsible-text {
display: none;
}
.generic-quest .mw-collapsible-toggle::after {
display: block;
content: "(Hide)";
}
.generic-quest.mw-collapsed .mw-collapsible-toggle::after {
display: block;
content: "(Show)";
}
.generic-quest .mw-collapsible-toggle {
font-weight: 500;
}
.generic-quest > div:not(.mw-collapsed > div) {
border-radius: 4px 4px 0 0;
}
.generic-quest > .segment-header {
color: white;
text-shadow: 1px 1px 1px #000;
font-size: 19px;
}
.mw-content-ltr .segment.generic-quest > .mw-collapsible-toggle {
top: 8px;
right: 8px;
padding: 3px;
}
.mw-content-ltr .segment.generic-quest > .mw-collapsible-toggle:hover {
background-color: rgba(255, 255, 255, 0.15);
}
.segment.generic-quest .segment-header {
padding: 0;
background: transparent;
color: white;
text-shadow: 1px 1px 1px #000;
}
.segment.generic-quest .segment-contents {
padding: 0;
}
/* combo overlay */
.combo-overlay a {
display: flex;
}
/* 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 {
filter: brightness(1.1);
}
.dungeon-map map + div {
border-radius: 0 4px 4px 4px;
}
/* Boss timer */
.boss-timer {
display: grid;
grid-template-columns: 105px 200px;
}
.boss-timer-section,
.boss-timer-section .tabber-content {
width: auto !important;
}
.boss-timer-section .tabber-content {
grid-template-columns: 100%!important;
padding: 0.7rem!important;
gap: 1.5rem!important;
background: var(--theme-tone-6)!important;
}
.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;
}
.boss-timer-countdown,
.server-time {
font-size: 22px;
font-weight: 700;
}
.boss-timer-text {
margin-bottom: 2px;
}
.boss-timer-section.section .tabber-new {
display: flex !important;
}
.server-time-wrap {
display: grid;
grid-template-columns: 105px 200px;
}
.server-time-image-wrap {
display: flex;
place-content: center;
place-items: center;
}
.server-time-image-wrap + div {
width: 100%;
margin-right: -1.5rem;
}
.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(.tooltiptext a) {
display: block;
}
.henir-grid .tooltiptext {
min-width: 150px;
box-shadow: 0 2px 0 0 rgb(0, 0, 0, 0.15);
}
.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);
}
.current-info .segment-contents {
overflow-x: hidden;
}
.timers-wrap {
display: flex;
place-items: center;
flex-direction: column;
gap: 15px;
}
.henir-stage {
background-color: var(--theme-tone-7);
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(.tooltiptext a) {
pointer-events: none;
}
.boss .tooltip {
border-bottom: none;
}
.current-info .segment-contents > .mw-collapsible-content {
flex-direction: column;
}
div.image-cropped a > img {
max-width: initial !important;
}
.current-info .segment-contents > .mw-collapsible-content {
opacity: 1 !important;
pointer-events: all !important;
}
.has-arrow {
position: relative;
}
.class-tree > .has-arrow:after {
content: "";
display: block;
position: absolute;
z-index: 2;
top: 13px;
right: -18px;
width: 15px;
background-repeat: no-repeat;
height: 15px;
background-image: url(https://elwiki.net/wiki/images/0/0b/Arrowright.png);
background-size: contain;
background-position: center;
}
.mw-mobile-collapsed {
display: none;
}
.job-change-collapsible .segment-headers {
gap: 0 !important;
}
.job-change-collapsible .segment .segment .textfloat.segment-headers {
position: relative;
}
.job-change-collapsible .mw-collapsible-button {
height: 1.5em;
background-size: 15px;
}
.job-change-collapsible .segment .segment .textfloat.segment-headers .mw-collapsible-button {
position: absolute;
width: 40px;
height: calc(100% - 9px);
background-size: 15px;
right: 0;
top: 1px;
}
.job-change-collapsible .segment .segment .textfloat.segment-headers,
.job-change-collapsible .segment .segment .textfloat.segment-headers .mw-collapsible-button {
background-color: var(--theme-tone-5);
}
.job-change-collapsible > .segment > .segment-headers > .segment-header {
border-radius: 0 0 4px 4px;
}
.job-change-collapsible > .segment.mw-collapsed > .segment-headers > .segment-header {
border-radius: 0;
}
.job-change-collapsible .segment-contents {
border: 0;
}
/* Tables */
table[cellpadding="5"][border="1"][style],
table[cellpadding="5"][border="1"][style] td,
table[cellpadding="5"][border="1"][style] th,
.related-skills,
.related-skills td,
.related-skills tr,
.related-skills th {
border-color: var(--border-color);
}
tr[style] th a:not(.textfloat a),
tr[style] th a:visited:not(.textfloat a),
tr[style] th a:link:not(.textfloat a),
table[class*="colortable-"] th a:not(.textfloat a),
table[class*="colortable-"] th a:visited:not(.textfloat a),
table[class*="colortable-"] th a:link:not(.textfloat a) {
color: #1d5383!important;
}
table[cellpadding="5"][border="1"][style] tr[style],
table[cellpadding="5"][border="1"][style] tr[style] th:not(.wikitable th),
table[cellpadding="5"][border="1"][class*="colortable-"] th {
border: 1px solid rgb(71, 71, 71);
}
table tr[style]:not(.textfloat),
table[class*="colortable-"] tr:not(.textfloat) {
color: black;
}
tr[style*="#444444"] th {
color: white;
text-shadow: none !important;
}
tr[style*="background:#444444"] a {
color: white !important;
text-shadow: none !important;
}
tr[style] .tooltip,
table[class*="colortable-"] tr .tooltip {
border-bottom-color: #000;
}
table[cellpadding="5"][border="1"][style] tr[style*="#444444"],
table[cellpadding="5"][border="1"][style] tr[style*="#444444"] th {
border-color: black;
}
table[cellpadding="5"][border="1"][style] {
border: none !important;
}
/* Related skills */
.related-skills .skill-wrap-text > a {
text-decoration: none !important;
}
.skill-table [data-type="table-row"] {
display: grid;
grid-template-columns: repeat(2, auto);
}
.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 td:not(.no-div td) {
padding: 0;
}
.related-skills.secret-art .skill-wrap {
min-height: 108px;
}
.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;
padding: 0 0.5rem;
width: auto;
display: inline;
padding-right: 0.1rem;
word-break: break-word;
}
.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-right: 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;
align-items: center;
border-right: 1px solid var(--border-color);
border-bottom: 1px solid var(--border-color);
width: fit-content;
}
.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;
}
[data-type="table-head"] img {
display: block;
}
.related-skills:not(.no-div) {
opacity: 0;
pointer-events: none;
}
.content .related-skills a > img {
max-width: initial !important;
}
.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;
}
.category-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1em;
place-content: center;
}
.master-skill-grid .skill-wrap a {
padding: 0 !important;
}
.related-title {
padding: 5px;
font-weight: 500;
width: 100%;
place-content: center;
background-color: var(--theme-tone-4);
}
.related-skills-grid {
display: flex;
flex-wrap: wrap;
gap: 1rem;
place-content: space-between;
padding: 0 0 1.5rem 0;
}
/* Minor tweaks */
table .fadeout-container {
position: relative !important;
margin: 0;
margin-top: 2em;
}
.parent-tabs {
margin-bottom: 0 !important;
}
.skillnav tr,
.skillnav tbody,
.skillnav table,
.skillnav th {
display: block !important;
width: 100% !important;
}
.skillnav .separate td {
width: fit-content !important;
gap: 5px;
place-content: center;
display: grid;
grid-template-columns: repeat(4, auto);
place-items: start;
min-width: initial !important;
}
.skillnav .master td {
text-align: left;
}
.skillnav .separate td a {
text-align: left;
}
.skillnav table {
margin: 0;
}
.skillnav > table > tbody > tr:nth-child(2) > td {
display: block;
}
div.char-dung-wrap .mw-collapsible-content {
padding-top: 0.5rem;
}
table.wikitable > * > tr > td {
padding: 1em;
}
.henir-outer {
display: flex;
flex-direction: column;
gap: 1rem;
place-content: center;
margin-bottom: 1rem;
border-top: 1px solid var(--border-color);
margin-top: 2rem;
padding-top: 1rem;
}
.category-grid > div {
display: flex;
flex-direction: column;
place-items: center;
}
.skill-columns {
display: grid;
grid-template-columns: repeat(2, auto);
}
/* Tippy.js */
.tippy-loaded [data-tippy-content] {
opacity: 1;
pointer-events: all;
}
[data-tippy-content] {
opacity: 0;
pointer-events: none;
transition: .3s;
}
.tippy-box {
background-color: var(--theme-tone-3);
border-radius: 3px;
border: 1px solid var(--border-color-tone-2);
box-shadow: 0 2px 0 0 rgb(0 0 0 / 15%);
transition: .2s!important;
}
.tippy-box:not(.dark-mode .tippy-box) {
background-color: var(--theme-tone-2);
}
.tippy-content {
padding: 0.5rem 0.75rem;
font-size: 0.95rem;
color: var(--text-color);
}
.tippy-arrow {
color: var(--border-color-tone-2);
}
.tippy-box[data-placement^='top']>.tippy-arrow:before {
bottom: -8px;
}
.tippy-box[data-placement^='bottom']>.tippy-arrow:before {
top: -8px;
}
.tippy-box[data-state='hidden'] {
opacity: 0;
transform: scale(0.5);
transform-origin: bottom;
}
.tippy-box[data-placement^='bottom'][data-state='hidden'] {
transform-origin: top;
}
.tippy-box[data-placement^='left'][data-state='hidden'] {
transform-origin: left;
}
.tippy-box[data-placement^='right'][data-state='hidden'] {
transform-origin: right;
}
.tippy-btn .content {
display: none;
}
.tippy-content a {
vertical-align: top;
}