MediaWiki:Common.css: Difference between revisions

From Runnina
Jump to navigation Jump to search
No edit summary
No edit summary
 
(389 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* - Global Dark for CountryGame: Runnina - */
/* === Global Dark for the CountryGame Wikidex === */


/* --- Overall Background Page --- */
:root {
  --runnina-red: #900603;
  --runnina-hover: #ff1a1a;
  --onyx-black: #030104;
  --white: #ffffff;
}


body, #content, .mw-body, .mw-body-content {
body, #content, .mw-body, .mw-body-content {
   background-color: #030104 !important; /* Onyx background */
   background-color: var(--onyx-black) !important;
   color: #ffffff !important; /* White text for readability */
   color: var(--white) !important;
}
}


/* === Link Color === */
/* === Head Banner === */
#mw-head {
  background: url("https://i.imgur.com/VADF1Az.gif") repeat-x top center;
  background-size: auto 80px;
  height: 80px;
}
 
/* === Link Styles === */
a, a:visited {
a, a:visited {
   color: #900603 !important; /* Ruby red */
   color: var(--runnina-red) !important;
   text-decoration: none;
   text-decoration: none;
}
}


a:hover, a:active {
a:hover, a:active {
   color: #ff1a1a !important; /* Bright hover effect (optional) */
   color: var(--runnina-hover) !important;
   text-decoration: underline;
   text-decoration: underline;
}
}


/* === Header Tabs === */
/* === More Tab === */
#ca-more {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--white) !important;
  border: 1px solid var(--runnina-red) !important;
  height: 100% !important;
  min-height: 36px;
  box-sizing: border-box !important;
  padding: 0 12px !important;
}


#p-views li a,
#ca-more > a {
#ca-edit a,
   color: var(--runnina-red) !important;
#ca-viewsource a,
#ca-history a {
   color: #900603 !important;
   font-weight: bold;
   font-weight: bold;
   text-shadow: 0 0 4px #900603; /* Subtle glow */
  line-height: 36px !important;
   text-align: center;
}
}


#p-views li.selected a {
#ca-more:hover, #ca-more:focus {
   border-bottom: 2px solid #900603;
   background-color: var(--white) !important;
}
}


/* === Page Action Highlight === */
#ca-more.selected {
  border-bottom: 2px solid var(--runnina-red) !important;
}
 
/* === Watch Star Icon === */
#ca-watch a, #ca-unwatch a {
  display: inline-block !important;
  width: 30px;
  background: var(--white) url("https://i.imgur.com/eHOwynZ.png") no-repeat center center !important;
  background-size: 18px 18px !important;
}


#ca-edit a:hover,
/* === Personal Tabloid === */
#ca-viewsource a:hover,
#p-personal {
#ca-history a:hover {
  border: 3px solid var(--runnina-red) !important;
   color: #ff1a1a !important;
  background-color: var(--onyx-black) !important;
   text-shadow: 0 0 6px #ff1a1a;
  padding: 3px 10px 7px 122px !important;
  margin: -3px 0 0 60px !important;
  display: flex !important;
   align-items: center !important;
   box-sizing: border-box !important;
}
}


/* === Search Box Style === */
#p-personal li {
  margin-right: 0.8em !important;
}


/* === Search Box === */
#searchInput {
#searchInput {
   background-color: #1a1a1a;
   background-color: #1a1a1a;
   border: 1px solid #900603;
   border: 1px solid var(--runnina-red);
   color: white;
   color: white;
  margin-left: -5px !important;
}
}


/* === Highlight Red Selection === */
/* === Notification Icons === */
#pt-notifications-alert .mw-echo-notifications-badge,
#pt-notifications-notice .mw-echo-notifications-badge {
  filter: brightness(0) saturate(100%) invert(14%) sepia(94%) saturate(7159%) hue-rotate(357deg) brightness(92%) contrast(118%) !important;
  vertical-align: middle !important;
  position: relative !important;
  top: 8px;
}


::selection {
.mw-echo-notifications-badge .mw-echo-unseen-notifications {
   background: #900603;
   background-color: #6a0dad !important;
   color: white;
   color: white !important;
}
}


::-moz-selection {
/* === Footer === */
   background: #900603;
#footer, .mw-footer, .printfooter {
   color: white;
   background-color: var(--onyx-black) !important;
   color: var(--white) !important;
  border-top: none !important;
}
}


