MediaWiki:Common.css: Difference between revisions

From TNOpediA
Content added Content deleted
No edit summary
Tag: Reverted
m (Reverted edits by Ashibashi (talk) to last revision by Thermerite)
Tag: Rollback
Line 4: Line 4:
--link-color: #4DB6B0;
--link-color: #4DB6B0;
--link-new-color: #E08282;
--link-new-color: #E08282;
--border-color: #061016;
--border-color: white;
}
}


Line 27: Line 27:
.mw-page-container,
.mw-page-container,
.vector-feature-page-tools-enabled #vector-main-menu-pinned-container .vector-main-menu {
.vector-feature-page-tools-enabled #vector-main-menu-pinned-container .vector-main-menu {
background-color: #061016;
background-color: var(--bg-color);
color: white;
color: var(--text-color);
font-family: 'Aldrich', sans-serif;
font-family: 'Aldrich', sans-serif;
}
}
Line 66: Line 66:
.vector-sticky-header-context-bar-primary .mw-page-title-main,
.vector-sticky-header-context-bar-primary .mw-page-title-main,
figcaption {
figcaption {
color: #061016;
color: var(--bg-color);
background-color: #061016;
background-color: #061016;
}
}
Line 77: Line 77:
.wikitable {
.wikitable {
background-color: #061016;
background-color: #061016;
color: #061016;
color: #ffffff;
margin: 1em 0;
margin: 1em 0;
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
Line 102: Line 102:
.mw-normal-catlinks > ul > li > a,
.mw-normal-catlinks > ul > li > a,
.mw-normal-catlinks > a {
.mw-normal-catlinks > a {
color: #061016 !important;
color: var(--bg-color) !important;
}
}


Line 117: Line 117:
border-style: solid;
border-style: solid;
border-width: 2px;
border-width: 2px;
background-color: #061016;
background-color: #ffffff;
padding-top: 2.14285714em;
padding-top: 2.14285714em;
padding-left: 2.14285714em;
padding-left: 2.14285714em;
Line 124: Line 124:
/* Table of Contents styles */
/* Table of Contents styles */
.vector-toc {
.vector-toc {
background-color: #061016;
background-color: var(--bg-color);
border: 2px solid var(--border-color);
border: 2px solid var(--border-color);
}
}
Line 131: Line 131:
.cdx-text-input__input,
.cdx-text-input__input,
.client-js .vector-search-box-vue .vector-typeahead-search .cdx-text-input__input {
.client-js .vector-search-box-vue .vector-typeahead-search .cdx-text-input__input {
background-color: #061016;
background-color: var(--bg-color);
color: var(--text-color);
color: var(--text-color);
border-color: var(--border-color);
border-color: var(--border-color);
Line 139: Line 139:


.cdx-button:not(.cdx-button--type-quiet) {
.cdx-button:not(.cdx-button--type-quiet) {
background-color: #061016;
background-color: var(--bg-color);
border-color: var(--border-color);
border-color: var(--border-color);
color: #061016;
color: var(--bg-color);
}
}


button {
button {
background-color: #061016;
background-color: var(--bg-color);
color: var(--text-color);
color: var(--text-color);
}
}
Line 455: Line 455:
border: 1px #4DB6B0;
border: 1px #4DB6B0;
background-color: rgb(var(--theme-background-secondary));
background-color: rgb(var(--theme-background-secondary));
}

/* {{pp-template}} */
@media screen {
.sticky {
position: sticky;
top: 0;
}

body.vector-sticky-header-visible .sticky {
top: 3.125rem;
}

.sticky-header > thead {
position: sticky;
top: 0;
z-index: 10;
}

body.vector-sticky-header-visible .sticky-header > thead {
top: 3.125rem;
}

/**
* Fix scroll transparency on thead's cell background.
*/
.sticky-header {
background-color: #171D22;
}
.sticky-header thead,
.sticky-header tbody,
.sticky-header tfoot,
.sticky-header tr,
.sticky-header td,
.sticky-header:not(.wikitable) th {
background-color: inherit;
}

/**
* Fix scroll transparency on thead's cell spacing.
*/
.sticky-header:not(.wikitable) {
border-collapse: collapse;
}

/**
* Fix missing borders due to position sticky and "wikitable" collapsed
* borders.
*/
.sticky-header.wikitable {
border-collapse: separate;
border-color: #4DB6B0; /* Set so same on mobile version (#54595d). */
border-spacing: 0;
border-width: 0 1px 1px 0;
}
.sticky-header.wikitable td,
.sticky-header.wikitable th,
.sticky-header.static-row-numbers.wikitable tbody tr:not(.static-row-header)::before {
border-color: #4DB6B0; /* Set so same on mobile version (#eaecf0). */
border-width: 1px 0 0 1px !important;
}
.sticky-header.static-row-numbers.wikitable thead tr::before,
.sticky-header.static-row-numbers.wikitable .static-row-header::before {
border-left: 1px solid #4DB6B0;
}
.sticky-header.static-row-numbers.wikitable thead tr:first-child::before,
.sticky-header.static-row-numbers.wikitable .sortbottom::before, /* Sortbotton #1: all. When supported, consolidate #1-2 to tr:nth-child(1 of .sortbottom)::before */
.sticky-header.static-row-numbers.wikitable:not(.sortable) tr:first-child::before {
border-top: 1px solid #4DB6B0;
}
.sticky-header.static-row-numbers.wikitable .sortbottom ~ .sortbottom::before { /* Sortbottom #2: all minus 1st. */
border-top: 0;
}
}

/**
* Reset Wikipedia styles causing sticky and float issues on mobile.
* Note: Fixes mobile version on Windows desktop, but not Android portrait mode.
*/
@media all and (max-width: 720px) {
.sticky-header {
display: table; /* Was "block" */
}
.sticky-header caption {
display: table-caption; /* Was "block" */
}
}

/* {{pp-template}} */
.defaultleft { text-align:left; }
.defaultcenter { text-align:center; }
.defaultright { text-align:right; }

.col1left td:nth-child(1),
.col2left td:nth-child(2),
.col3left td:nth-child(3),
.col4left td:nth-child(4),
.col5left td:nth-child(5),
.col6left td:nth-child(6),
.col7left td:nth-child(7),
.col8left td:nth-child(8),
.col9left td:nth-child(9),
.col10left td:nth-child(10),
.col11left td:nth-child(11),
.col12left td:nth-child(12),
.col13left td:nth-child(13),
.col14left td:nth-child(14),
.col15left td:nth-child(15),
.col16left td:nth-child(16),
.col17left td:nth-child(17),
.col18left td:nth-child(18),
.col19left td:nth-child(19) { text-align:left; }

.col1center td:nth-child(1),
.col2center td:nth-child(2),
.col3center td:nth-child(3),
.col4center td:nth-child(4),
.col5center td:nth-child(5),
.col6center td:nth-child(6),
.col7center td:nth-child(7),
.col8center td:nth-child(8),
.col9center td:nth-child(9),
.col10center td:nth-child(10),
.col11center td:nth-child(11),
.col12center td:nth-child(12),
.col13center td:nth-child(13),
.col14center td:nth-child(14),
.col15center td:nth-child(15),
.col16center td:nth-child(16),
.col17center td:nth-child(17),
.col18center td:nth-child(18),
.col19center td:nth-child(19) { text-align:center; }

.col1right td:nth-child(1),
.col2right td:nth-child(2),
.col3right td:nth-child(3),
.col4right td:nth-child(4),
.col5right td:nth-child(5),
.col6right td:nth-child(6),
.col7right td:nth-child(7),
.col8right td:nth-child(8),
.col9right td:nth-child(9),
.col10right td:nth-child(10),
.col11right td:nth-child(11),
.col12right td:nth-child(12),
.col13right td:nth-child(13),
.col14right td:nth-child(14),
.col15right td:nth-child(15),
.col16right td:nth-child(16),
.col17right td:nth-child(17),
.col18right td:nth-child(18),
.col19right td:nth-child(19) { text-align:right; }

/* {{pp-template}} */
/**
* Add a static (unsortable) column of numbers to the left of a table.
* Optionally disable numbers on specific rows for headers (no borders) or data
* (borders). Optionally display column header text: "No." or hash ("#").
*
* Tested:
* - Windows 10: Chrome, Edge, and Firefox (all skins).
* - Android Galaxy S21: Chrome, Firefox (MinervaNeue skin).
* - Wikipedia Android app.
* - Sticky gadget in Windows browsers (default skin).
* - Dark Reader browser extention in Windows browsers (default skin).
*
* Notes:
* - Sortable moves to thead any header rows and (after sort) sorttop rows.
* - Sticky gadget (.mw-sticky-header) moves to thead any wikitable header rows.
*/
.static-row-numbers {
counter-reset: rowNumber;
}

.static-row-numbers tr::before {
content: "";
display: table-cell;
padding-right: 0.5em;
padding-left: 0.5em;
text-align: right;
vertical-align: inherit;
}

.static-row-numbers.wikitable tr::before {
background-color: #171D22;
}

/**
* Add count to all tbody rows except for two classes. If no thead, skip the
* first tbody row which may not have one of the two classes:
*/
.static-row-numbers.sortable tbody tr:not(.static-row-header):not(.static-row-numbers-norank)::before,
.static-row-numbers.mw-sticky-header tbody tr:not(.static-row-header):not(.static-row-numbers-norank)::before,
.static-row-numbers:not(.sortable) tbody tr:not(:first-child):not(.static-row-header):not(.static-row-numbers-norank)::before {
counter-increment: rowNumber;
content: counter(rowNumber);
}

/**
* Add column label to first row in thead or, if no thead, in tbody:
*/
.static-row-header-text.static-row-numbers thead tr:first-of-type::before,
.static-row-header-text.static-row-numbers.wikitable:not(.sortable):not(.mw-sticky-header) tbody tr:first-of-type::before,
.static-row-header-text.static-row-numbers:not(.wikitable):not(.sortable) tbody tr:first-of-type::before {
content: "No.";
font-weight: bold;
}
.static-row-header-hash.static-row-numbers thead tr:first-of-type::before,
.static-row-header-hash.static-row-numbers.wikitable:not(.sortable):not(.mw-sticky-header) tbody tr:first-of-type::before,
.static-row-header-hash.static-row-numbers:not(.wikitable):not(.sortable) tbody tr:first-of-type::before {
content: "#";
font-weight: bold;
}

/**
* Add borders in numbers column.
*
* Selectors with "body" need them.
* Windows Firefox tr::before doesn't inherit colors, so hard set.
* Plain table borders on Timeless {{row hover highlight}} mw-datatable.
*/
/* Wikitable. */
.static-row-numbers.wikitable.sortable tbody tr:not(.static-row-header)::before,
.static-row-numbers.wikitable.mw-sticky-header tbody tr:not(.static-row-header)::before,
.static-row-numbers.wikitable:not(.sortable):not(.mw-sticky-header) tbody tr:not(:first-child):not(.static-row-header)::before {
border: 1px solid #4DB6B0;
}
body.skin-vector-2022 .static-row-numbers.wikitable.sortable tbody tr:not(.static-row-header)::before,
body.skin-vector-2022 .static-row-numbers.wikitable.mw-sticky-header tbody tr:not(.static-row-header)::before,
body.skin-vector-2022 .static-row-numbers.wikitable:not(.sortable):not(.mw-sticky-header) tbody tr:not(:first-child):not(.static-row-header)::before {
border: 1px solid #4DB6B0;
}
body.skin-timeless .static-row-numbers.wikitable.sortable tbody tr:not(.static-row-header)::before,
body.skin-timeless .static-row-numbers.wikitable.mw-sticky-header tbody tr:not(.static-row-header)::before,
body.skin-timeless .static-row-numbers.wikitable:not(.sortable):not(.mw-sticky-header) tbody tr:not(:first-child):not(.static-row-header)::before {
border: 1px solid #4DB6B0;
}
body.skin-minerva .static-row-numbers.wikitable.sortable tbody tr:not(.static-row-header)::before,
body.skin-minerva .static-row-numbers.wikitable.mw-sticky-header tbody tr:not(.static-row-header)::before,
body.skin-minerva .static-row-numbers.wikitable:not(.sortable):not(.mw-sticky-header) tbody tr:not(:first-child):not(.static-row-header)::before {
border: 1px solid #4DB6B0;
}
/* Plain with border. */
table[border].static-row-numbers.sortable:not(.wikitable) tbody tr:not(.static-row-header)::before,
table[border].static-row-numbers.mw-sticky-header:not(.wikitable) tbody tr:not(.static-row-header)::before,
table[border].static-row-numbers:not(.sortable):not(.wikitable) tbody tr:not(:first-child):not(.static-row-header)::before {
border: 1px inset #4DB6B0;
}
body.skin-vector-2022 table[border].static-row-numbers.sortable:not(.wikitable) tbody tr:not(.static-row-header)::before,
body.skin-vector-2022 table[border].static-row-numbers.mw-sticky-header:not(.wikitable) tbody tr:not(.static-row-header)::before,
body.skin-vector-2022 table[border].static-row-numbers:not(.sortable):not(.wikitable) tbody tr:not(:first-child):not(.static-row-header)::before,
body.skin-timeless table[border].static-row-numbers.sortable:not(.wikitable):not(.mw-datatable) tbody tr:not(.static-row-header)::before,
body.skin-timeless table[border].static-row-numbers.mw-sticky-header:not(.wikitable):not(.mw-datatable) tbody tr:not(.static-row-header)::before,
body.skin-timeless table[border].static-row-numbers:not(.sortable):not(.wikitable):not(.mw-datatable) tbody tr:not(:first-child):not(.static-row-header)::before {
border: 1px inset #171D22;
}
body.skin-minerva table[border].static-row-numbers.sortable:not(.wikitable) tbody tr:not(.static-row-header)::before,
body.skin-minerva table[border].static-row-numbers.mw-sticky-header:not(.wikitable) tbody tr:not(.static-row-header)::before,
body.skin-minerva table[border].static-row-numbers:not(.sortable):not(.wikitable) tbody tr:not(:first-child):not(.static-row-header)::before {
border: 1px inset gray;
}
/* Plain + .mw-datatable, optional border. */
body.skin-timeless .static-row-numbers.mw-datatable.sortable:not(.wikitable) tbody tr:not(.static-row-header)::before,
body.skin-timeless .static-row-numbers.mw-datatable.mw-sticky-header:not(.wikitable) tbody tr:not(.static-row-header)::before,
body.skin-timeless .static-row-numbers.mw-datatable:not(.sortable):not(.mw-sticky-header):not(.wikitable) tbody tr:not(:first-child):not(.static-row-header)::before {
border: 1px solid #4DB6B0;
}
}

Revision as of 13:51, 6 February 2024

:root {
  --bg-color: #061016;
  --text-color: white;
  --link-color: #4DB6B0;
  --link-new-color: #E08282;
  --border-color: white;
}

/* Use the TNO font */
@font-face {
  font-family: 'Aldrich';
  font-style: normal;th
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/aldrich/v21/MCoTzAn-1s3IGyJMVacY3w.woff2) format('woff2');
}

/* Overrides default mediawiki colors and applies the dark bg and white text */
body,
h1, h2, h3, h4, h5, h6,
.vector-pinnable-header-label,
.vector-feature-page-tools-enabled .vector-pinnable-element .vector-menu-heading,
.vector-dropdown-content .vector-menu-heading,
.footer,
.footer-navigation,
.footer-info,
.mw-footer li,
.mw-page-container,
.vector-feature-page-tools-enabled #vector-main-menu-pinned-container .vector-main-menu {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Aldrich', sans-serif;
}

