MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* === Global Dark Theme for CountryGame: Runnina === */ | ||
/* == | /* == Fonts == */ | ||
@font-face { | |||
font-family: "Copperplate Gothic"; | |||
src: url("https://db.onlinewebfonts.com/t/483f8a5e2868222491b8baed78121c3a.woff2") format("woff2"); | |||
} | |||
@font-face { | |||
font-family: "Lexend"; | |||
src: url("https://db.onlinewebfonts.com/t/252412eb53593c5afb3e30b6a88ca910.woff2") format("woff2"); | |||
} | |||
@font-face { | |||
font-family: "Lexend SemiBold"; | |||
src: url("https://db.onlinewebfonts.com/t/3474c885518969e3f7178ad88f489c78.woff2") format("woff2"); | |||
} | |||
@font-face { | |||
font-family: "Helvetica"; | |||
src: url("https://db.onlinewebfonts.com/t/5c5a257758cff0acee4d28ff555f3bc5.woff2") format("woff2"); | |||
} | } | ||
/* | /* == Base Colors == */ | ||
body, #content, .mw-body, .mw-body-content, #footer, .mw-footer, .printfooter { | |||
body, #content, .mw-body, .mw-body-content { | background-color: #030104 !important; | ||
background-color: #030104 !important; | color: #ffffff !important; | ||
color: #ffffff !important; | |||
} | } | ||
/* == | /* == Links == */ | ||
a, a:visited { | a, a:visited { | ||
color: #900603 !important; | color: #900603 !important; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
a:hover, a:active { | a:hover, a:active { | ||
color: #ff1a1a !important; | color: #ff1a1a !important; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
/* == | /* == Banner & Header == */ | ||
# | #mw-head { | ||
background: url("/images/1/12/Background_0001.png") repeat-x center top; | |||
background-size: auto 80px; | |||
height: 80px; | |||
} | } | ||
# | #firstHeading { | ||
font-family: "Lexend SemiBold", sans-serif !important; | |||
} | } | ||
/* | /* == Search == */ | ||
#searchInput { | #searchInput { | ||
background | background: #1a1a1a; | ||
border: 1px solid #900603; | border: 1px solid #900603; | ||
color: white; | color: white; | ||
margin-left: -5px !important; | margin-left: -5px !important; | ||
} | } | ||
#searchButton { | #searchButton { | ||
margin-right: 5px !important; | |||
} | } | ||
/* == | /* == Selection Highlight == */ | ||
::selection { | ::selection, ::-moz-selection { | ||
background: #900603; | background: #900603; | ||
color: white; | color: white; | ||
} | } | ||
/* == Sidebar & Navigation == */ | |||
#mw-panel a { | |||
color: #900603 !important; | |||
} | } | ||
.vector-menu h3, .mw-portlet, .portlet, .vector-menu-content { | |||
.mw-portlet, | |||
.portlet, | |||
.vector-menu-content { | |||
background: #030104 !important; | background: #030104 !important; | ||
border: none !important; | border: none !important; | ||
color: #900603; | |||
} | } | ||
.vector-menu | /* == Tab Styling == */ | ||
color: #900603; | #p-views li a, #ca-edit a, #ca-viewsource a, #ca-history a, | ||
#ca-watch a, #ca-unwatch a, #ca-talk a, #p-cactions .vector-menu-heading { | |||
background: white !important; | |||
color: #900603 !important; | |||
font-weight: bold; | |||
text-shadow: 0 0 4px #900603; | |||
border: 1px solid #900603; | |||
border-radius: 0; | |||
padding: 5px 10px; | |||
} | |||
#p-views li.selected a, | |||
#ca-more.selected { | |||
border-bottom: 2px solid #900603; | |||
} | } | ||
#p-views a:hover, #p-cactions a:hover { | |||
# | color: #ff1a1a !important; | ||
color: # | text-shadow: 0 0 6px #ff1a1a; | ||
} | } | ||
/* Watch | /* == Star Watch Icon == */ | ||
#ca-watch.icon a, | #ca-watch.icon a, #ca-unwatch.icon a { | ||
#ca-unwatch.icon a { | |||
background-image: url("https://i.imgur.com/eHOwynZ.png") !important; | background-image: url("https://i.imgur.com/eHOwynZ.png") !important; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: center 16px !important; | background-position: center 16px !important; | ||
background-size: 16px 16px; | background-size: 16px 16px; | ||
padding-left: 20px; | padding-left: 20px; | ||
} | } | ||
#ca-watch.icon a::before, #ca-unwatch.icon a::before { | |||
#ca-watch.icon a::before, | |||
#ca-unwatch.icon a::before { | |||
content: none !important; | content: none !important; | ||
} | } | ||
/* | /* == Personal Bar (User Commands) == */ | ||
#p-personal { | #p-personal { | ||
display: flex !important; | |||
align-items: center; | |||
padding: 3px 10px 7px 122px !important; | |||
background: #030104 !important; | |||
border: 3px solid #900603 !important; | border: 3px solid #900603 !important; | ||
margin: -3px 0 0 60px !important; | |||
margin | |||
} | } | ||
#p-personal li { | #p-personal li { | ||
margin-right: 0.8em !important; | margin-right: 0.8em !important; | ||
} | } | ||
#pt-mytalk, #pt-mytalk a, #pt-mytalk span, #pt-talk { | |||
display: none !important; | |||
visibility: hidden !important; | |||
# | |||
} | } | ||
/* | /* == More Dropdown Menu == */ | ||
#p-cactions { | #p-cactions { | ||
background | background: #f8f9fa !important; | ||
padding: 0 0.5em; | |||
padding: 0 0.5em | |||
} | } | ||
#p-cactions .vector-menu-heading a { | #p-cactions .vector-menu-heading a { | ||
color: #900603 !important; | color: #900603 !important; | ||
font-weight: bold | font-weight: bold; | ||
text-shadow: 0 0 4px #900603 | text-shadow: 0 0 4px #900603; | ||
} | } | ||
#p-cactions:hover, #p-cactions .vector-menu-heading:hover { | |||
#p-cactions:hover, | |||
#p-cactions: | |||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
color: #ff1a1a !important; | color: #ff1a1a !important; | ||
text-shadow: 0 0 6px #ff1a1a !important; | text-shadow: 0 0 6px #ff1a1a !important; | ||
} | } | ||
/* | /* == Notifications == */ | ||
#pt-notifications-alert .mw-echo-notifications-badge, | |||
#pt-notifications-alert .mw-echo-notifications-badge | |||
#pt-notifications-notice .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; | filter: brightness(0) saturate(100%) invert(14%) sepia(94%) saturate(7159%) hue-rotate(357deg) brightness(92%) contrast(118%) !important; | ||
position: relative !important; | position: relative !important; | ||
top: 8px; | top: 8px; | ||
vertical-align: middle !important; | vertical-align: middle !important; | ||
} | } | ||
.mw-echo-unseen-notifications { | |||
background-color: #6a0dad !important; | |||
color: white !important; | |||
background-color: # | |||
color: | |||
} | } | ||
/* | /* == Footer == */ | ||
#footer-icons .footer-icon { | #footer-icons .footer-icon { | ||
display: inline-block; | display: inline-block; | ||
padding: 4px 6px; | padding: 4px 6px; | ||
margin: 2px; | margin: 2px; | ||
background: #f8f9fa; | background: #f8f9fa; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
border-radius: 2px; | border-radius: 2px; | ||
} | } | ||
#footer-icons { | #footer-icons { | ||
text-align: center; | text-align: center; | ||
} | } | ||
/* Main Page Content | /* == Main Page Content == */ | ||
.main-page-content { | .main-page-content { | ||
max-width: 1600px; | max-width: 1600px; | ||
| Line 279: | Line 178: | ||
} | } | ||
/* | /* == Infobox == */ | ||
.infobox { | |||
background | 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; | ||
font- | text-align: left; | ||
font-weight: bold; | |||
} | } | ||
.infobox caption { | |||
background: #ccccff; | |||
font-weight: bold; | |||
} | } | ||
/* == Sidebar Icons == */ | |||
/* Sidebar | |||
#p-navigation li a[href="https://discord.gg/pfUFqxDrdC"]::before { | #p-navigation li a[href="https://discord.gg/pfUFqxDrdC"]::before { | ||
content: ""; | content: ""; | ||
| Line 385: | Line 212: | ||
vertical-align: text-bottom; | vertical-align: text-bottom; | ||
} | } | ||
#p-navigation li a[href="https://www.nationstates.net/region=countrygame"]::before { | #p-navigation li a[href="https://www.nationstates.net/region=countrygame"]::before { | ||
content: ""; | content: ""; | ||
| Line 398: | Line 223: | ||
} | } | ||
/* == Miscellaneous Cleanup == */ | |||
.mw-parser-output > div[style] { | .mw-parser-output > div[style] { | ||
margin | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | } | ||
.mw-parser-output img { | .mw-parser-output img { | ||
display: block; | display: block; | ||
} | } | ||
.mw-body h1, .mw-body h2, .mw-body h3, | |||
.mw-body h1, | .mw-body h4, .mw-body h5, .mw-body h6 { | ||
.mw-body h2, | |||
.mw-body h3, | |||
.mw-body h4, | |||
.mw-body h5, | |||
.mw-body h6 { | |||
color: white !important; | color: white !important; | ||
} | } | ||
div[style*="background:#f9f9f9"] h1, | |||
div[style*="background:#f9f9f9"] h1 | |||
.page-Special_ListFiles table, | .page-Special_ListFiles table, | ||
.page-Special_ListFiles td, | .page-Special_ListFiles td, | ||
.page-Special_ListFiles th, | .page-Special_ListFiles th, | ||
.ns-6 table, | .ns-6 table, .ns-6 td, .ns-6 th { | ||
.ns-6 td, | |||
.ns-6 th { | |||
color: #000 !important; | color: #000 !important; | ||
} | |||
/* == Horizontal List Formatting == */ | |||
.hlist dl, .hlist ol, .hlist ul { | |||
margin: 0; | |||
padding: 0; | |||
} | |||
.hlist dd, .hlist dt, .hlist li { | |||
display: inline; | |||
margin: 0; | |||
} | |||
.hlist.hnum li { | |||
counter-increment: list-item; | |||
} | |||
.hlist.hnum li::before { | |||
content: counter(list-item) " "; | |||
font-weight: bold; | |||
} | |||
.hlist ol { | |||
counter-reset: list-item; | |||
} | |||
.hlist dd::after, .hlist dt::after, .hlist li::after { | |||
content: " ·"; | |||
padding: 0 .2em; | |||
} | |||
.hlist dd:last-child::after, | |||
.hlist dt:last-child::after, | |||
.hlist li:last-child::after { | |||
content: none; | |||
} | } | ||
Revision as of 19:25, 28 July 2025
/* === Global Dark Theme for CountryGame: Runnina === */
/* == Fonts == */
@font-face {
font-family: "Copperplate Gothic";
src: url("https://db.onlinewebfonts.com/t/483f8a5e2868222491b8baed78121c3a.woff2") format("woff2");
}
@font-face {
font-family: "Lexend";
src: url("https://db.onlinewebfonts.com/t/252412eb53593c5afb3e30b6a88ca910.woff2") format("woff2");
}
@font-face {
font-family: "Lexend SemiBold";
src: url("https://db.onlinewebfonts.com/t/3474c885518969e3f7178ad88f489c78.woff2") format("woff2");
}
@font-face {
font-family: "Helvetica";
src: url("https://db.onlinewebfonts.com/t/5c5a257758cff0acee4d28ff555f3bc5.woff2") format("woff2");
}
/* == Base Colors == */
body, #content, .mw-body, .mw-body-content, #footer, .mw-footer, .printfooter {
background-color: #030104 !important;
color: #ffffff !important;
}
/* == Links == */
a, a:visited {
color: #900603 !important;
text-decoration: none;
}
a:hover, a:active {
color: #ff1a1a !important;
text-decoration: underline;
}
/* == Banner & Header == */
#mw-head {
background: url("/images/1/12/Background_0001.png") repeat-x center top;
background-size: auto 80px;
height: 80px;
}
#firstHeading {
font-family: "Lexend SemiBold", sans-serif !important;
}
/* == Search == */
#searchInput {
background: #1a1a1a;
border: 1px solid #900603;
color: white;
margin-left: -5px !important;
}
#searchButton {
margin-right: 5px !important;
}
/* == Selection Highlight == */
::selection, ::-moz-selection {
background: #900603;
color: white;
}
/* == Sidebar & Navigation == */
#mw-panel a {
color: #900603 !important;
}
.vector-menu h3, .mw-portlet, .portlet, .vector-menu-content {
background: #030104 !important;
border: none !important;
color: #900603;
}
/* == Tab Styling == */
#p-views li a, #ca-edit a, #ca-viewsource a, #ca-history a,
#ca-watch a, #ca-unwatch a, #ca-talk a, #p-cactions .vector-menu-heading {
background: white !important;
color: #900603 !important;
font-weight: bold;
text-shadow: 0 0 4px #900603;
border: 1px solid #900603;
border-radius: 0;
padding: 5px 10px;
}
#p-views li.selected a,
#ca-more.selected {
border-bottom: 2px solid #900603;
}
#p-views a:hover, #p-cactions a:hover {
color: #ff1a1a !important;
text-shadow: 0 0 6px #ff1a1a;
}
/* == Star Watch Icon == */
#ca-watch.icon a, #ca-unwatch.icon a {
background-image: url("https://i.imgur.com/eHOwynZ.png") !important;
background-repeat: no-repeat;
background-position: center 16px !important;
background-size: 16px 16px;
padding-left: 20px;
}
#ca-watch.icon a::before, #ca-unwatch.icon a::before {
content: none !important;
}
/* == Personal Bar (User Commands) == */
#p-personal {
display: flex !important;
align-items: center;
padding: 3px 10px 7px 122px !important;
background: #030104 !important;
border: 3px solid #900603 !important;
margin: -3px 0 0 60px !important;
}
#p-personal li {
margin-right: 0.8em !important;
}
#pt-mytalk, #pt-mytalk a, #pt-mytalk span, #pt-talk {
display: none !important;
visibility: hidden !important;
}
/* == More Dropdown Menu == */
#p-cactions {
background: #f8f9fa !important;
padding: 0 0.5em;
}
#p-cactions .vector-menu-heading a {
color: #900603 !important;
font-weight: bold;
text-shadow: 0 0 4px #900603;
}
#p-cactions:hover, #p-cactions .vector-menu-heading:hover {
background-color: #ffffff !important;
color: #ff1a1a !important;
text-shadow: 0 0 6px #ff1a1a !important;
}
/* == Notifications == */
#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;
position: relative !important;
top: 8px;
vertical-align: middle !important;
}
.mw-echo-unseen-notifications {
background-color: #6a0dad !important;
color: white !important;
}
/* == Footer == */
#footer-icons .footer-icon {
display: inline-block;
padding: 4px 6px;
margin: 2px;
background: #f8f9fa;
border: 1px solid #a2a9b1;
border-radius: 2px;
}
#footer-icons {
text-align: center;
}
/* == Main Page Content == */
.main-page-content {
max-width: 1600px;
margin: 0 auto;
padding: 20px;
background: url("https://i.imgur.com/ZSV3OlG.jpeg") no-repeat center top;
background-size: cover;
border-radius: 8px;
}
/* == 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;
}
/* == Sidebar Icons == */
#p-navigation li a[href="https://discord.gg/pfUFqxDrdC"]::before {
content: "";
display: inline-block;
width: 16px;
height: 16px;
background: url("https://countrygame.net/images/3/3a/Pixelated_discord_icon.png") no-repeat center center;
background-size: contain;
margin-right: 4px;
vertical-align: text-bottom;
}
#p-navigation li a[href="https://www.nationstates.net/region=countrygame"]::before {
content: "";
display: inline-block;
width: 16px;
height: 16px;
background: url("/images/6/62/Nationstates.png") no-repeat center center;
background-size: contain;
margin-right: 4px;
vertical-align: text-bottom;
}
/* == Miscellaneous Cleanup == */
.mw-parser-output > div[style] {
margin: 0;
padding: 0;
}
.mw-parser-output img {
display: block;
}
.mw-body h1, .mw-body h2, .mw-body h3,
.mw-body h4, .mw-body h5, .mw-body h6 {
color: white !important;
}
div[style*="background:#f9f9f9"] h1,
.page-Special_ListFiles table,
.page-Special_ListFiles td,
.page-Special_ListFiles th,
.ns-6 table, .ns-6 td, .ns-6 th {
color: #000 !important;
}
/* == Horizontal List Formatting == */
.hlist dl, .hlist ol, .hlist ul {
margin: 0;
padding: 0;
}
.hlist dd, .hlist dt, .hlist li {
display: inline;
margin: 0;
}
.hlist.hnum li {
counter-increment: list-item;
}
.hlist.hnum li::before {
content: counter(list-item) " ";
font-weight: bold;
}
.hlist ol {
counter-reset: list-item;
}
.hlist dd::after, .hlist dt::after, .hlist li::after {
content: " ·";
padding: 0 .2em;
}
.hlist dd:last-child::after,
.hlist dt:last-child::after,
.hlist li:last-child::after {
content: none;
}