/* === All Commands! === */
#footer-icons .footer-icon {
  display: inline-block;
  padding: 4px 6px;
  margin: 2px;
  background: var(--white);
  border: 1px solid #a2a9b1;
  border-radius: 2px;
}


.mw-portlet,
#footer-icons {
.portlet,
   text-align: center;
.vector-menu-content {
   background: #030104 !important;
  border: none !important;
}
}


.vector-menu h3 {
/* === Page Title Heading (White) === */
   color: #900603;
#firstHeading {
   color: #ffffff !important;
  font-family: "Lexend SemiBold", sans-serif !important;
}
}


/* === Link Color for Sidebar === */
/* === Body Headings (Black) === */
.mw-body h1 {
  color: #000000 !important;
}


#mw-panel a {
/* === Body Headings (Descending) === */
   color: #900603 !important;
.mw-body h2, .mw-body h3 .mw-body h4, .mw-body h5, .mw-body h6 {
   color: #ffffff !important;
}
}


/* Watch Star Icon with Red-Black-Star Pattern */
/* === Infobox === */
.infobox {
  border-collapse: collapse;
  width: 300px;
  font-size: 90%;
  line-height: 1.4em;
  background: #f9f9f9;
  border: 1px solid #aaa;
}


#ca-watch.icon a,
.infobox th, .infobox td {
#ca-unwatch.icon a {
   border: 1px solid #aaa;
   background-image: url("https://i.imgur.com/eHOwynZ.png") !important;
   padding: 4px;
  background-repeat: no-repeat;
  background-position: center 16px !important; /* Move down by pixels */
  background-size: 16px 16px; /* Adjust size as needed */
   padding-left: 20px; /* Space for the icon */
}
}


/* Removing Default Star Icon */
.infobox th {
  background: #eeeeee;
  text-align: left;
  font-weight: bold;
}


#ca-watch.icon a::before,
.infobox caption {
#ca-unwatch.icon a::before {
  background: #ccccff;
   content: none !important;
   font-weight: bold;
}
}


/* Profile Tabloid (Known as the Command Bar) */
/* More Tab Container */
#p-cactions {
  background-color: white !important;
  border-radius: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  box-sizing: border-box;
}


#p-personal {
/* Hover Box Click Space */
    background-color: #000000;
#p-cactions .vector-menu-heading {
    border: 3px solid #900603;
  display: flex !important;
    padding: 0 5px;
  align-items: center !important;
}
  justify-content: center !important;
#p-personal li {
  padding: 0 12px !important;
    display: inline-block;
  height: 100% !important;
}
  width: 100% !important;
#p-personal li a {
  cursor: pointer !important;
    color: #b30000 !important;
    padding: 4px 8px;
    border: 1px solid #900603;
    margin: 0 2px;
}
#p-personal li a:hover {
    background-color: #111111;
    color: #ff1a1a !important;
}
}


/* Option Boxes */
/* Text Stylization */
 
#p-cactions .vector-menu-heading span {
#ca-view, #ca-edit, #ca-history, #ca-watch, #ca-more, #ca-addsection, #ca-viewsource {
  color: #900603 !important;
    border: 1px solid #900603;
  font-weight: bold !important;
    margin: 0 2px;
  font-size: 14px !important;
}
  line-height: 28px !important;
#ca-view a,
  text-align: center !important;
#ca-edit a,
  width: 100%;
#ca-history a,
#ca-watch a,
#ca-more a,
#ca-addsection a,
#ca-viewsource a {
    color: #900603 !important;
    padding: 4px 8px;
}
#ca-view a:hover,
#ca-edit a:hover,
#ca-history a:hover,
#ca-watch a:hover,
#ca-more a:hover,
#ca-addsection a:hover,
#ca-viewsource a:hover {
    background-color: #111111;
    color: #ff1a1a !important;
}
}


/* Dropdown Menu Box */
/* Sidebar Icons */
 
#p-navigation li a[href*="discord.gg"]::before,
#ca-more {
#p-navigation li a[href*="nationstates.net"]::before {
    position: relative;
  content: "";
}
  display: inline-block;
#ca-more ul {
  width: 16px;
    background-color: #000000;
  height: 16px;
    border: 1px solid #900603;
  background-size: contain;
}
  background-repeat: no-repeat;
#ca-more ul li a {
  margin-right: 5px;
    color: #900603 !important;
  vertical-align: text-bottom;
}
#ca-more ul li a:hover {
    background-color: #111111;
    color: #ff1a1a !important;
}
}