.mw-page-title-main {
  font-family: 'Aldrich', sans-serif;
}

/*Bullet list coloring*/
ul li::marker {
    color: #4DB6B0!important;
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
    text-transform: none;
    text-indent: 0px !important;
    text-align: start !important;
    text-align-last: start !important;
}


/*Infobox collapsable stylying*/
pre, .mw-code {
    padding: 0;
    white-space: pre-wrap;
    overflow-x: hidden;
    word-wrap: break-word;
}

mw-collapsible-content, pre, code, .mw-code {
    background-color: #212b2a00;
    color: #c9c9c9;
    border: 1px solid #4DB6B0;	 
}

/* Make this text dark instead */
#firstHeadingTitle .mw-page-title-main,
.vector-sticky-header-context-bar-primary .mw-page-title-main,
figcaption {
  color: var(--bg-color);
  background-color: #061016;
}
/* Sticky Header */
.vector-sticky-header {
	background-color: #061016;
}

/* Wikitables or Tables */
.wikitable {
    background-color: #061016;
    color: #ffffff;
    margin: 1em 0;
    border: 1px solid #a2a9b1;
    border-collapse: collapse
}

.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: #161616;
}

/* Change the color of all of the links and add a glow effect */
a {
  color: var(--link-color) !important;
  text-shadow: 0 0 3px rgba(34, 200, 247, 0.8);
}

