MediaWiki:Common.css: Difference between revisions

From Runnina
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 394: Line 394:
#footer {
#footer {
     position: relative;
     position: relative;
}
/* Request Account Form */
.page-Special_RequestAccount .mw-htmlform {
    background-color: #000;
    color: #eee;
    border: 1px solid #500000;
    padding: 1em;
    border-radius: 6px;
}
/* Labels */
.page-Special_RequestAccount .mw-label,
.page-Special_RequestAccount label {
    color: #fff;
    font-weight: bold;
}
/* Input Fields*/
.page-Special_RequestAccount input[type="text"],
.page-Special_RequestAccount input[type="email"] {
    background-color: #111;
    color: #fff;
    border: 1px solid #700000;
    padding: 6px;
    width: 100%;
}
/* Text Area: Statement of Reason */
.page-Special_RequestAccount textarea {
    background-color: #111;
    color: #fff;
    border: 1px solid #700000;
    padding: 8px;
    width: 100%;
    height: 120px;
}
/* Submit button */
.page-Special_RequestAccount input[type="submit"] {
    background-color: #300000;
    color: white;
    border: 1px solid #700000;
    padding: 8px 14px;
    cursor: pointer;
}
.page-Special_RequestAccount input[type="submit"]:hover {
    background-color: #500000;
}
/* Red link (Terms of Service) */
.page-Special_RequestAccount a[href*="Terms_of_Service"] {
    color: red !important;
}
/* Glow Effect for RA Page */
.page-Special_RequestAccount input[type="text"]:focus,
.page-Special_RequestAccount input[type="email"]:focus,
.page-Special_RequestAccount textarea:focus {
    outline: none;
    box-shadow: 0 0 6px #c00;
}
}



Revision as of 07:41, 29 July 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 Headings === */
#firstHeading {
  font-family: "Lexend SemiBold", sans-serif !important;
}

.mw-body h1, .mw-body h2, .mw-body h3,
.mw-body h4, .mw-body h5, .mw-body h6 {
  color: white !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;
}

#ca-ve-edit a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !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;
}

/* 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;
}

/* Request Account Form */
.page-Special_RequestAccount .mw-htmlform {
    background-color: #000;
    color: #eee;
    border: 1px solid #500000;
    padding: 1em;
    border-radius: 6px;
}

/* Labels */
.page-Special_RequestAccount .mw-label,
.page-Special_RequestAccount label {
    color: #fff;
    font-weight: bold;
}

/* Input Fields*/
.page-Special_RequestAccount input[type="text"],
.page-Special_RequestAccount input[type="email"] {
    background-color: #111;
    color: #fff;
    border: 1px solid #700000;
    padding: 6px;
    width: 100%;
}

/* Text Area: Statement of Reason */
.page-Special_RequestAccount textarea {
    background-color: #111;
    color: #fff;
    border: 1px solid #700000;
    padding: 8px;
    width: 100%;
    height: 120px;
}

/* Submit button */
.page-Special_RequestAccount input[type="submit"] {
    background-color: #300000;
    color: white;
    border: 1px solid #700000;
    padding: 8px 14px;
    cursor: pointer;
}

.page-Special_RequestAccount input[type="submit"]:hover {
    background-color: #500000;
}

/* Red link (Terms of Service) */
.page-Special_RequestAccount a[href*="Terms_of_Service"] {
    color: red !important;
}

/* Glow Effect for RA Page */
.page-Special_RequestAccount input[type="text"]:focus,
.page-Special_RequestAccount input[type="email"]:focus,
.page-Special_RequestAccount textarea:focus {
    outline: none;
    box-shadow: 0 0 6px #c00;
}

/* === 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");
}