/* Underline Activation */
/* Discord Icon */
 
#p-navigation li a[href*="discord.gg"]::before {
#ca-more.selected {
   background-image: url("https://countrygame.net/images/3/3a/Pixelated_discord_icon.png");
   border-bottom: 2px solid #900603 !important;
}
}


/* Options for More */
/* NationStates Icon */
 
#p-navigation li a[href*="nationstates.net"]::before {
#p-cactions {
   background-image: url("/images/6/62/Nationstates.png");
   background-color: #f8f9fa !important; /* Boxes */
  border: 1px solid #900603 !important; /* Red border */
  border-bottom: none !important;      /* Underlining */
  padding: 0 0.5em !important;
}
}


/* Stylizing */
/* Universal Tab Styling */
 
#p-views li a,
#p-cactions .vector-menu-heading,
#ca-view a,
#ca-edit a,
#ca-history a,
#ca-talk a,
#ca-watch a,
#ca-unwatch a,
#p-cactions .vector-menu-heading a {
#p-cactions .vector-menu-heading a {
   color: #900603 !important;
   color: #900603 !important;
   font-weight: bold !important;
   font-weight: bold !important;
   text-shadow: 0 0 4px #900603 !important;
  font-size: 14px !important;
  font-family: sans-serif !important;
  text-align: center !important;
  background-color: transparent !important;
   text-decoration: none !important;
}
}


/* Hover effect */
/* Methodology */
#p-views, .vectorTabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  height: 40px; /* Adjustment Setting */
  overflow: hidden;
}


#p-cactions:hover,
/* Upscaling UI */
#p-cactions:focus {
#p-views li#ca-view a,
   background-color: #ffffff !important;
#p-views li#ca-edit a,
#p-views li#ca-editsource a,
#p-views li#ca-history a,
#p-cactions .vector-menu-heading a {
  font-size: 14px !important;
   font-weight: bold !important;
  color: #900603 !important;
  line-height: 1.0 !important;
  text-align: center !important;
  padding: 24px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  box-sizing: border-box;
}
}


#p-cactions .vector-menu-heading:hover,
#p-namespaces li a {
#p-cactions .vector-menu-heading a:hover {
  font-size: 14px !important;
   color: #ff1a1a !important;
  font-weight: bold !important;
   text-shadow: 0 0 6px #ff1a1a !important;
  color: #900603 !important;
  line-height: 29px !important;  /* centers text vertically */
  text-align: center !important;
  padding-top: 6px !important;
  padding-bottom: 0 !important;
  display: flex !important;
   align-items: center !important;
   justify-content: center !important;
  height: 40px !important;        /* match box height */
  box-sizing: border-box;
}
}


/* Underline Activation */
#p-views li#ca-viewsource a {
#p-cactions.selected {
  padding: 0 12px !important;
   border-bottom: 2px solid #900603 !important;
  line-height: 38px !important;  /* match your 40px tab height */
  height: 47px !important;
  display: flex !important;
  align-items: center !important;
   justify-content: center !important;
  box-sizing: border-box;
}
}


/* Search Box */
#ca-ve-edit a {
 
  display: flex !important;
#p-search {
  align-items: center !important;
    background-color: #000000;
  justify-content: center !important;
    border: 1px solid #900603;
  height: 47px !important;
}
  padding: 0 12px !important;
#searchInput {
  font-size: 14px !important;
    background-color: #222222;
  font-weight: bold !important;
    color: #ffffff;
  color: #900603 !important;
    border: 1px solid #900603;
  box-sizing: border-box !important;
}
#searchInput:focus {
    outline: none;
    border-color: #ff1a1a;
}
}


/* Bell Icon Red */
#p-cactions .vector-menu-heading-label {
 
   color: #900603 !important;
#pt-notifications-alert .mw-echo-notifications-badge {
  font-weight: bold !important;
   filter: brightness(0) saturate(100%) invert(14%) sepia(94%) saturate(7159%) hue-rotate(357deg) brightness(92%) contrast(118%) !important;
  font-size: 14px !important;
  text-align: center !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
}
}


/* Inbox Icon Red */
#p-cactions {
 
   margin-right: 0 !important;
#pt-notifications-notice .mw-echo-notifications-badge {
  padding-right: 0 !important;
   filter: brightness(0) saturate(100%) invert(14%) sepia(94%) saturate(7159%) hue-rotate(357deg) brightness(92%) contrast(118%) !important;
}
}