a.new {
  color: var(--link-new-color) !important;
  text-shadow: 0 0 3px rgba(224, 130, 130, 0.8);
}indo


/* But make these links dark instead */
.mw-normal-catlinks > ul > li > a,
.mw-normal-catlinks > a {
  color: var(--bg-color) !important;
}

/* Removes the fade effect from all elements */
*::after {
  display: none !important;
}

/* Slideshows or Slide Show buttons Stylying */
.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button {
    min-width: 32px;
    min-height: 32px;
    border-color: #bfddff;
    border-style: solid;
    border-width: 2px;
    background-color: #ffffff;
    padding-top: 2.14285714em;
    padding-left: 2.14285714em;
}

/* Table of Contents styles */
.vector-toc {
  background-color: var(--bg-color);
  border: 2px solid var(--border-color);
}

/* Search bar styles */
.cdx-text-input__input,
.client-js .vector-search-box-vue .vector-typeahead-search .cdx-text-input__input {
  background-color: var(--bg-color);
  color: var(--text-color);
  border-color: var(--border-color);
  border-width: 2px;
  border-right-color: var(--text-color);
}

.cdx-button:not(.cdx-button--type-quiet) {
  background-color: var(--bg-color);
  border-color: var(--border-color);
  color: var(--bg-color);
}

