MediaWiki:Basic.css: Difference between revisions
From Elwiki
No edit summary Tag: Reverted |
No edit summary |
||
(16 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
/* | /* Generic elements */ | ||
hr { | |||
border: none; | |||
height: 1px; | |||
background-color: var(--border-color); | |||
} | } | ||
.main-accent { | |||
color: var(--accent-color); | |||
} | } | ||
.clearfix { | |||
clear: both; | |||
} | } | ||
.left { | |||
text-align: left; | |||
text- | |||
} | } | ||
b, | |||
th, | |||
.mw-changeslist-line-watched .mw-title { | |||
font-weight: 500; | |||
} | } | ||
.sig .sig-icon { | |||
border-radius: 50%; | |||
display: inline-flex; | |||
background: white; | |||
padding: 2px; | |||
border: 2px solid black; | |||
width: 16px; | |||
height: 16px; | |||
place-content: center; | |||
place-items: center; | |||
margin: 0 5px; | |||
position: relative; | |||
top: 2px; | |||
} | } | ||
.sig .sig-icon .image { | |||
display: inline-flex; | |||
} | } | ||
.sig .sig-icon img { | |||
border-radius: 50%; | |||
border- | margin-left: 1px; | ||
} | } | ||
. | .wikiEditor-ui-toolbar { | ||
background-image: none; | |||
background-color: var(--theme-tone-5); | |||
} | } | ||
.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; | |||
. | |||
color: | |||
} | } | ||
. | .tone-4 { | ||
background-color: var(--theme-tone-4) !important; | |||
color: | |||
} | } | ||
.tone-5 { | |||
background-color: | background-color: var(--theme-tone-5) !important; | ||
} | } | ||
.tone-6 { | |||
background-color: var(--theme-tone-6) !important; | |||
. | |||
background- | |||
} | } | ||
. | .tone-7 { | ||
background-color: var(--theme-tone-7) !important; | |||
} | } | ||
. | .tone-7-hover:hover { | ||
background-color: var(--theme-tone-7) !important; | |||
background-color: | |||
} | } | ||
. | .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 { | ||
color: var(--text-color)!important; | |||
} | } | ||
. | .color-normal-force-link a { | ||
color: var(--text-color) !important; | |||
} | } | ||
. | .accent-color { | ||
background-color: var(--accent-color) !important; | |||
} | } | ||
. | .accent-textcolor, | ||
. | .accent-textcolor a { | ||
color: var(--accent-color) !important; | |||
color: | |||
} | } | ||
. | .accent-color-hover:hover { | ||
background-color: var(--accent-color) !important; | |||
} | } | ||
/* Font */ | |||
html { | |||
font-size: 104.5%; | |||
overflow-x: hidden; | |||
- | |||
} | } | ||
@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; | |||
} | } | ||
.fancy-font { | |||
font-family: "Heading" !important; | |||
font-family: " | |||
} | } | ||
html *:not(.wikiEditor-ui *, .mw-editfont-monospace), | |||
#p-logo-text a { | |||
font-family: "SegoeUI", "Frutiger", "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", "Arial", sans-serif; | |||
} | } | ||
#contentSub { | |||
margin-bottom: 7px; | |||
} | } | ||
* { | /* Tables */ | ||
table[cellpadding="5"][border="1"][style], | |||
table[cellpadding="5"][border="1"][style] td, | |||
table[cellpadding="5"][border="1"][style] th, | |||
table[cellpadding="5"][border="1"][class], | |||
table[cellpadding="5"][border="1"][class] td, | |||
table[cellpadding="5"][border="1"][class] 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*='background']:not(.wikitable tr, .updates-section-table tr, .alt-langs tr), | ||
. | 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.colored-table td { | ||
border: 1px solid rgb(71, 71, 71) !important; | |||
} | } | ||
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: var(--border-color-tone-2) !important; | |||
} | } | ||
tr[style*="#414243"] th { | |||
border-color: var(--border-color-tone-2) !important; | |||
} | } | ||
.updates-table td:is(:nth-child(3), :nth-child(4), :nth-child(2)[colspan]) { | |||
text-align: left; | |||
} | } | ||
.force-white, | |||
.force-white a { | |||
color: white !important; | |||
text-shadow: 1px 1px 1px #000; | |||
} | } | ||
.force-black, | |||
. | .force-black a { | ||
color: black !important; | |||
text-shadow: none !important; | |||
} | } | ||
/* Topbar */ | |||
#personal span { | |||
font-weight: 500; | |||
} | } | ||
#mw-header-hack { | |||
border-bottom: 1px solid var(--border-color); | |||
} | } | ||
#personal-inner { | |||
border-radius: 5px; | |||
border-color: var(--border-color); | |||
} | } | ||
#personal h2 { | |||
color: var(--text-color); | |||
} | } | ||
#p-personal-label { | |||
display: none!important; | |||
display: | |||
} | } | ||
#personal .dropdown .mw-portlet > div, #personal .dropdown .mw-portlet-body, #mw-site-navigation .sidebar-chunk .mw-portlet > div, #mw-related-navigation .sidebar-chunk .mw-portlet > div, #mw-site-navigation .sidebar-chunk .mw-portlet-body, #mw-related-navigation .sidebar-chunk .mw-portlet-body { | |||
margin-bottom: 0; | |||
} | } | ||
#searchButton { | |||
background-position: top right; | |||
box-shadow: none; | |||
background-image: url("https://elwiki.net/wiki/images/e/e4/UI_-_Search.png"); | |||
background-size: 34px; | |||
right: 0; | |||
margin-top: -1px; | |||
background: | |||
} | } | ||
#searchButton:hover { | |||
filter: brightness(1.1); | |||
} | } | ||
#mw-searchButton { | |||
display: none; | |||
} | } | ||
#searchInput { | |||
padding: 1em; | |||
transition: box-shadow 0.3s; | |||
border- | border-color: var(--border-color); | ||
letter-spacing: 0.7px; | |||
} | } | ||
#searchInput:focus { | |||
outline: none; | |||
box-shadow: 2px 2px 5px rgb(0 0 0 / 20%); | |||
} | } | ||
#simpleSearch { | |||
border-radius: 5px; | |||
border- | |||
box-shadow: none; | box-shadow: none; | ||
border-color: var(--border-color) !important; | |||
} | } | ||
. | #p-logo-text a { | ||
letter-spacing: 1.5px; | |||
font-weight: 500; | |||
color: rgb(60, 60, 60); | |||
display: flex; | |||
place-items: center; | |||
place-content: center; | |||
text-decoration: none !important; | |||
margin-top: -5px; | |||
margin: | gap: 2px; | ||
padding: 0; | |||
} | } | ||
a#p-banner::before { | |||
content: ""; | content: ""; | ||
height: 37px; | |||
width: 37px; | |||
display: block; | display: block; | ||
background-image: url(https://elwiki.net/wiki/images/thumb/e/ee/UI_-_Hedgehog_Event.png/37px-UI_-_Hedgehog_Event.png); | |||
background-repeat: no-repeat; | |||
background-color: transparent; | |||
position: relative; | |||
margin-top: 4px; | |||
} | } | ||
label[for="mw-whatlinkshere-target"] { | |||
border: 0; | |||
} | } | ||
. | .mw-body-content .bannerbox a > img { | ||
max-width: initial !important; | |||
} | } | ||
. | .suggestions-result-current { | ||
background: var(--accent-color) !important; | |||
} | } | ||
. | .highlight { | ||
font-weight: 500; | font-weight: 500; | ||
} | } | ||
#personal h2 { | |||
background-image: none; | |||
padding-top: 3px; | |||
padding-left: 5px; | |||
letter-spacing: 0.75px; | |||
} | } | ||
#personal h2::after { | |||
width: 0; | |||
height: 0 !important; | |||
border: 0 solid transparent; | |||
border-left-width: 6px; | |||
border-right-width: 6px; | |||
border-top: 6px solid var(--border-color-tone-2); | |||
background-image: none; | |||
position: relative; | position: relative; | ||
top: -7px; | |||
margin-left: 10px; | |||
} | } | ||
#p-personal-label { | |||
display: none; | |||
} | } | ||
#personal-inner { | |||
padding: 0 !important; | |||
#personal-inner | |||
padding | |||
} | } | ||
#mw- | #personal .dropdown .mw-portlet-body { | ||
margin-bottom: 0; | |||
margin- | |||
} | } | ||
# | #personal .dropdown li { | ||
padding: 0; | padding: 0; | ||
} | } | ||
. | #personal .dropdown li a { | ||
padding: 0. | border: 0.25em solid var(--theme-tone-6); | ||
display: block; | |||
padding: 0.4em; | |||
color: var(--text-color); | |||
border-radius: 6px; | |||
font-size: 1.02em; | font-size: 1.02em; | ||
letter-spacing: 0.03em; | letter-spacing: 0.03em; | ||
transition: background-color 0.3s, color 0.2s; | transition: background-color 0.3s, color 0.2s; | ||
border-bottom: none; | border-bottom: none; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
. | #personal .dropdown li:last-child a { | ||
border-bottom: 0.25em solid var(--theme-tone-6); | |||
} | } | ||
# | #personal .dropdown li:hover a { | ||
background-color: var(--accent-color); | |||
color: white; | |||
} | } | ||
#mw- | #mw-wrapper #mw-header .dropdown { | ||
display: block !important; | |||
opacity: 0; | |||
pointer-events: none; | |||
transform: scale(0); | |||
transform-origin: top right; | |||
transition: 0.15s; | |||
} | } | ||
. | #mw-wrapper #mw-header .dropdown-active .dropdown { | ||
display: block !important; | |||
transform: scale(1); | |||
opacity: 1; | |||
pointer-events: all; | pointer-events: all; | ||
} | } | ||
.suggestions .suggestions-result { | |||
padding: 0.5em 1em; | |||
padding: 0. | |||
} | } | ||
.suggestions .suggestions-special { | |||
padding: 0.5em 1em; | |||
} | } | ||
. | .suggestions .suggestions-result-current, | ||
.suggestions-result-current .special-query { | |||
color: white !important; | |||
} | } | ||
/* Footer */ | |||
#mw- | #mw-footer { | ||
padding-left: 0; | |||
padding-right: 0; | |||
max-width: 100%; | |||
} | } | ||
# | #footer-info { | ||
width: 65vw; | |||
margin: auto; | |||
} | } | ||
#mw-footer-container { | |||
#mw- | margin: auto; | ||
border- | border: none; | ||
box-shadow: none; | |||
color: var(--text-color); | |||
} | } | ||
#mw- | #mw-footer-container a, | ||
#mw-footer-container a:hover { | |||
color: var(--accent-color) !important; | |||
transition: 0.3s; | |||
#mw- | |||
font-weight: 500; | font-weight: 500; | ||
transition: opacity 0.3s; | |||
} | } | ||
#mw-footer-container a:hover { | |||
opacity: 0.65; | |||
} | } | ||
#footer-places { | |||
display: flex; | display: flex; | ||
place-content: center; | place-content: center; | ||
border-top: 1px solid var(--border-color); | |||
margin-top: 0; | |||
margin-bottom: 0; | |||
background: var(--theme-tone-5); | |||
margin-top: 0 | |||
margin- | |||
} | } | ||
.mw- | .mw-footer #footer-places li { | ||
margin: 0; | margin: 0; | ||
border-right: 1px solid var(--border-color); | |||
width: 16vw; | |||
text-align: center; | |||
} | } | ||
.mw- | .mw-footer #footer-places li:first-child { | ||
border-left: 1px solid var(--border-color); | |||
} | } | ||
#mw-footer-container #footer-places a { | |||
padding: 0.5rem; | |||
display: block; | |||
color: var(--text-color) !important; | |||
transition: 0.3s !important; | |||
} | } | ||
#footer-places a:hover { | |||
background-color: var(--theme-tone-7); | background-color: var(--theme-tone-7); | ||
} | } | ||
#mw-footer-container #footer-places a:hover { | |||
color: var(--accent-color) !important; | |||
} | } | ||
.mw-footer .footer-icons { | |||
. | padding-right: 1rem; | ||
} | } | ||
. | .colortable td { | ||
background-color: transparent!important; | |||
font-weight: 500; | |||
color: black!important; | |||
} | } | ||
.dark-mode .dark-mode-only, | |||
:not(.dark-mode) .light-mode-only { | |||
. | |||
. | |||
display: block; | display: block; | ||
} | } | ||
:not(.dark-mode) .dark-mode-only, | |||
.dark-mode .light-mode-only { | |||
display: none; | |||
} | } | ||
.mobileonly { | |||
/* display: none; */ | |||
/* | |||
} | } |
Latest revision as of 14:36, 6 March 2024
/* Generic elements */
hr {
border: none;
height: 1px;
background-color: var(--border-color);
}
.main-accent {
color: var(--accent-color);
}
.clearfix {
clear: both;
}
.left {
text-align: left;
}
b,
th,
.mw-changeslist-line-watched .mw-title {
font-weight: 500;
}
.sig .sig-icon {
border-radius: 50%;
display: inline-flex;
background: white;
padding: 2px;
border: 2px solid black;
width: 16px;
height: 16px;
place-content: center;
place-items: center;
margin: 0 5px;
position: relative;
top: 2px;
}
.sig .sig-icon .image {
display: inline-flex;
}
.sig .sig-icon img {
border-radius: 50%;
margin-left: 1px;
}
.wikiEditor-ui-toolbar {
background-image: none;
background-color: var(--theme-tone-5);
}
.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 {
color: var(--text-color)!important;
}
.color-normal-force-link a {
color: var(--text-color) !important;
}
.accent-color {
background-color: var(--accent-color) !important;
}
.accent-textcolor,
.accent-textcolor a {
color: var(--accent-color) !important;
}
.accent-color-hover:hover {
background-color: var(--accent-color) !important;
}
/* Font */
html {
font-size: 104.5%;
overflow-x: hidden;
}
@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;
}
.fancy-font {
font-family: "Heading" !important;
}
html *:not(.wikiEditor-ui *, .mw-editfont-monospace),
#p-logo-text a {
font-family: "SegoeUI", "Frutiger", "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", "Arial", sans-serif;
}
#contentSub {
margin-bottom: 7px;
}
/* Tables */
table[cellpadding="5"][border="1"][style],
table[cellpadding="5"][border="1"][style] td,
table[cellpadding="5"][border="1"][style] th,
table[cellpadding="5"][border="1"][class],
table[cellpadding="5"][border="1"][class] td,
table[cellpadding="5"][border="1"][class] 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*='background']:not(.wikitable tr, .updates-section-table tr, .alt-langs tr),
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.colored-table td {
border: 1px solid rgb(71, 71, 71) !important;
}
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: var(--border-color-tone-2) !important;
}
tr[style*="#414243"] th {
border-color: var(--border-color-tone-2) !important;
}
.updates-table td:is(:nth-child(3), :nth-child(4), :nth-child(2)[colspan]) {
text-align: left;
}
.force-white,
.force-white a {
color: white !important;
text-shadow: 1px 1px 1px #000;
}
.force-black,
.force-black a {
color: black !important;
text-shadow: none !important;
}
/* Topbar */
#personal span {
font-weight: 500;
}
#mw-header-hack {
border-bottom: 1px solid var(--border-color);
}
#personal-inner {
border-radius: 5px;
border-color: var(--border-color);
}
#personal h2 {
color: var(--text-color);
}
#p-personal-label {
display: none!important;
}
#personal .dropdown .mw-portlet > div, #personal .dropdown .mw-portlet-body, #mw-site-navigation .sidebar-chunk .mw-portlet > div, #mw-related-navigation .sidebar-chunk .mw-portlet > div, #mw-site-navigation .sidebar-chunk .mw-portlet-body, #mw-related-navigation .sidebar-chunk .mw-portlet-body {
margin-bottom: 0;
}
#searchButton {
background-position: top right;
box-shadow: none;
background-image: url("https://elwiki.net/wiki/images/e/e4/UI_-_Search.png");
background-size: 34px;
right: 0;
margin-top: -1px;
}
#searchButton:hover {
filter: brightness(1.1);
}
#mw-searchButton {
display: none;
}
#searchInput {
padding: 1em;
transition: box-shadow 0.3s;
border-color: var(--border-color);
letter-spacing: 0.7px;
}
#searchInput:focus {
outline: none;
box-shadow: 2px 2px 5px rgb(0 0 0 / 20%);
}
#simpleSearch {
border-radius: 5px;
box-shadow: none;
border-color: var(--border-color) !important;
}
#p-logo-text a {
letter-spacing: 1.5px;
font-weight: 500;
color: rgb(60, 60, 60);
display: flex;
place-items: center;
place-content: center;
text-decoration: none !important;
margin-top: -5px;
gap: 2px;
padding: 0;
}
a#p-banner::before {
content: "";
height: 37px;
width: 37px;
display: block;
background-image: url(https://elwiki.net/wiki/images/thumb/e/ee/UI_-_Hedgehog_Event.png/37px-UI_-_Hedgehog_Event.png);
background-repeat: no-repeat;
background-color: transparent;
position: relative;
margin-top: 4px;
}
label[for="mw-whatlinkshere-target"] {
border: 0;
}
.mw-body-content .bannerbox a > img {
max-width: initial !important;
}
.suggestions-result-current {
background: var(--accent-color) !important;
}
.highlight {
font-weight: 500;
}
#personal h2 {
background-image: none;
padding-top: 3px;
padding-left: 5px;
letter-spacing: 0.75px;
}
#personal h2::after {
width: 0;
height: 0 !important;
border: 0 solid transparent;
border-left-width: 6px;
border-right-width: 6px;
border-top: 6px solid var(--border-color-tone-2);
background-image: none;
position: relative;
top: -7px;
margin-left: 10px;
}
#p-personal-label {
display: none;
}
#personal-inner {
padding: 0 !important;
}
#personal .dropdown .mw-portlet-body {
margin-bottom: 0;
}
#personal .dropdown li {
padding: 0;
}
#personal .dropdown li a {
border: 0.25em solid var(--theme-tone-6);
display: block;
padding: 0.4em;
color: var(--text-color);
border-radius: 6px;
font-size: 1.02em;
letter-spacing: 0.03em;
transition: background-color 0.3s, color 0.2s;
border-bottom: none;
text-decoration: none;
}
#personal .dropdown li:last-child a {
border-bottom: 0.25em solid var(--theme-tone-6);
}
#personal .dropdown li:hover a {
background-color: var(--accent-color);
color: white;
}
#mw-wrapper #mw-header .dropdown {
display: block !important;
opacity: 0;
pointer-events: none;
transform: scale(0);
transform-origin: top right;
transition: 0.15s;
}
#mw-wrapper #mw-header .dropdown-active .dropdown {
display: block !important;
transform: scale(1);
opacity: 1;
pointer-events: all;
}
.suggestions .suggestions-result {
padding: 0.5em 1em;
}
.suggestions .suggestions-special {
padding: 0.5em 1em;
}
.suggestions .suggestions-result-current,
.suggestions-result-current .special-query {
color: white !important;
}
/* Footer */
#mw-footer {
padding-left: 0;
padding-right: 0;
max-width: 100%;
}
#footer-info {
width: 65vw;
margin: auto;
}
#mw-footer-container {
margin: auto;
border: none;
box-shadow: none;
color: var(--text-color);
}
#mw-footer-container a,
#mw-footer-container a:hover {
color: var(--accent-color) !important;
transition: 0.3s;
font-weight: 500;
transition: opacity 0.3s;
}
#mw-footer-container a:hover {
opacity: 0.65;
}
#footer-places {
display: flex;
place-content: center;
border-top: 1px solid var(--border-color);
margin-top: 0;
margin-bottom: 0;
background: var(--theme-tone-5);
}
.mw-footer #footer-places li {
margin: 0;
border-right: 1px solid var(--border-color);
width: 16vw;
text-align: center;
}
.mw-footer #footer-places li:first-child {
border-left: 1px solid var(--border-color);
}
#mw-footer-container #footer-places a {
padding: 0.5rem;
display: block;
color: var(--text-color) !important;
transition: 0.3s !important;
}
#footer-places a:hover {
background-color: var(--theme-tone-7);
}
#mw-footer-container #footer-places a:hover {
color: var(--accent-color) !important;
}
.mw-footer .footer-icons {
padding-right: 1rem;
}
.colortable td {
background-color: transparent!important;
font-weight: 500;
color: black!important;
}
.dark-mode .dark-mode-only,
:not(.dark-mode) .light-mode-only {
display: block;
}
:not(.dark-mode) .dark-mode-only,
.dark-mode .light-mode-only {
display: none;
}
.mobileonly {
/* display: none; */
}