/* Count Badge Purple */
#p-cactions .vector-menu-heading {
 
   margin-right: 0 !important;
.mw-echo-notifications-badge .mw-echo-unseen-notifications {
   padding-right: 0 !important;
   background-color: #6a0dad !important; /* Purple */
   color: white !important; /* Text Color */
}
}


/* Bell Icon Lowered */
#p-cactions .vector-menu-heading-label {
 
   margin-right: 0 !important;
#pt-notifications-alert .mw-echo-notifications-badge {
   padding-right: 5px !important;
   vertical-align: middle !important;
   position: relative !important;
  top: 8px; /* adjust: higher number = moves down more */
}
}


/* Inbox Icon Lowered */
#p-cactions .vector-menu-heading-label {
 
   margin-left: 0 !important;
#pt-notifications-notice .mw-echo-notifications-badge {
   padding-left: 5px !important;
   vertical-align: middle !important;
   position: relative !important;
  top: 8px; /* adjust: higher number = moves down more */
}
}


/* Hide the Talk Option */
#p-cactions .vector-menu-heading-label {
 
   padding-top: 7px !important;
#pt-talk {
   display: none !important;
}
}


/* Hide the Dark Mode Option */
#pt-userpage {
 
   position: relative;
#pt-toggle-darkmode {
   display: none !important;
}
}


/* Footer Background Onyx Black */
#pt-userpage a::before {
 
  content: "";
#footer, .mw-footer, .printfooter {
  position: absolute;
   background-color: #030104 !important;
  left: -5px;
   color: #ffffff !important;
  top: 63%;
   border-top: none !important;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("https://countrygame.net/images/8/81/User_icon.png");
   background-size: contain;
   background-repeat: no-repeat;
   pointer-events: none;
}
}


/* Contributor Boxes */
/* === Page/Discussion Box */
 
#p-namespaces .vector-menu-content-list { display:flex; align-items:stretch; gap:0; }
#footer-icons .footer-icon {
#p-namespaces .vector-menu-content-list > li { margin:0 !important; }
  display: inline-block;
#p-namespaces .vector-menu-content-list > li > a {
  padding: 4px 6px;
   display:flex; align-items:center; justify-content:center;
  margin: 2px;
   height:40px; padding:0 14px; box-sizing:border-box; border-bottom:0;
   background: #f8f9fa; /* Light background for the boxes */
   border: 1px solid #a2a9b1; /* Subtle border */
  border-radius: 2px;
}
}


/* Horizontal Centering */
/* Glowing Effect for Profile Tabloid */
 
#pt-userpage a:hover,
#footer-icons {
#pt-mytalk a:hover,
   text-align: center;
#pt-preferences a:hover,
#pt-watchlist a:hover,
#pt-mycontris a:hover,
#pt-logout a:hover {
  color: var(--runnina-hover) !important;
   text-shadow: 0 0 6px var(--runnina-hover) !important;
}
}


/* Main Page Content Area Background */
/* Glow Effect */
 
#p-views li a:hover,
.main-page-content {
#ca-view a:hover,
  max-width: 1600px;
#ca-talk a:hover,
  margin: 0 auto;
#ca-edit a:hover,
  padding: 20px;
#ca-editsource a:hover,
  background: url("https://i.imgur.com/ZSV3OlG.jpeg") no-repeat center top;
#ca-history a:hover,
  background-size: cover;
#ca-watch a:hover,
   border-radius: 8px;
#ca-unwatch a:hover,
#p-cactions .vector-menu-heading a:hover {
   text-shadow:
    0 0 2px #ff3b3b,
    0 0 4px #ff1a1a,
    0 0 8px #ff1a1a,
    0 0 12px #ff0000,
    0 0 16px #ff0000 !important;
}
}


/* Onyx Black */
/* Removal of Powered by MediaWiki Icon */
 
#footer-poweredbyico picture,
body {
#footer-poweredbyico img {
  background-color: #030104 !important;
    display: none !important;
}
}


/* Thumbnail Captions */
/* Automated Links No Longer Pop Up */
 
#footer-poweredbyico a {
div.thumb div.thumbcaption {
    all: unset !important;
  color: #000000 !important;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
}


#firstHeading {
/* Crystal-Clear Banner */
  font-family: "Lexend SemiBold", sans-serif !important;