button {
  background-color: var(--bg-color);
  color: var(--text-color);
}

.mw-ui-button {
	filter: invert(100%) !important;
}
/*****Custom cursor *****/ 
/*Global cursor */ 
body {
     cursor: url('/wiki/Special:FilePath/TNOCursor.png'), pointer; 
} 
/*Link cursor */
a:hover {
     cursor: url('/wiki/Special:FilePath/TNOHover.png'), pointer; 
}

/* Infobox template style */
.infobox {
	border: 1px solid #4DB6B0;
	border-spacing: 3px;
	background-color: #171D22;
	color: #4DB6B0;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
}
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	padding: 0.2em;
	text-align: center;
}
.infobox td,
.infobox th {
	vertical-align: top;
	/* @noflip */
	text-align: left;
}
.infobox.bordered {
	border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
	border: 1px solid #4DB6B0;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
	border: 0;
}

.infobox.sisterproject {
	width: 20em;
	font-size: 90%;
}

.infobox.standard-talk {
	border: 1px solid #4DB6B0;
	background-color: #061016;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
	border: 1px solid #4DB6B0;
}

/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
	border: 0;
	border-top: 1px solid #4DB6B0;
	/* @noflip */
	border-right: 1px solid #4DB6B0;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
	border: 0;
	/* @noflip */
	border-right: 1px solid #4DB6B0;
}

