/* This file is part of Wike (com.github.hugolabe.Wike)
SPDX-FileCopyrightText: 2021-24 Hugo Olabera <hugolabe@gmail.com>
SPDX-License-Identifier: GPL-3.0-or-later
*/


/* General */

h1 {
  color: #2aa !important;
}

a:not(.image-details a, .drawer a, .wikitable a, .infobox a, .infobox_v2 a, .infobox_v3 a) {
  color: #630 !important;
}

a.new:not(.image-details a, .wikitable a, .infobox a, .infobox_v2 a, .infobox_v3 a) {
  color: #066 !important;
}

#mw-mf-page-center {
  background-color: #242424 !important;
}

.mw-body {
  background-color: #dbdbdb !important;
  filter: invert(100%);
}

.mwe-popups {
  filter: invert(100%);
}

/* Images */

.thumb img, .mwe-popups-thumbnail {
  background-color: #ccc !important;
}

.gallerybox .thumb {
  background-color: #333 !important;
  border-color: #111 !important;
}

img:not(.mwe-math-fallback-image-inline, .mwe-math-fallback-image-display, .leaflet-marker-icon, .wikitable img, .infobox img, .infobox_v2 img, .infobox_v3 img) {
  filter: invert(100%);
}

/* Tables and Infobox */

.wikitable, .infobox, .infobox_v2, .infobox_v3 {
  background-color: #ccc !important;
  filter: invert(100%);
}

/* Other */

.color_swatch, .legend-color {
  filter: invert(100%);
}

.PieChartTemplate, .PieChartTemplate .thumbcaption {
  filter: invert(100%);
}