#footer-poweredbyico {
    background-image: url("/images/5/5f/Powered_by_mediawiki_footer.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 88px;
    height: 30px;
    position: absolute;
    bottom: -20px;
    right: 20px;
}
}


@font-face {
#footer {
     font-family: "Copperplate Gothic";
     position: relative;
    src: url("https://db.onlinewebfonts.com/t/483f8a5e2868222491b8baed78121c3a.eot");
    src: url("https://db.onlinewebfonts.com/t/483f8a5e2868222491b8baed78121c3a.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/483f8a5e2868222491b8baed78121c3a.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/483f8a5e2868222491b8baed78121c3a.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/483f8a5e2868222491b8baed78121c3a.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/483f8a5e2868222491b8baed78121c3a.svg#Copperplate Gothic")format("svg");
}
}


/* === Font Faces === */
@font-face {
@font-face {
    font-family: "Lexend";
  font-family: "Lexend SemiBold";
    src: url("https://db.onlinewebfonts.com/t/252412eb53593c5afb3e30b6a88ca910.eot");
  src: url("https://db.onlinewebfonts.com/t/3474c885518969e3f7178ad88f489c78.woff2") format("woff2");
    src: url("https://db.onlinewebfonts.com/t/252412eb53593c5afb3e30b6a88ca910.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/252412eb53593c5afb3e30b6a88ca910.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/252412eb53593c5afb3e30b6a88ca910.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/252412eb53593c5afb3e30b6a88ca910.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/252412eb53593c5afb3e30b6a88ca910.svg#Lexend")format("svg");
}
}


@font-face {
@font-face {
    font-family: "Lexend SemiBold";
  font-family: "Lexend";
    src: url("https://db.onlinewebfonts.com/t/3474c885518969e3f7178ad88f489c78.eot");
  src: url("https://db.onlinewebfonts.com/t/252412eb53593c5afb3e30b6a88ca910.woff2") format("woff2");
    src: url("https://db.onlinewebfonts.com/t/3474c885518969e3f7178ad88f489c78.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/3474c885518969e3f7178ad88f489c78.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/3474c885518969e3f7178ad88f489c78.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/3474c885518969e3f7178ad88f489c78.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/3474c885518969e3f7178ad88f489c78.svg#Lexend SemiBold")format("svg");
}
}


@font-face {
@font-face {
    font-family: "Helvetica";
  font-family: "Helvetica";
    src: url("https://db.onlinewebfonts.com/t/5c5a257758cff0acee4d28ff555f3bc5.eot");
  src: url("https://db.onlinewebfonts.com/t/5c5a257758cff0acee4d28ff555f3bc5.woff2") format("woff2");
    src: url("https://db.onlinewebfonts.com/t/5c5a257758cff0acee4d28ff555f3bc5.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/5c5a257758cff0acee4d28ff555f3bc5.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/5c5a257758cff0acee4d28ff555f3bc5.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/5c5a257758cff0acee4d28ff555f3bc5.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/5c5a257758cff0acee4d28ff555f3bc5.svg#Helvetica")format("svg");
}
 
.mw-parser-output > div[style] {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}
 
.mw-parser-output img {
  display: block;
}
}

Latest revision as of 21:59, 9 September 2025

/* === Global Dark for the CountryGame Wikidex === */

:root {
  --runnina-red: #900603;
  --runnina-hover: #ff1a1a;
  --onyx-black: #030104;
  --white: #ffffff;
}

body, #content, .mw-body, .mw-body-content {
  background-color: var(--onyx-black) !important;
  color: var(--white) !important;
}

/* === Head Banner === */
#mw-head {
  background: url("https://i.imgur.com/VADF1Az.gif") repeat-x top center;
  background-size: auto 80px;
  height: 80px;
}

/* === Link Styles === */
a, a:visited {
  color: var(--runnina-red) !important;
  text-decoration: none;
}

a:hover, a:active {
  color: var(--runnina-hover) !important;
  text-decoration: underline;
}

/* === More Tab === */
#ca-more {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--white) !important;
  border: 1px solid var(--runnina-red) !important;
  height: 100% !important;
  min-height: 36px;
  box-sizing: border-box !important;
  padding: 0 12px !important;
}

#ca-more > a {
  color: var(--runnina-red) !important;
  font-weight: bold;
  line-height: 36px !important;
  text-align: center;
}