/* Styles for geography infoboxes, eg countries,
   country subdivisions, cities, etc.            */
.infobox.geography {
	border-collapse: collapse;
	line-height: 1.2em;
	font-size: 90%;
}

.infobox.geography  td,
.infobox.geography  th {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.2em 0.6em;
}

.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
	border: 0;
	padding: 0 0.6em 0.2em 0.6em;
}

.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
	border-top: 0;
	border-bottom: 1px solid #a2a9b1;
	padding: 0 0.6em 0.4em 0.6em;
}

.infobox.geography .maptable td,
.infobox.geography .maptable th {
	border: 0;
	padding: 0;
}

/* See: https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue/issues/46 */
.tabber__section pre {
  display: none;
}

/* Default style for navigation boxes */
.navbox {                     /* Navbox container style */
	box-sizing: border-box;
	border: 1px solid #4DB6B0;
	width: 100%;
	clear: both;
	font-size: 88%;
	text-align: center;
	padding: 1px;
	margin: 1em auto 0;       /* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
	margin-top: 0;            /* No top margin for nested navboxes */
}
.navbox + .navbox {
	margin-top: -1px;         /* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
	width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
	padding: 0.25em 1em;      /* Title, group and above/below styles */
	line-height: 1.5em;
	text-align: center;
}
th.navbox-group {             /* Group style */
	white-space: nowrap;
	/* @noflip */
	text-align: right;
}
.navbox,
.navbox-subgroup {
	background-color: #151D23; /* Background color */
}
.navbox-list {
	line-height: 1.5em;
	border-color: #151D23;    /* Must match background color */
}
/* cell spacing for navbox cells */
tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list {    /* Borders above 2nd, 3rd, etc. rows */
	border-top: 2px solid #151D23; /* Must match background color */
}
.navbox th,
.navbox-title {
	background-color: #151D23;      /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
	background-color: #91E2DD;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
	background-color: #91E2DD;      /* Level 3 color */
}
.navbox-even {
	background-color: #3B5263;      /* Even row striping */
}
.navbox-odd {
	background-color: #151D23;  /* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
	padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}

