MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(108 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* - Global Dark for CountryGame: Runnina - */ | /* - Global Dark for CountryGame: Runnina - */ | ||
/* === Custom Banner === */ | |||
#mw-head { | |||
background: url("/images/1/12/Background_0001.png") repeat-x top center; | |||
background-size: auto 80px; /* adjust height */ | |||
height: 80px; | |||
} | |||
/* --- Overall Background Page --- */ | /* --- Overall Background Page --- */ | ||
Line 46: | Line 53: | ||
border: 1px solid #900603; | border: 1px solid #900603; | ||
color: white; | color: white; | ||
margin-left: -5px !important; | |||
} | |||
/* === Search Button === */ | |||
#searchButton { | |||
margin-right: 5px !important; | |||
} | } | ||
Line 90: | Line 103: | ||
#ca-unwatch.icon a::before { | #ca-unwatch.icon a::before { | ||
content: none !important; | content: none !important; | ||
} | |||
/* Alignment of User Icon */ | |||
.vector-user-menu-legacy #pt-anonuserpage, .vector-user-menu-legacy #pt-userpage a { | |||
background-position: left 0.33333333em; | |||
background-image: url(/skins/Vector/resources/skins.vector.styles.legacy/images/user-avatar.svg?943a0); | |||
background-repeat: no-repeat; | |||
background-size: 1.16666667em 1.16666667em; | |||
padding-top: 0.4em; | |||
padding-left: 1.9em; | |||
} | } | ||
Line 96: | Line 119: | ||
border: 3px solid #900603 !important; | border: 3px solid #900603 !important; | ||
background-color: #030104 !important; | background-color: #030104 !important; | ||
padding: | padding: 3px 10px 7px 122px !important; | ||
margin-right: | margin-right: 0px !important; /* space between this and the tabs */ | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
margin-left: 60px !important; | |||
display: flex !important; | |||
margin-top: -3px !important; | margin-top: -3px !important; | ||
align-items: center !important; | |||
} | } | ||
Line 112: | Line 135: | ||
display: inline-block !important; | display: inline-block !important; | ||
line-height: 1.5em !important; | line-height: 1.5em !important; | ||
} | |||
/* Delete Talk Option*/ | |||
#p-personal li#pt-mytalk, | |||
#p-personal li#pt-mytalk a, | |||
#p-personal li#pt-mytalk span { | |||
display: none !important; | |||
visibility: hidden !important; | |||
} | } | ||
Line 223: | Line 254: | ||
/* Hide the Talk Option */ | /* Hide the Talk Option */ | ||
#pt-talk { | #pt-talk { | ||
display: none !important; | display: none !important; | ||
} | } | ||
Line 275: | Line 301: | ||
#firstHeading { | #firstHeading { | ||
font-family: "Lexend SemiBold", sans-serif !important; | font-family: "Lexend SemiBold", sans-serif !important; | ||
} | |||
/* hlist styles */ | |||
.hlist dl, | |||
.hlist ol, | |||
.hlist ul { | |||
margin: 0; | |||
padding: 0; | |||
} | |||
.hlist dd, | |||
.hlist dt, | |||
.hlist li { | |||
margin: 0; | |||
display: inline; | |||
} | |||
.hlist.inline, | |||
.hlist.inline dl, | |||
.hlist.inline ol, | |||
.hlist.inline ul { | |||
display: inline; | |||
} | |||
.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; | |||
} | } | ||
Line 315: | Line 382: | ||
url("https://db.onlinewebfonts.com/t/5c5a257758cff0acee4d28ff555f3bc5.ttf")format("truetype"), | url("https://db.onlinewebfonts.com/t/5c5a257758cff0acee4d28ff555f3bc5.ttf")format("truetype"), | ||
url("https://db.onlinewebfonts.com/t/5c5a257758cff0acee4d28ff555f3bc5.svg#Helvetica")format("svg"); | url("https://db.onlinewebfonts.com/t/5c5a257758cff0acee4d28ff555f3bc5.svg#Helvetica")format("svg"); | ||
} | |||
/* Sidebar Discord Icon */ | |||
#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; | |||
} | |||
/* Sidebar NationStates Icon */ | |||
#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; | |||
} | |||
.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; | |||
} | } | ||
Line 325: | Line 438: | ||
.mw-parser-output img { | .mw-parser-output img { | ||
display: block; | display: block; | ||
} | |||
.mw-body h1, | |||
.mw-body h2, | |||
.mw-body h3, | |||
.mw-body h4, | |||
.mw-body h5, | |||
.mw-body h6 { | |||
color: white !important; | |||
} | |||
/* Make intro header black */ | |||
div[style*="background:#f9f9f9"] h1 { | |||
color: #000 !important; | |||
} | |||
/* Force file tables text to black */ | |||
.page-Special_ListFiles table, | |||
.page-Special_ListFiles td, | |||
.page-Special_ListFiles th, | |||
.ns-6 table, | |||
.ns-6 td, | |||
.ns-6 th { | |||
color: #000 !important; | |||
} | } |
Latest revision as of 06:03, 10 July 2025
/* - Global Dark for CountryGame: Runnina - */ /* === Custom Banner === */ #mw-head { background: url("/images/1/12/Background_0001.png") repeat-x top center; background-size: auto 80px; /* adjust height */ height: 80px; } /* --- Overall Background Page --- */ body, #content, .mw-body, .mw-body-content { background-color: #030104 !important; /* Onyx background */ color: #ffffff !important; /* White text for readability */ } /* === Hyperlink Colors === */ a, a:visited { color: #900603 !important; /* Ruby red */ text-decoration: none; } a:hover, a:active { color: #ff1a1a !important; /* Bright hover effect (optional) */ text-decoration: underline; } /* === Header Tabs === */ #p-views li a, #ca-edit a, #ca-viewsource a, #ca-history a { color: #900603 !important; font-weight: bold; text-shadow: 0 0 4px #900603; /* Subtle glow */ } #p-views li.selected a { border-bottom: 2px solid #900603; } /* === Action: Highlight Page === */ #ca-edit a:hover, #ca-viewsource a:hover, #ca-history a:hover { color: #ff1a1a !important; text-shadow: 0 0 6px #ff1a1a; } /* === Search Box === */ #searchInput { background-color: #1a1a1a; border: 1px solid #900603; color: white; margin-left: -5px !important; } /* === Search Button === */ #searchButton { margin-right: 5px !important; } /* === Text Selection Highlight === */ ::selection { background: #900603; color: white; } ::-moz-selection { background: #900603; color: white; } /* === All Commands! === */ .mw-portlet, .portlet, .vector-menu-content { background: #030104 !important; border: none !important; } .vector-menu h3 { color: #900603; } /* === Hyperlink Color for Sidebar === */ #mw-panel a { color: #900603 !important; } /* Watch Star Icon with Red-Black-Star Pattern */ #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; /* Move down by pixels */ background-size: 16px 16px; /* Adjust size as needed */ padding-left: 20px; /* Space for the icon */ } /* Removing Default Star Icon */ #ca-watch.icon a::before, #ca-unwatch.icon a::before { content: none !important; } /* Alignment of User Icon */ .vector-user-menu-legacy #pt-anonuserpage, .vector-user-menu-legacy #pt-userpage a { background-position: left 0.33333333em; background-image: url(/skins/Vector/resources/skins.vector.styles.legacy/images/user-avatar.svg?943a0); background-repeat: no-repeat; background-size: 1.16666667em 1.16666667em; padding-top: 0.4em; padding-left: 1.9em; } /* Profile Tabloid (Known as the Command Bar) */ #p-personal { border: 3px solid #900603 !important; background-color: #030104 !important; padding: 3px 10px 7px 122px !important; margin-right: 0px !important; /* space between this and the tabs */ box-sizing: border-box !important; margin-left: 60px !important; display: flex !important; margin-top: -3px !important; align-items: center !important; } #p-personal li { margin-right: 0.8em !important; } #p-personal .vector-menu-content { display: inline-block !important; line-height: 1.5em !important; } /* Delete Talk Option*/ #p-personal li#pt-mytalk, #p-personal li#pt-mytalk a, #p-personal li#pt-mytalk span { display: none !important; visibility: hidden !important; } /* Dropdown Menu Box */ #ca-more { background-color: #f8f9fa !important; border-bottom: none !important; padding: 0 !important; margin: 0 !important; box-sizing: border-box !important; display: flex !important; align-items: center !important; height: 23px !important; /* Adjust height to match your tabs */ } /* Stylizing */ #ca-more > a { display: inline-block !important; padding: 0 0.8em !important; color: #900603 !important; font-weight: bold !important; text-shadow: 0 0 4px #900603 !important; line-height: 23px !important; /* Align text vertically */ border: none !important; } /* Pseudo-Element Removal */ #ca-more::after { content: none !important; } /* Hover state */ #ca-more:hover, #ca-more:focus { background-color: #ffffff !important; } #ca-more > a:hover { color: #ff1a1a !important; text-shadow: 0 0 6px #ff1a1a !important; } /* Underline Activation */ #ca-more.selected { border-bottom: 2px solid #900603 !important; } /* Options for More */ #p-cactions { background-color: #f8f9fa !important; /* Boxes */ border: 0px solid #900603 !important; /* Red border */ border-bottom: none !important; /* Underlining */ padding: 0 0.5em !important; } /* Stylizing */ #p-cactions .vector-menu-heading, #p-cactions .vector-menu-heading a { color: #900603 !important; font-weight: bold !important; text-shadow: 0 0 4px #900603 !important; } /* Hover Effect */ #p-cactions:hover, #p-cactions:focus { background-color: #ffffff !important; } #p-cactions .vector-menu-heading:hover, #p-cactions .vector-menu-heading a:hover { color: #ff1a1a !important; text-shadow: 0 0 6px #ff1a1a !important; } /* Underline Activation */ #p-cactions.selected { border-bottom: 2px solid #900603 !important; } /* Bell Icon Red */ #pt-notifications-alert .mw-echo-notifications-badge { filter: brightness(0) saturate(100%) invert(14%) sepia(94%) saturate(7159%) hue-rotate(357deg) brightness(92%) contrast(118%) !important; } /* Inbox Icon Red */ #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; } /* Count Badge Purple */ .mw-echo-notifications-badge .mw-echo-unseen-notifications { background-color: #6a0dad !important; /* Purple */ color: white !important; /* Text Color */ } /* Bell Icon Lowered */ #pt-notifications-alert .mw-echo-notifications-badge { vertical-align: middle !important; position: relative !important; top: 8px; /* adjust: higher number = moves down more */ } /* Inbox Icon Lowered */ #pt-notifications-notice .mw-echo-notifications-badge { vertical-align: middle !important; position: relative !important; top: 8px; /* adjust: higher number = moves down more */ } /* Hide the Talk Option */ #pt-talk { display: none !important; } /* Footer Background Onyx Black */ #footer, .mw-footer, .printfooter { background-color: #030104 !important; color: #ffffff !important; border-top: none !important; } /* Contributor Boxes */ #footer-icons .footer-icon { display: inline-block; padding: 4px 6px; margin: 2px; background: #f8f9fa; /* Light background for the boxes */ border: 1px solid #a2a9b1; /* Subtle border */ border-radius: 2px; } /* Horizontal Centering */ #footer-icons { text-align: center; } /* Main Page Content Area Background */ .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; } /* Onyx Black */ body { background-color: #030104 !important; } /* Thumbnail Captions */ div.thumb div.thumbcaption { color: #000000 !important; } #firstHeading { font-family: "Lexend SemiBold", sans-serif !important; } /* hlist styles */ .hlist dl, .hlist ol, .hlist ul { margin: 0; padding: 0; } .hlist dd, .hlist dt, .hlist li { margin: 0; display: inline; } .hlist.inline, .hlist.inline dl, .hlist.inline ol, .hlist.inline ul { display: inline; } .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; } @font-face { font-family: "Copperplate Gothic"; 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-face { font-family: "Lexend"; src: url("https://db.onlinewebfonts.com/t/252412eb53593c5afb3e30b6a88ca910.eot"); 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-family: "Lexend SemiBold"; src: url("https://db.onlinewebfonts.com/t/3474c885518969e3f7178ad88f489c78.eot"); 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-family: "Helvetica"; src: url("https://db.onlinewebfonts.com/t/5c5a257758cff0acee4d28ff555f3bc5.eot"); 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"); } /* Sidebar Discord Icon */ #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; } /* Sidebar NationStates Icon */ #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; } .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; } .mw-parser-output > div[style] { margin-top: 0; margin-bottom: 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; } /* Make intro header black */ div[style*="background:#f9f9f9"] h1 { color: #000 !important; } /* Force file tables text to black */ .page-Special_ListFiles table, .page-Special_ListFiles td, .page-Special_ListFiles th, .ns-6 table, .ns-6 td, .ns-6 th { color: #000 !important; }