#ca-more:hover, #ca-more:focus {
  background-color: var(--white) !important;
}

#ca-more.selected {
  border-bottom: 2px solid var(--runnina-red) !important;
}

/* === Watch Star Icon === */
#ca-watch a, #ca-unwatch a {
  display: inline-block !important;
  width: 30px;
  background: var(--white) url("https://i.imgur.com/eHOwynZ.png") no-repeat center center !important;
  background-size: 18px 18px !important;
}

/* === Personal Tabloid === */
#p-personal {
  border: 3px solid var(--runnina-red) !important;
  background-color: var(--onyx-black) !important;
  padding: 3px 10px 7px 122px !important;
  margin: -3px 0 0 60px !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

#p-personal li {
  margin-right: 0.8em !important;
}

/* === Search Box === */
#searchInput {
  background-color: #1a1a1a;
  border: 1px solid var(--runnina-red);
  color: white;
  margin-left: -5px !important;
}

/* === Notification Icons === */
#pt-notifications-alert .mw-echo-notifications-badge,
#pt-notifications-notice .mw-echo-notifications-badge {
  filter: brightness(0) saturate(100%) invert(14%) sepia(94%) saturate(7159%) hue-rotate(357deg) brightness(92%) contrast(118%) !important;
  vertical-align: middle !important;
  position: relative !important;
  top: 8px;
}

.mw-echo-notifications-badge .mw-echo-unseen-notifications {
  background-color: #6a0dad !important;
  color: white !important;
}

/* === Footer === */
#footer, .mw-footer, .printfooter {
  background-color: var(--onyx-black) !important;
  color: var(--white) !important;
  border-top: none !important;
}

#footer-icons .footer-icon {
  display: inline-block;
  padding: 4px 6px;
  margin: 2px;
  background: var(--white);
  border: 1px solid #a2a9b1;
  border-radius: 2px;
}

#footer-icons {
  text-align: center;
}

/* === Page Title Heading (White) === */
#firstHeading {
  color: #ffffff !important;
  font-family: "Lexend SemiBold", sans-serif !important;
}

/* === Body Headings (Black) === */
.mw-body h1 {
  color: #000000 !important;
}

/* === Body Headings (Descending) === */
.mw-body h2, .mw-body h3 .mw-body h4, .mw-body h5, .mw-body h6 {
  color: #ffffff !important;
}

/* === Infobox === */
.infobox {
  border-collapse: collapse;
  width: 300px;
  font-size: 90%;
  line-height: 1.4em;
  background: #f9f9f9;
  border: 1px solid #aaa;
}

.infobox th, .infobox td {
  border: 1px solid #aaa;
  padding: 4px;
}

.infobox th {
  background: #eeeeee;
  text-align: left;
  font-weight: bold;
}

.infobox caption {
  background: #ccccff;
  font-weight: bold;
}

/* More Tab Container */
#p-cactions {
  background-color: white !important;
  border-radius: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  box-sizing: border-box;
}

/* Hover Box Click Space */
#p-cactions .vector-menu-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 12px !important;
  height: 100% !important;
  width: 100% !important;
  cursor: pointer !important;
}

/* Text Stylization */
#p-cactions .vector-menu-heading span {
  color: #900603 !important;
  font-weight: bold !important;
  font-size: 14px !important;
  line-height: 28px !important;
  text-align: center !important;
  width: 100%;
}

/* Sidebar Icons */
#p-navigation li a[href*="discord.gg"]::before,
#p-navigation li a[href*="nationstates.net"]::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 5px;
  vertical-align: text-bottom;
}

/* Discord Icon */
#p-navigation li a[href*="discord.gg"]::before {
  background-image: url("https://countrygame.net/images/3/3a/Pixelated_discord_icon.png");
}

/* NationStates Icon */
#p-navigation li a[href*="nationstates.net"]::before {
  background-image: url("/images/6/62/Nationstates.png");
}

/* Universal Tab Styling */
#p-views li a,
#ca-view a,
#ca-edit a,
#ca-history a,
#ca-talk a,
#ca-watch a,
#ca-unwatch a,
#p-cactions .vector-menu-heading a {
  color: #900603 !important;
  font-weight: bold !important;
  font-size: 14px !important;
  font-family: sans-serif !important;
  text-align: center !important;
  background-color: transparent !important;
  text-decoration: none !important;
}

/* Methodology */
#p-views, .vectorTabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  height: 40px; /* Adjustment Setting */
  overflow: hidden;
}