/* Import Aldrich Cyrillic font */
@font-face {
    font-family: 'Aldrich Cyrillic';
    font-style: normal;
    font-weight: 400;
    src: local('Aldrich Cyrillic'), local('Aldrich Cyrillic'),
        url(https://fontsisland.com/font/aldrich-5brus-by-daymarius5d.woff) format('woff'),
        url(https://fontsisland.com/font/aldrich-5brus-by-daymarius5d.ttf) format('truetype');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

/*Scrollbar*/
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
::-webkit-scrollbar-thumb {
    background: #4DB6B0;
}
::-webkit-scrollbar-thumb:hover {
    background: #4DB6B0 !important;
}
::-webkit-scrollbar-thumb:active {
    background: #4DB6B0 !important;
}

/* Image frame fix */
figure:is([typeof~="mw:File/Thumb"],
[typeof~="mw:File/Frame"],
[typeof~="mw:Image/Thumb"],
[typeof~="mw:Video/Thumb"],
[typeof~="mw:Audio/Thumb"],
[typeof~="mw:Image/Frame"],
[typeof~="mw:Video/Frame"],
[typeof~="mw:Audio/Frame"]),
figure:is([typeof~="mw:File/Thumb"],
[typeof~="mw:File/Frame"],
[typeof~="mw:Image/Thumb"],
[typeof~="mw:Video/Thumb"],
[typeof~="mw:Audio/Thumb"],
[typeof~="mw:Image/Frame"],
[typeof~="mw:Video/Frame"],
[typeof~="mw:Audio/Frame"]) > :is(a, span):first-child > *:first-child:not(.mw-broken-media),
div.thumbinner,
.gallerytext {
  background-color: #171D22;
  border: #4DB6B0;
  color: var(--theme-secondary);
}

figure:is([typeof~="mw:File/Thumb"],
[typeof~="mw:File/Frame"],
[typeof~="mw:Image/Thumb"],
[typeof~="mw:Video/Thumb"],
[typeof~="mw:Audio/Thumb"],
[typeof~="mw:Image/Frame"],
[typeof~="mw:Video/Frame"],
[typeof~="mw:Audio/Frame"]) > figcaption,
.thumbcaption,
  height: unset !important;
  min-width: 16ch;
  width: unset !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
.gallerytext {
  background-color: #171D22;
  border: #4DB6B0;
  text-color: #4DB6B0;
  font: 400 .75rem/1.25rem var(--font-body-sans-serif);
  letter-spacing: .0333333333em;
}

figure:is([typeof~="mw:File/Thumb"],
[typeof~="mw:Image/Thumb"],
[typeof~="mw:Video/Thumb"],
[typeof~="mw:Audio/Thumb"]):not([typeof~="mw:Error"]) > a::after {
  content: unset;
}

.mw-parser-output .gallery {
  text-align: center;
}
.mw-parser-output .gallery .gallerybox {
  margin: 0 !important;
  vertical-align: middle;
  width: unset !important;
  width: -moz-min-content !important;
  width: min-content !important;
}
.mw-parser-output .gallery .thumb {
  height: unset !important;
  min-width: 16ch;
  width: unset !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
}

.mw-content-ltr ul.gallery {
  margin: 10px;
}

li.gallerybox div.thumb {
  border: 1px #4DB6B0;
  background-color: rgb(var(--theme-background-secondary));
}