MediaWiki:Main.css: Difference between revisions
From Elwiki
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1,569: | Line 1,569: | ||
} | } | ||
@media only screen and (max-width: | @media only screen and (max-width: 1330px) { | ||
#elwiki_right_sidebar { | #elwiki_right_sidebar { | ||
display:none; | |||
} | } | ||
#elwiki_instream { | #elwiki_instream { | ||
display:none; | |||
} | } | ||
} | } |
Revision as of 19:22, 19 May 2024
/* after content section */
#mw-data-after-content > div {
display: flex;
flex-direction: column;
padding: 10px;
gap: 15px;
place-items: center;
border-top: 0;
}
#mw-data-after-content br {
display: none;
}
#mw-data-after-content {
border-radius: 0 0 5px 5px;
}
#mw-data-after-content a.nn-cmp-show {
margin-top: 0.8em;
display: inline-block;
padding: 5px 10px;
width: fit-content;
border-radius: 4px;
font-weight: 500;
color: black;
transition: background-color 0.3s, color 0.2s;
text-decoration: none;
color: var(--text-color);
}
#mw-data-after-content a.nn-cmp-show:hover {
background-color: var(--accent-color);
color: white;
}
.pw-ad-scroll-container {
display: none !important;
}
@media screen and (min-width: 1100px) and (max-width: 1340px) {
/* #content-bottom-stuff {
margin-left: 0;
display: table-caption;
}
#mw-related-navigation .sidebar-chunk {
box-shadow: 0 0 2px 1px rgb(0 0 0 / 10%) !important;
}
#mw-related-navigation {
position: absolute;
right: 0;
transform: translateX(90%);
transition: 300ms;
}
#mw-related-navigation:hover {
transform: translateX(0);
} */
#content-bottom-stuff {
margin-left: 0;
display: table-caption;
}
#mw-related-navigation .sidebar-chunk {
box-shadow: 0 0 2px 1px rgb(0 0 0 / 10%) !important;
}
#mw-related-navigation {
visibility:hidden;
position: absolute;
right: 0;
}
#mw-related-navigation:hover {
transform: translateX(0);
}
#mw-content-wrapper {
margin-right: 0em !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;
}
.nmbox th:first-of-type {
width: 80px;
}
table.nmbox > tbody > tr > th,
table.nmbox > tbody > tr > td {
padding: 0.4em 0.8em;
}
table.nmbox > tbody > tr > td {
background-color: #f7fdff;
}
table.nmbox > tbody > tr > th {
background-color: #ebf4f7;
}
#p-googleadsense .pBody {
padding-top: 5px;
text-align: center;
}
/* Collapsible toggle */
.mw-content-ltr .section-border .mw-collapsible-toggle {
padding-right: 10px;
position: absolute;
right: 0;
}
/* floating text */
.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-container:hover .fadeout {
z-index: -1 !important;
}
.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 */
}
.inner-border th:not(th:last-child) {
border-right: 1px solid var(--border-color);
}
/* Tooltip */
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted var(--text-color);
}
tr[style] th .tooltip,
table[class*="colortable-"] tr th .tooltip,
table[class*="colortable-"] tr th .tippy-btn {
border-bottom-color: #000 !important;
}
.tooltiptext {
visibility: hidden;
min-width: 400px;
padding: 12px 14px;
text-align: center;
position: absolute;
left: 50%;
bottom: calc(20px + 100%);
z-index: 100004;
background: var(--theme-tone-3);
box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.15);
border: 1px solid var(--border-color-tone-2);
border-radius: 2px;
font-weight: normal;
text-shadow: none;
border-radius: 4px;
color: var(--text-color);
}
.tooltiptext:after,
.tooltiptext:before {
content: "";
position: absolute;
left: 50%;
border-style: solid;
}
.tooltiptext:after {
top: 100%;
bottom: auto;
width: 20px;
height: 20px;
background: var(--theme-tone-3);
margin-top: -10px;
margin-left: -10px;
box-shadow: 1px 1px 0px var(--border-color-tone-2);
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 var(--theme-tone-7) 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 var(--border-color-tone-2) 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: var(--border-color-tone-2);
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: var(--accent-color);
border-bottom: 0;
}
.tooltiptext a:visited {
color: var(--accent-color-tone-3);
}
.tooltiptext a:active {
color: #faa700;
}
.tooltiptext a:hover,
a:focus {
text-decoration: underline;
}
.tooltiptext a.new {
color: #ba0000;
}
.mwe-math-element {
display: inline-block;
overflow: auto hidden;
padding: 0.4rem;
}
.mwe-math-element img {
filter: brightness(0%);
}
.dark-mode .mwe-math-element {
background-color: var(--theme-tone-4);
border-radius: 5px;
display: inline-block;
}
@media screen and (min-width: 851px) {
#personal {
padding-left: 0;
}
}
.infobox * {
z-index: 2;
}
/* Syntax highlighter - dark mode */
.dark-mode .mw-highlight .k,
.mw-search-result-data,
.dark-mode .mw-highlight .kr {
color: #76ff76;
}
.dark-mode .mw-highlight .kc {
color: #fff;
font-weight: 400;
}
.dark-mode .mw-highlight .mh {
color: #ffc0c0;
}
.dark-mode .mw-highlight .nf,
.dark-mode .mw-highlight .nc {
color: #44f5ff;
font-weight: 500;
}
.dark-mode .mw-highlight .nn {
color: #ffe144;
font-weight: 500;
}
.dark-mode .mw-highlight .mi,
.dark-mode .mw-highlight .kt {
color: #eee;
font-weight: 500;
}
.dark-mode .mw-highlight .o,
.dark-mode .mw-highlight .mf {
color: #eee;
}
.dark-mode .mw-highlight .nt,
.dark-mode .mw-highlight .nb,
.dark-mode .mw-highlight .kd {
color: #33ffa1;
font-weight: 500;
}
.dark-mode .mw-highlight .nd,
.dark-mode .mw-highlight .s1 {
color: #e152ff;
}
.dark-mode .mw-highlight .cp {
color: #ff3232;
}
.dark-mode .mw-highlight .s2 {
color: #ffffff;
}
.dark-mode .mw-highlight .c {
color: #63c2c2;
}
.dark-mode .mw-highlight .sx {
color: #56d0ff;
}
.dark-mode .mw-highlight .c1 {
color: #77d235;
}
/* Infobox */
.infobox-wrap {
padding: 0;
float: right;
clear: right;
position: relative;
}
table.infobox div.tabdiv:not(.forceport) > ul {
background-color: #f7f7f7;
padding: 7px 0 7px 0;
border-bottom: 2px solid var(--theme-tone-2);
align-items: center;
justify-content: center;
}
.infobox .tabber-new > .tabber-content {
margin-top: 10px;
}
table.infobox div.tabdiv:not(.forceport) > ul ~ div ul {
margin-top: -10px;
margin-left: -10px;
margin-right: -10px;
background: none;
border-bottom: none;
}
table.infobox div.tabdiv:not(.forceport) > ul > li {
padding-top: 0;
}
.infobox div.tabdiv > ul > li:hover,
.infobox div.tabdiv > ul > li.active {
background: none;
color: var(--accent-color);
border-radius: 0;
}
table.infobox div.tabdiv:not(.forceport) > ul > li {
background: none;
}
.infobox div.tabdiv > ul > li {
padding: 5px 10px;
margin-right: 5px !important;
}
.infobox .tabber-content p:first-child {
margin-top: 5px;
}
.infobox div.tabdiv > ul > li.active a,
.infobox div.tabdiv > ul > li:hover a {
color: var(--accent-color) !important;
}
/* 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;
}
/* Template fix */
dfn {
display: none !important;
}
/* Image margin in headlines */
.mw-headline .image img {
padding-bottom: 5px;
}
/* Navbar */
.sidebar-chunk,
#p-logo,
#p-banner,
#personal,
#personal-inner,
#mw-data-after-content img,
#mw-data-after-content a,
::placeholder {
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
}
::-moz-placeholder {
user-select: none;
-moz-user-select: none;
}
::-webkit-placeholder {
user-select: none;
-webkit-user-select: none;
}
#p-logo {
border: 1px solid var(--border-color);
border-bottom: 0;
}
.mw-wiki-logo {
margin-top: 0;
background-position: center!important;
padding-bottom: 0;
height: 8.65rem!important;
}
.sidebar-chunk:not(#site-navigation) {
padding-top: 0 !important;
}
#mw-site-navigation {
z-index: 3;
padding: 0.85rem;
padding-top: 0;
margin-top: 1rem;
margin-left: 0;
margin-right: 1rem;
padding: 0 !important;
max-width: 11.5rem;
overflow: visible!important;
}
#mw-site-navigation .sidebar-chunk li {
padding: 0;
}
.sidebar-chunk a {
padding: 0.4rem 1rem !important;
font-size: 1.02em;
font-weight: 500;
letter-spacing: 0.03em;
transition: background-color 0.3s, color 0.2s;
border-radius: 0;
border-bottom: none;
}
.sidebar-chunk li {
font-size: 1.02em;
font-weight: 500;
}
.sidebar-chunk a::before,
.sidebar-chunk a::after {
content: unset !important;
}
.sidebar-chunk ul li > a,
.sidebar-chunk ul li > a:visited,
.sidebar-chunk ul li > a:link,
div.sidebar-chunk a.external.text {
padding: 0.3em;
background-image: none !important;
color: var(--text-color);
}
.sidebar-chunk ul li > a[href="#.21"],
.sidebar-chunk .mw-selflink {
cursor: default;
}
.sidebar-chunk li > ul a {
border-color: var(--theme-tone-6);
}
.sidebar-chunk a,
.sidebar-chunk a:link,
.sidebar-chunk a:visited,
.sidebar-chunk strong.selflink {
text-decoration: none;
color: #000;
}
.sidebar-chunk li:hover > a,
.sidebar-chunk li:hover > a:link,
.sidebar-chunk .mw-selflink,
.sidebar-chunk a.mw-has-selflink {
background: var(--theme-tone-7);
color: var(--text-color) !important;
}
@media screen and (min-width: 1100px) {
.dark-mode .sidebar-chunk li:hover > a,
.dark-mode .sidebar-chunk li:hover > a:link,
.dark-mode .sidebar-chunk .mw-selflink,
.dark-mode .sidebar-chunk a.mw-has-selflink {
background: var(--theme-tone-4);
}
}
#mw-related-navigation .sidebar-chunk li {
padding: 0;
}
#site-navigation {
border-color: var(--theme-tone-6);
}
.sidebar-chunk li:hover {
transform: none !important;
}
.sidebar-chunk li > ul {
top: 0;
border-radius: 5px;
box-shadow: 0 4px 5px 0 rgb(0 0 0 / 14%), 0 1px 10px 0 rgb(0 0 0 / 12%), 0 2px 4px -1px rgb(0 0 0 / 30%);
}
.sidebar-chunk li:hover > ul {
pointer-events: all;
transform: translateX(0);
}
div.sidebar-chunk li > ul {
visibility: visible !important;
pointer-events: none;
left: 100%;
margin-left: 0 !important;
display: block;
transform: translateX(-7px);
transition: 0.3s !important;
border: 1px solid var(--border-color);
box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1) !important;
background-color: var(--theme-tone-6);
}
div.sidebar-chunk h3 {
font-size: 1.2em !important;
text-transform: capitalize;
letter-spacing: 0.5px;
margin-left: 0.65em !important;
font-family: "Familjen Grotesk";
margin: 0rem 0 0.5rem 0 !important;
padding: 0.5rem 1rem 0.5rem 1rem !important;
background-color: var(--theme-tone-3);
border: none !important;
border-top: 1px solid var(--border-color) !important;
border-bottom: 1px solid var(--border-color) !important;
}
@media screen and (min-width: 1100px) {
.sidebar-inner, #mw-wrapper .dropdown-active .sidebar-inner {
display: flex !important;
gap: 0.5rem;
flex-direction: column;
}
}
.dark-mode div.sidebar-chunk h3 {
background-color: var(--theme-tone-7);
}
.sidebar-chunk:not(#site-navigation) .mw-portlet:first-child h3 {
border-top: 0 !important;
margin-top: 0 !important;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
#mw-related-navigation .sidebar-chunk #p-normal-catlinks .mw-portlet-body {
margin-bottom: 0;
}
.sidebar-chunk {
border-radius: 5px;
padding: 0.95rem 0 !important;
border: 1px solid var(--border-color) !important;
padding-bottom: 0.5rem !important;
}
#site-tools .mw-portlet-body {
margin-bottom: 0 !important;
}
#site-navigation {
border-top-left-radius: 0;
border-top-right-radius: 0;
border-top: 0 !important;
padding-top: 0 !important;
}
/* main container */
#mw-content-container {
border-bottom: none;
min-height: 200vh;
}
#mw-content {
background-color: var(--theme-tone-6);
margin-top: 1rem;
border-radius: 6px 6px 0 0;
border: 1px solid var(--border-color);
border-bottom: 0;
}
#mw-related-navigation .sidebar-chunk {
margin-top: 1rem;
}
/* Long table adjustments */
table[class*="colortable-"]:not(.section) {
overflow: auto;
display: block;
border: 0;
}
.overflowed :is(.content-table-left, .content-table-right) {
display: none;
}
.long-table {
overflow-x: auto;
}
.long-table::-webkit-scrollbar-thumb,
.long-table::-webkit-scrollbar-track,
.long-table::-webkit-scrollbar,
.content-table::-webkit-scrollbar-thumb,
.content-table::-webkit-scrollbar-track,
.content-table::-webkit-scrollbar,
table::-webkit-scrollbar-thumb,
table::-webkit-scrollbar-track,
table::-webkit-scrollbar {
border-radius: 0;
}
:is(.long-table, .overflowed) .tooltiptext:not(.tooltip-up .tooltiptext),
.tooltip-down .tooltiptext {
top: calc(20px + 100%);
box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.15);
bottom: auto;
}
:is(.long-table, .overflowed) .tooltiptext:not(.tooltip-up .tooltiptext):before,
.tooltip-down .tooltiptext:before {
bottom: 100%;
top: unset;
border-color: transparent transparent rgba(0, 0, 0, 0.15) transparent;
}
:is(.long-table, .overflowed) .tooltiptext:not(.tooltip-up .tooltiptext):after,
.tooltip-down .tooltiptext:after {
bottom: 100%;
margin-bottom: -10px;
top: unset;
transform: rotate(225deg);
box-shadow: 1px 1px 0px rgb(165, 165, 165);
}
/* status effect icons */
.status {
display: inline-flex;
gap: 0.35em;
}
.status .tooltip {
white-space: nowrap;
}
/* combo overlay */
.combo-overlay a {
display: flex;
}
/* header */
.mw-body .mw-parser-output h1 {
display: flex;
place-items: center;
border-bottom: 1px solid var(--border-color);
position: relative;
}
.mw-body .mw-parser-output h1::after,
.mw-body .mw-parser-output h2::after {
border-bottom: 1px solid var(--border-color);
overflow: hidden;
width: 100%;
position: absolute;
bottom: 0;
}
.mw-body .mw-parser-output h1 .mw-headline,
.mw-body .mw-parser-output h1 .mw-headline a,
.mw-body .mw-parser-output h1 .mw-headline font,
.mw-body .mw-parser-output h1 .mw-headline .custom-text,
.mw-body .mw-parser-output h2 .mw-headline,
.mw-body .mw-parser-output h2 .mw-headline a,
.mw-body .mw-parser-output h2 .mw-headline font,
.mw-body .mw-parser-output h2 .mw-headline .custom-text,
.mw-body .mw-parser-output h2 .mw-headline .tooltip {
font-size: 0.8em;
display: inline-flex;
place-items: center;
padding-left: 27px;
/*font-family: "Heading";*/
font-weight: 500;
/*letter-spacing: 0.2px;*/
letter-spacing: -1px;
gap: 5px;
}
.mw-body .mw-parser-output h2 .mw-headline .tooltiptext {
font-size: initial;
letter-spacing: initial;
}
.mw-body .mw-parser-output h1 .mw-headline,
.mw-body .mw-parser-output h1 .mw-headline a,
.mw-body .mw-parser-output h1 .mw-headline font,
.mw-body .mw-parser-output h1 .mw-headline .custom-text {
padding-left: 0;
gap: 8px;
}
.mw-body .mw-parser-output h3 .mw-headline,
.mw-body .mw-parser-output h3 .mw-headline a,
.mw-body .mw-parser-output h3 .mw-headline font,
.mw-body .mw-parser-output h3 .mw-headline .custom-text {
font-size: 1.1rem;
font-weight: 500;
}
.mw-body .mw-parser-output h1 .mw-headline,
.mw-body .mw-parser-output h1 .mw-headline a,
.mw-body .mw-parser-output h1 .mw-headline font,
.mw-body .mw-parser-output h1 .mw-headline .custom-text {
font-size: 0.9em;
}
.mw-body .mw-parser-output h1 .mw-headline a,
.mw-body .mw-parser-output h1 .mw-headline font,
.mw-body .mw-parser-output h1 .mw-headline .custom-text,
.mw-body .mw-parser-output h2 .mw-headline a,
.mw-body .mw-parser-output h2 .mw-headline font,
.mw-body .mw-parser-output h2 .mw-headline .custom-text,
.mw-body .mw-parser-output h2 .mw-headline .tooltip {
padding-left: 0;
font-size: inherit;
}
.mw-body .mw-parser-output h4 .mw-headline,
.mw-body .mw-parser-output h4 .mw-headline a,
.mw-body .mw-parser-output h4 .mw-headline font,
.mw-body .mw-parser-output h4 .mw-headline .custom-text {
font-size: 1.05rem;
font-weight: 500;
}
.mw-body h5 {
font-size: 1rem;
font-weight: 500;
}
.mw-body .mw-parser-output h1 .mw-headline a:hover,
.mw-body .mw-parser-output h2 .mw-headline a:hover {
text-decoration: underline;
}
.mw-body .mw-parser-output h2:not(.toctitle h2) {
background-image: url(https://elwiki.net/wiki/images/0/0a/Asset_-_Header.png);
background-repeat: no-repeat;
background-position: left;
min-height: 38px;
background-size: contain;
display: flex;
position: relative;
}
.mw-body .mw-parser-output h3 {
margin-top: 1rem;
}
.mw-editsection {
background-position: left center;
}
.mw-editsection a:first-of-type {
height: 100%;
display: inline-flex;
place-content: center;
place-items: center;
padding: 0 0 0 1.45rem;
}
.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;
}
/* Echo */
#personal-extra ul {
margin-top: 0.4rem;
margin-left: 0.5rem;
display: flex;
gap: 0.3rem;
}
#user-tools {
display: flex;
place-content: center;
min-width: 0;
padding: 0 1.5rem;
}
#personal-extra {
padding: 0.05rem 0 00;
}
.mw-echo-alert {
margin: 0;
}
.mw-echo-ui-notificationItemWidget-icon img {
filter: brightness(1.8) saturate(1.3);
}
.mw-echo-ui-toggleReadCircleButtonWidget-circle,
#pt-notifications-notice .mw-echo-notifications-badge.oo-ui-flaggedElement-unseen:after,
#pt-notifications-notice .mw-echo-notifications-badge.mw-echo-unseen-notifications:after {
background: var(--accent-color) !important;
}
.mw-echo-ui-notificationItemWidget-content-actions
> .mw-echo-ui-notificationItemWidget-content-actions-buttons.oo-ui-buttonSelectWidget {
display: flex;
}
/* Anchor tabs */
.anchor-tabs a {
background-color: var(--theme-tone-7);
}
.anchor-tabs a.mw-selflink {
background: var(--accent-color);
}
/* Instance page */
.instance-page .wikitable tr > th {
background-color: var(--theme-tone-5);
}
.instance-page .segment-contents {
border-color: var(--border-color) !important;
}
/* Old tabs hacks */
.tabdiv table.wikitable:first-of-type {
margin-top: 0;
}
.infobox-new .tabdiv:not(.tabber-new) {
display: flex;
flex-direction: column;
}
.infobox-new .tabdiv ul:not(.tabber-new ul) {
display: flex;
place-content: center;
}
/* Metadata */
.mw-metadata-show-hide-extended a[role="button"] {
font-size: 0.9rem;
font-weight: 500;
color: var(--text-color);
padding: 5px;
display: block;
cursor: pointer;
transition: background-color 0.3s;
background-color: var(--theme-tone-3);
text-decoration: none;
margin: -5px;
}
.mw-metadata-show-hide-extended a[role="button"]:hover {
background-color: var(--theme-tone-7);
}
.mw_metadata {
border-bottom-width: 1px !important;
}
.mw_metadata > * > tr > th {
background-color: var(--theme-tone-4) !important;
font-weight: bold;
text-align: right;
color: var(--text-color);
border-color: var(--border-color);
}
.content-table .mw_metadata > * > tr > td {
border-color: var(--border-color);
padding: 5px;
text-align: center;
}
#simpleSearch {
background: none!important;
}
@media screen and (min-width: 1100px) and (max-width: 1340px) {
#mw-content {
margin-left: 0;
margin-right: 0;
width: 76vw !important;
}
#content-bottom-stuff {
padding: 1em 2em 3em;
width: 76vw;
background: var(--theme-tone-6);
border-radius: 0 0 5px 5px;
display: block;
}
#mw-data-after-content {
background: transparent;
}
}
@media screen and (min-width: 1100px) {
#mw-content-wrapper {
margin: 0;
width: 100% !important;
}
#mw-content-wrapper {
/* margin-left: 12.4em;
margin-right: 19.4em;
margin-right: 15.2em; og
width: 65vw !important;
min-width: 50%;
z-index:100;*/
margin-left: 12.4em;
margin-right: 19.1em;
z-index:1;
min-width: 50%;
}
#mw-related-navigation {
position: absolute;
right: 1em;
}
#mw-site-navigation {
position: absolute;
left: 1em;
}
#mw-content-block {
position: relative;
display: flex !important;
}
#mw-header-container {
padding: 0.65em 0 0;
}
}
@media screen and (max-width: 1099px) {
div#mw-site-navigation {
z-index: 99;
display: flex;
width: 100%;
max-width: none;
margin-top: 2rem;
}
#mw-site-navigation .sidebar-chunk {
border: 0 !important;
}
}
@media screen and (max-width: 850px) {
#mw-content-block {
background: var(--theme-tone-7);
}
}
/* Responsive Styles */
@media screen and (min-width: 851px) and (max-width: 1099px) {
#mw-site-navigation .sidebar-chunk {
padding: 0 !important;
}
#mw-site-navigation .sidebar-inner,
#mw-related-navigation .sidebar-inner {
padding: 0!important;
min-width: 10.5rem;
}
.sidebar-chunk ul li > a {
border-color: white;
}
#simpleSearch {
width: 95%;
margin-left: auto;
}
#mw-site-navigation {
z-index: 99;
}
#mw-header-nav-hack {
background-color: var(--theme-tone-5);
border-top-color: var(--theme-tone-5);
}
#mw-site-navigation,
.sidebar-chunk,
div.color-left,
div.color-middle,
div.color-right {
background-color: var(--theme-tone-5) !important;
}
.dark-mode #mw-site-navigation h2:after,
.dark-mode #mw-related-navigation h2:after {
filter: invert(1);
}
.sidebar-inner,
div.sidebar-chunk li > ul {
background: var(--theme-tone-4) !important;
border-color: var(--border-color) !important;
}
.sidebar-inner li a {
border-color: var(--theme-tone-4) !important;
}
.dark-mode #mw-related-navigation .sidebar-inner:after {
margin-top: -3px;
border-bottom-color: var(--border-color);
}
#mw-related-navigation .sidebar-inner:before {
border-bottom-color: var(--border-color);
}
.dark-mode #mw-site-navigation .dropdown-active h2 span:before,
.client-nojs .dark-mode #mw-site-navigation .sidebar-chunk:hover h2 span:before,
.dark-mode #mw-site-navigation .dropdown-active h2 span:after,
.client-nojs .dark-mode #mw-site-navigation .sidebar-chunk:hover h2 span:after {
filter: brightness(0.3);
margin-top: -3px;
}
div#page-tools.sidebar-chunk {
padding-top: 0.8rem!important;
border:none!important;
}
.sidebar-chunk h2 span {
font-family: 'Familjen Grotesk'!important;
}
.sidebar-chunk h2:not(#page-tools h2) {
padding-top: 0.3em!important;
}
#mw-site-navigation .sidebar-chunk h2 span:after {
top: 35px!important;
border-bottom-color: var(--border-color)!important;
}
#mw-related-navigation .sidebar-inner:after {
border-bottom-color: var(--border-color)!important;
}
#mw-header-nav-hack {
border-top: 1px solid var(--border-color);
}
#content {
margin-top: 3rem;
}
#page-tools, #mw-related-navigation {
background: none!important;
}
.sidebar-chunk h3:not(.dark-mode h3) {
background: var(--theme-tone-7)!important
}
}
@media screen and (max-width: 550px) {
#p-logo-text {
position: absolute;
}
}
@media screen and (max-width: 1300px) {
body {
/* overflow-x: hidden; */
}
}
@media screen and (max-width: 850px) {
.dark-mode #site-navigation h2,
.dark-mode #site-tools h2 {
filter: invert(1);
}
}
@media screen and (max-width: 1600px) {
.current-info .segment-contents .mw-collapsible-content {
flex-direction: column;
}
.boss-timer-section,
.boss-timer-section .tabber-content {
width: auto !important;
}
.timers-wrap {
place-content: center;
}
}
@media screen and (max-width: 767px) {
table {
max-width: 100%;
overflow-x: auto;
display: inline-table !important;
}
.hscroll {
width: 100%;
overflow-x: scroll;
}
.infobox {
float: left !important;
}
.split.uneven-split .segment-headers,
.split.uneven-split .segment-contents {
grid-template-columns: auto;
}
}
@media screen and (min-width: 1340px) {
#mw-site-navigation .sidebar-chunk .mw-portlet-body,
#mw-related-navigation .sidebar-chunk .mw-portlet-body {
margin-bottom: 1rem;
}
#mw-site-navigation .sidebar-chunk .mw-portlet-body:last-of-type,
#mw-related-navigation .sidebar-chunk .mw-portlet-body:last-of-type {
margin-bottom: 0;
}
}
/*support buttons*/
#n-Patreon,#n-PayPal,#n-Ko-fi {
list-style: none;
display: inline-block;
width: 31.8%;
height: 2em;
padding: 0;
margin: 5px 0;
background-repeat: no-repeat;
background-position: center;
background-size: contain
}
#n-Patreon a,#n-PayPal a,#n-Ko-fi a {
display: block;
width: 100%;
height: 100%;
font-size: 0;
padding: 0px !important;
}
#n-Patreon span,#n-PayPal span,#n-Ko-fi span {
clip: rect(0 0 0 0);
clip-path: inset(50%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px
}
#n-PayPal {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28.87 28.87'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='-3.04' x2='29.49' y1='-2.41' y2='28.95' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23253b80'/%3E%3Cstop offset='1' stop-color='%23179bd7'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg data-name='Layer 2'%3E%3Cg data-name='Layer 1'%3E%3Crect width='28.87' height='28.87' fill='url(%23a)' rx='6.48' ry='6.48'/%3E%3Cpath fill='%23fff' d='M19.88 10.5l-.05.29c-.66 3.37-2.9 4.53-5.77 4.53H12.6a.71.71 0 0 0-.7.6l-.75 4.74-.21 1.34a.37.37 0 0 0 .37.43h2.59a.62.62 0 0 0 .62-.52v-.13l.48-3.09v-.17a.62.62 0 0 1 .62-.53h.39c2.51 0 4.47-1 5-4a3.38 3.38 0 0 0-.52-3 2.47 2.47 0 0 0-.61-.49z' data-name='%26lt%3BPath%26gt%3B' opacity='.3'/%3E%3Cpath fill='%23fff' d='M19.19 10.23l-.31-.08-.33-.06a8.1 8.1 0 0 0-1.28-.09h-3.9a.62.62 0 0 0-.61.53l-.83 5.25v.15a.71.71 0 0 1 .7-.6h1.46c2.87 0 5.11-1.16 5.77-4.53 0-.1 0-.2.05-.29a3.49 3.49 0 0 0-.54-.23z' data-name='%26lt%3BPath%26gt%3B' opacity='.5'/%3E%3Cpath fill='%23fff' d='M12.75 10.52a.62.62 0 0 1 .61-.53h3.9a8.1 8.1 0 0 1 1.29.09l.33.06.31.08h.15a3.54 3.54 0 0 1 .54.23 3.18 3.18 0 0 0-.67-2.86c-.74-.84-2.08-1.21-3.79-1.21h-5a.71.71 0 0 0-.7.6L7.66 20.17a.43.43 0 0 0 .42.49h3.07l.77-4.89z' data-name='%26lt%3BPath%26gt%3B'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
}
#n-Patreon {
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3Csvg version='1.1' id='svg2' xml:space='preserve' width='799.69336' height='767.70667' viewBox='0 0 799.69336 767.70667' sodipodi:docname='Digital-Patreon-Logo_FieryCoral.eps' xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape' xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs id='defs6' /%3E%3Csodipodi:namedview id='namedview4' pagecolor='%23ffffff' bordercolor='%23666666' borderopacity='1.0' inkscape:pageshadow='2' inkscape:pageopacity='0.0' inkscape:pagecheckerboard='0' /%3E%3Cg id='g8' inkscape:groupmode='layer' inkscape:label='ink_ext_XXXXXX' transform='matrix(1.3333333 0 0 -1.3333333 0 767.70667)'%3E%3Cg id='g10' transform='scale(0.1)'%3E%3Cpath d='m 3844.89 5757.79 c -1190.76 0 -2159.54 -969.65 -2159.54 -2161.59 0 -1188.33 968.78 -2155.12 2159.54 -2155.12 1187.08 0 2152.82 966.79 2152.82 2155.12 0 1191.94 -965.74 2161.59 -2152.82 2161.59' style='fill:%23ff424d%3Bfill-opacity:1%3Bfill-rule:evenodd%3Bstroke:none' id='path12' /%3E%3Cpath d='M 0 0 H 1054.41 V 5757.81 H 0 V 0' style='fill:%23ff424d%3Bfill-opacity:1%3Bfill-rule:evenodd%3Bstroke:none' id='path14' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
}
#n-Ko-fi {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FA5E5C' d='M23.881 9.005C23.108 4.998 19.022 4.5 19.022 4.5H.723c-.604 0-.679.783-.679.783s-.082 7.184-.022 11.596C.186 19.257 2.608 19.5 2.608 19.5s8.267-.022 11.966-.048c2.438-.418 2.683-2.517 2.658-3.663 4.352.236 7.422-2.777 6.649-6.784zm-11.062 3.444c-1.246 1.425-4.011 3.9-4.011 3.9s-.121.117-.31.022a1.047 1.047 0 0 1-.108-.088c-.443-.432-3.368-2.991-4.034-3.879-.709-.947-1.041-2.648-.091-3.639.951-.99 3.005-1.064 4.363.4 0 0 1.565-1.748 3.468-.945 1.904.805 1.832 2.954.723 4.229zm6.173.469c-.928.114-1.682.027-1.682.027V7.373h1.77s1.971.541 1.971 2.588c0 1.876-.985 2.616-2.059 2.957z'/%3E%3C/svg%3E")
}
#n-PayPal > a:hover {
background-color: transparent !important;
}
#n-Patreon > a:hover {
background-color: transparent !important;
}
#n-Ko-fi > a:hover {
background-color: transparent !important;
}
#mw-related-navigation {
width: 316px !important;
height: 100% !important;
overflow: clip;
}
#elwiki_right_sidebar {
height: 100% !important;
max-height: 100% !important;
}
#elwiki_instream {
width: 316px !important;
margin-bottom: 15px;
}
@media only screen and (max-width: 1330px) {
#elwiki_right_sidebar {
display:none;
}
#elwiki_instream {
display:none;
}
}