/* Upscaling UI */
#p-views li#ca-view a,
#p-views li#ca-edit a,
#p-views li#ca-editsource a,
#p-views li#ca-history a,
#p-cactions .vector-menu-heading a {
  font-size: 14px !important; 
  font-weight: bold !important;
  color: #900603 !important;
  line-height: 1.0 !important;
  text-align: center !important;
  padding: 24px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  box-sizing: border-box;
}

#p-namespaces li a {
  font-size: 14px !important;
  font-weight: bold !important;
  color: #900603 !important;
  line-height: 29px !important;   /* centers text vertically */
  text-align: center !important;
  padding-top: 6px !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;        /* match box height */
  box-sizing: border-box;
}

#p-views li#ca-viewsource a {
  padding: 0 12px !important;
  line-height: 38px !important;  /* match your 40px tab height */
  height: 47px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
}

#ca-ve-edit a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 47px !important;
  padding: 0 12px !important;
  font-size: 14px !important;
  font-weight: bold !important;
  color: #900603 !important;
  box-sizing: border-box !important;
}

#p-cactions .vector-menu-heading-label {
  color: #900603 !important;
  font-weight: bold !important;
  font-size: 14px !important;
  text-align: center !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
}

#p-cactions {
  margin-right: 0 !important;
  padding-right: 0 !important;
}

#p-cactions .vector-menu-heading {
  margin-right: 0 !important;
  padding-right: 0 !important;
}

#p-cactions .vector-menu-heading-label {
  margin-right: 0 !important;
  padding-right: 5px !important;
}

#p-cactions .vector-menu-heading-label {
  margin-left: 0 !important;
  padding-left: 5px !important;
}

#p-cactions .vector-menu-heading-label {
  padding-top: 7px !important;
}

#pt-userpage {
  position: relative;
}

#pt-userpage a::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 63%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("https://countrygame.net/images/8/81/User_icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* === Page/Discussion Box */
#p-namespaces .vector-menu-content-list { display:flex; align-items:stretch; gap:0; }
#p-namespaces .vector-menu-content-list > li { margin:0 !important; }
#p-namespaces .vector-menu-content-list > li > a {
  display:flex; align-items:center; justify-content:center;
  height:40px; padding:0 14px; box-sizing:border-box; border-bottom:0;
}

/* Glowing Effect for Profile Tabloid */
#pt-userpage a:hover,
#pt-mytalk a:hover,
#pt-preferences a:hover,
#pt-watchlist a:hover,
#pt-mycontris a:hover,
#pt-logout a:hover {
  color: var(--runnina-hover) !important;
  text-shadow: 0 0 6px var(--runnina-hover) !important;
}

/* Glow Effect */
#p-views li a:hover,
#ca-view a:hover,
#ca-talk a:hover,
#ca-edit a:hover,
#ca-editsource a:hover,
#ca-history a:hover,
#ca-watch a:hover,
#ca-unwatch a:hover,
#p-cactions .vector-menu-heading a:hover {
  text-shadow:
    0 0 2px #ff3b3b,
    0 0 4px #ff1a1a,
    0 0 8px #ff1a1a,
    0 0 12px #ff0000,
    0 0 16px #ff0000 !important;
}

/* Removal of Powered by MediaWiki Icon */
#footer-poweredbyico picture,
#footer-poweredbyico img {
    display: none !important;
}

/*  Automated Links No Longer Pop Up */
#footer-poweredbyico a {
    all: unset !important;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Crystal-Clear Banner */
#footer-poweredbyico {
    background-image: url("/images/5/5f/Powered_by_mediawiki_footer.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 88px;
    height: 30px;
    position: absolute;
    bottom: -20px;
    right: 20px;
}

#footer {
    position: relative;
}

/* === Font Faces === */
@font-face {
  font-family: "Lexend SemiBold";
  src: url("https://db.onlinewebfonts.com/t/3474c885518969e3f7178ad88f489c78.woff2") format("woff2");
}

@font-face {
  font-family: "Lexend";
  src: url("https://db.onlinewebfonts.com/t/252412eb53593c5afb3e30b6a88ca910.woff2") format("woff2");
}

@font-face {
  font-family: "Helvetica";
  src: url("https://db.onlinewebfonts.com/t/5c5a257758cff0acee4d28ff555f3bc5.woff2") format("woff2");
}