MediaWiki:Vector-2022.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
:root {
--tfr-lightpurple: #7F4D9F;
--tfr-darkpurple: #DE47A3;
--tfr-darkestpurple: #7e29a5;
--tfr-blue: #B75DCC;
--tfr-dark-bg: rgb(8, 3, 9);
--tfr-header-bg: rgb(76, 48, 81);
--tfr-text-color: rgb(247, 233, 250);
}
a:not(.new) {
color: var(--tfr-darkestpurple);
}
a:visited {
color: var(--tfr-lightpurple);
}
/* Redlinks */
a.new {
color: red;
}
body.page-The_fire_rises_Wiki .mw-parser-output a:not(.new) {
color: var(--tfr-blue);
}
#catlinks {
background-color: black ;
border: 1px solid var(--tfr-lightpurple);
color: var(--tfr-text-color);
padding: 0.5em;
margin-top: 1em;
border-radius: 6px;
}
.catlinks {
background-color: black ;
border: 1px solid var(--tfr-lightpurple);
color: var(--tfr-text-color);
padding: 0.5em;
margin-top: 1em;
border-radius: 6px;
}
#catlinks a {
color: var(--tfr-lightpurple);
}
.catlinks a {
color: var(--tfr-lightpurple);
}
/* Force dark background for both light and dark modes */
body,
.mw-page-container,
.mw-body,
.vector-main,
.mw-content-container,
.vector-user-links-main,
.vector-sidebar-container,
.vector-main-menu-pinned-container,
.vector-sticky-header,
.vector-pinned-container {
background-color: var(--tfr-dark-bg) !important;
}
.vector-sticky-header {
border-bottom: none;
box-shadow: none;
}
.fade {
animation: fadeInOut 2s infinite;
}
@keyframes fadeInOut {
0% { opacity: 0; }
50% { opacity: 1; }
100% { opacity: 0; }
}
/* Also remove potential shadow from the toolbar itself */
.vector-page-toolbar-container {
border-bottom: none;
box-shadow: none;
}
/* Header with purple bottom border */
.vector-header-container,
.vector-header,
.mw-header {
background-color: var(--tfr-dark-bg) !important;
border-bottom: 2px solid var(--tfr-lightpurple) !important;
}
/* Remove white fade at bottom */
*::after {
background: none !important;
background-image: none !important;
background-color: transparent !important;
}
/* Ensure text remains readable on dark background */
body,
.mw-body,
.mw-body-content,
.mw-parser-output {
color: var(--tfr-text-color) !important;
}
/* Fix title and heading colors */
.mw-body h1,
.mw-body-content h1,
.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6,
.firstHeading {
color: var(--tfr-text-color) !important;
}
/* Fix code block text color */
pre {
color: var(--tfr-text-color) !important;
background-color: rgba(0, 0, 0, 0.3) !important;
}
/* Fix infobox styling */
.infobox,
table.infobox,
.mw-parser-output .infobox,
.portable-infobox,
.pi-background {
background-color: rgba(8, 3, 9, 0.6);
border: 2px solid var(--tfr-lightpurple);
color: var(--tfr-text-color);
}
/* Fix wikitable styling - separate from infoboxes */
.wikitable {
background-color: rgba(8, 3, 9, 0.6);
border: 2px solid var(--tfr-lightpurple);
color: var(--tfr-text-color);
}
/* Fix table row backgrounds */
.infobox tr,
.wikitable tr {
background-color: transparent !important;
}
.tabber__section img,
.tabber__panel img,
.character-infobox .tabber__section img {
filter: none !important;
}
html.skin-theme-clientpref-night
.mw-parser-output figure[typeof~="mw:File/Thumb"] img.mw-file-element {
filter: none !important;
}
.tabber__tab,
.tabber__tab:visited,
.tabber__tab:focus,
.tabber__tab:active {
color: #7e29a5 !important;
}
/* Infobox cells - NO inner borders but with bottom lines */
.infobox th,
.infobox td,
.pi-data,
.pi-data-label,
.pi-data-value,
.pi-item,
.pi-item-spacing {
border: none !important;
border-bottom: 1px solid var(--tfr-lightpurple) !important;
color: var(--tfr-text-color) !important;
}
/* Wikitable cells - WITH inner borders */
.wikitable th,
.wikitable td {
border: 1px solid var(--tfr-lightpurple);
color: var(--tfr-text-color);
}
.infobox th:not([style*="background"]),
.infobox td:not([style*="background"]),
.wikitable th:not([style*="background"]),
.wikitable td:not([style*="background"]),
.pi-data:not([style*="background"]),
.pi-data-label:not([style*="background"]),
.pi-data-value:not([style*="background"]),
.pi-item:not([style*="background"]),
.pi-item-spacing:not([style*="background"]) {
background-color: rgba(8, 3, 9, 0.3) !important;
}
.infobox-header,
.infobox th,
.pi-header,
.pi-title {
color: var(--tfr-text-color) !important;
}
/* Apply purple header background only to headers without inline styles */
.infobox-header:not([style*="background"]),
.infobox th:not([style*="background"]),
.pi-header:not([style*="background"]),
.pi-title:not([style*="background"]) {
background-color: rgba(127, 77, 159, 0.3) !important;
}
/* Styling Template:SVersion */
.mbox,
.ambox,
.mbox-small-left,
.ambox-notice {
background-color: #080309 !important;
border: 2px solid #7F4D9F !important;
color: #ffffff;
border-radius: 6px;
padding: 0.45em 0.6em !important;
box-sizing: border-box;
}
/* PAGE WIDENING */
.mw-page-container {
max-width:unset;
}
.mw-body {
grid-template-columns: minmax(0,1fr) min-content;
}
.vector-header-container .mw-header {
width: 100%;
min-height: 3.125rem;
min-width: 31.25em;
max-width: 500.00rem;
padding-left: 1.5rem;
padding-right: 1.5rem;
box-sizing: border-box;
}
.vector-user-links-main {
background-color: #101418;
}
@font-face {
font-family: 'VCROSDMONO';
font-style: normal;
font-weight: 400;
src: url(https://static.wikitide.net/thefireriseswikiwiki/b/b5/VCR_OSD_MONO_1.001.woff2) format('woff2');
}
body,
.mw-body,
.mw-body-content,
.vector-body,
.mw-parser-output {
font-family: 'Electrolize', sans-serif;
}
@media screen {
/*Namespace Font*/
.mw-body h1,
.mw-body-content h1,
.mw-body-content h2 {
font-family: 'VCROSDMONO';
}
.vector-pinnable-header {
border-bottom: 1px solid var(--tfr-lightpurple);
}
.vector-pinnable-element .vector-menu-heading {
border-bottom: 1px solid var(--tfr-lightpurple);
}
.vector-page-toolbar-container {
box-shadow: 0 1px var(--tfr-lightpurple);
}
.vector-menu-tabs .mw-list-item.selected a {
color: var(--tfr-lightpurple) !important;
}
}
.vector-sticky-header-context-bar-primary {
font-family: 'VCROSDMONO'
}
/* Hide the dark/light mode selector in the top bar */
.mw-portlet-skin-client-prefs-skin-theme,
.skin-client-prefs-skin-theme {
display: none !important;
}
/* Style image thumbnails - only border on main container */
figure[typeof="mw:File/Thumb"] {
background-color: var(--tfr-dark-bg) !important;
border: 2px solid var(--tfr-lightpurple) !important;
}
.mwe-popups {
color: white;
border: 1px solid #7F4D9F;
box-shadow: 0 0 10px #7F4D9F, 0 0 20px #7F4D9F;
}
.mwe-popups .mwe-popups-container {
background-color: #080309 ;
}
.mwe-popups-extract {
color: white !important;
}
/* Style the actual image within thumbnails */
figure[typeof="mw:File/Thumb"] img,
.mw-file-element img {
background-color: var(--tfr-dark-bg) !important;
border: none !important;
}
figcaption {
color: var(--tfr-text-color) !important;
background-color: transparent !important;
}
.mw-image-border img {
border: 2px solid var(--tfr-lightpurple) !important;
}
figure[typeof="mw:File/Thumb"] figcaption,
figure[typeof="mw:File/Frame"] figcaption {
border: 2px solid var(--tfr-lightpurple) !important;
border-top: 0 !important;
}
.editOptions,
#editpage-specialchars {
background-color: #080309;
color: #F7E9FA;
border: 1px solid #7F4D9F;
}
input#wpSummary,
input#wpSummary:focus {
background-color: #080309;
color: #F7E9FA;
border: 1px solid #7F4D9F;
}
.ace_content {
background-color: #1F1F1F;
color: #F7E9FA;
border: 1px solid #7F4D9F;
}
.ace_gutter {
background-color: #181818 !important;
border: 1px solid #7F4D9F;
}
.ace_gutter-cell {
background-color: #181818 !important;
color: #F7E9FA;
}
.codeEditor-status-worker {
background-color: #181818 !important;
color: #F7E9FA;
}
.codeEditor-status-message {
background-color: #181818 !important;
color: #F7E9FA;
}
.codeEditor-status-line {
background-color: #181818;
color: #F7E9FA;
}
*[class*="ace_"] {
border-color: transparent !important;
outline-color: transparent !important;
}
.ace_cursor-layer .ace_cursor {
border-left: 2px solid white !important;
background-color: transparent !important;
}
.ace_scrollbar,
.ace_scrollbar-v {
background-color: #181818;
}
/* Diff highlighting - changed content */
.diff-addedline,
.diff-deletedline {
border-color: var(--tfr-lightpurple);
}
/* Added lines (green by default) */
.diff-addedline {
background-color: rgba(127, 77, 159, 0.2); /* Light purple background */
border-left: 4px solid var(--tfr-lightpurple);
}
/* Deleted lines (red by default) */
.diff-deletedline {
background-color: rgba(222, 71, 163, 0.2); /* Light dark purple background */
border-left: 4px solid var(--tfr-darkpurple);
}
/* Changed content within lines */
.diffchange {
background-color: var(--tfr-lightpurple);
color: var(--tfr-text-color);
}
/* Context lines (unchanged) */
.diff-context {
background-color: var(--tfr-dark-bg);
color: var(--tfr-text-color);
}
.diffchange {
background-color: var(--tfr-lightpurple) !important;
color: var(--tfr-text-color) !important;
}
.thumb {
background-color: #0F0F0F !important;
border: 1px solid #7F4D9F !important;
}
.vector-dropdown-content {
background-color: #0F0F0F !important;
border: 1px solid #7F4D9F !important;
}
.vector-icon.mw-ui-icon-bell.mw-ui-icon-wikimedia-bell {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/Bell.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
/* Tray icon */
.vector-icon.mw-ui-icon-tray.mw-ui-icon-wikimedia-tray {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/Tray.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
/* Watchlist icon */
.vector-icon.mw-ui-icon-watchlist.mw-ui-icon-wikimedia-watchlist {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/Watchlist.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
.vector-icon.mw-ui-icon-userAvatar.mw-ui-icon-wikimedia-userAvatar {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/User.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
/* Make the dropdown arrow white */
@media screen {
@supports (-webkit-mask-image:none) or (mask-image:none) {
.vector-user-menu-logged-in .vector-dropdown-label::after {
background-color: white !important;
}
}
}
/* Appear icon */
.vector-icon.mw-ui-icon-appearance.mw-ui-icon-wikimedia-appearance {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/Appear.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
/* Talk icon */
.vector-icon.mw-ui-icon-userTalk.mw-ui-icon-wikimedia-userTalk {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/Talk.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
/* Pref icon */
.vector-icon.mw-ui-icon-settings.mw-ui-icon-wikimedia-settings {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/Pref.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
/* Beta icon */
.vector-icon.mw-ui-icon-labFlask.mw-ui-icon-wikimedia-labFlask {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/Beta.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
/* Contribute icon */
.vector-icon.mw-ui-icon-userContributions.mw-ui-icon-wikimedia-userContributions {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/Contribute.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
/* Logout icon */
.vector-icon.mw-ui-icon-logOut.mw-ui-icon-wikimedia-logOut {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/Logout.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
/* Mainmenu icon */
.vector-icon.mw-ui-icon-menu.mw-ui-icon-wikimedia-menu {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/mainmenu.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
/* talk icon */
.vector-icon.mw-ui-icon-speechBubbles.mw-ui-icon-wikimedia-speechBubbles {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/talk1.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
/* pastrevision icon */
.vector-icon.mw-ui-icon-wikimedia-history.mw-ui-icon-wikimedia-wikimedia-history {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/pastrevision.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
/* pencil icon */
.vector-icon.mw-ui-icon-wikimedia-edit.mw-ui-icon-wikimedia-wikimedia-edit {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/pencil.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
/* Star icon - correct class structure */
.vector-icon.mw-ui-icon-wikimedia-wikimedia-star.mw-ui-icon-wikimedia-unStar {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/star.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px ;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
/* Hollowstar icon */
.vector-icon.mw-ui-icon-wikimedia-star.mw-ui-icon-wikimedia-wikimedia-star {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/hollowstar.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
/* edit icon */
.vector-icon.mw-ui-icon-wikimedia-wikiText.mw-ui-icon-wikimedia-wikimedia-wikiText {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/edit.png') !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 24px;
height: 24px;
mask: none !important;
-webkit-mask: none !important;
background-color: transparent !important;
}
/* Remove any default icon sprite content */
.mw-ui-icon-wikimedia-userAvatar::before {
content: none !important;
}
/* Fix the clicked/active state bell icon */
.oo-ui-icon-bell {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/Bell.png') !important;
background-size: 70%;
mask: none !important;
background-color: transparent;
opacity: 1 !important;
}
/* Fix the clicked/active state tray icon */
.oo-ui-icon-tray {
background-image: url('https://thefireriseswiki.miraheze.org/wiki/Special:FilePath/Tray.png') !important;
background-size: 80%;
mask: none !important;
background-color: transparent;
opacity: 1 !important;
}
.wikitable.mw-collapsible > tr:first-child th,
.wikitable.mw-collapsible > * > tr:first-child th {
background-color: #161616 !important;
color: #F7E9FA !important;
}
.mw-changeslist-legend {
background-color: #161616 !important;
color: #f0f0f0 !important;
}
.mw-footer,
.mw-footer * {
color: #F7E9FA !important;
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
background-color: #161616 !important;
color: #F7E9FA !important;
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget {
background-color: #161616 !important;
color: #F7E9FA !important;
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup * {
background-color: transparent !important;
color: #F7E9FA !important;
}
.vector-toc-list-item-active .vector-toc-text {
color: #ffffff !important;
}
.vector-body blockquote {
border-left: 4px solid var(--tfr-lightpurple) !important;
padding-left: 1em !important;
margin-left: 0 !important;
font-style: italic;
color: inherit !important;
}
.oo-ui-window-head {
background-color: var(--tfr-header-bg);
}
.oo-ui-menuLayout-content {
background-color: var(--tfr-dark-bg)
}
.oo-ui-fieldLayout-header {
color: black;
}
.oo-ui-menuLayout-content {
background-color: var(--tfr-dark-bg)
}
.oo-ui-window-foot {
background-color: var(--tfr-header-bg);
}
.oo-ui-labelElement-label.mw-widget-mediaResultWidget-nameLabel {
background-color: var(--tfr-dark-bg);
color: var(--tfr-text-color);
}
.oo-ui-tabSelectWidget-framed {
background-color: #181818;
}
.oo-ui-tabOptionWidget .oo-ui-labelElement-label {
color: var(--tfr-text-color);
}
.oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
background-color: var(--tfr-dark-bg) !important;
}
.oo-ui-indicator-down{
filter: brightness(0) invert(1);
}
.oo-ui-widget {
color:Orchid;
}
.oo-ui-widget:hover .oo-ui-indicator-down,
.oo-ui-toolGroup:hover .oo-ui-indicator-down {
filter: brightness(0);
}
.ideology-cell p {
display: inline-block !important;
margin: 0 !important;
padding: 0 !important;
}
table td ul + p {
display: none !important;
margin: 0 !important;
padding: 0 !important;
}
td.rowideologyspan-countryname p {
display: none;
}
td.rowideologyspan-traits p {
display: none;
}
td.rowideologyspan-notes p {
display: none;
}
table td .eu4box ul + p {
display: block !important;
margin: revert !important;
padding: revert !important;
}
.eu4box.addborder {
border: 2px solid #203420;
background-image: repeating-linear-gradient(
to bottom,
#171017 0px,
#171017 2px,
#1C121C 2px,
#1C121C 4px
);
}
.eu4box.addborder .heading {
background: #203420;
}
.eu4box-inline.addborder {
border: 2px solid #7F4D9F;
}
.eu4box-inline.addborder .heading {
background: #648764;
}
.navbox .navbox-list.navbox-odd {
background: linear-gradient(to bottom, #0d141c, #0c0c0c);
}
.navbox .navbox-title {
background: linear-gradient(to bottom, #172430, #0c0c0c);
}
.navbox .navbox-group {
background: linear-gradient(to bottom, #10141d, #03050d);
}
/* Custom Cursor */
body {
cursor: url('https://larpofhoi4.loca.lt/wiki/images/4/49/Cursor1.png'), pointer;
}
a:hover {
cursor: url('https://larpofhoi4.loca.lt/wiki/images/a/a6/Pointer1.png'), pointer;
}
.spoil {
filter: grayscale(1) blur(4px);
transition: 0.25s;
user-select: none;
cursor: pointer;
}
/* */
.spoil:hover {
filter: grayscale(0) blur(0px);
}
.spoilopen {
filter: grayscale(0) blur(0px);
}
.profile-user-group {
color: var(--tfr-lightpurple);
}
.oo-ui-labelElement-label,.pages{
color: DarkSlateBlue;
}
.options {
color:black;
}
.oo-ui-menuLayout-menu, .ve-ui-mwTransclusionOutlineTemplateWidget-sticky{
background-color: var(--tfr-dark-bg);
}
.vector-body {
color:Orchid;
}
.tabber__tabs {
display: flex !important;
flex-wrap: wrap !important;
justify-content: center;
gap: 2px;
}
.tabber__tab {
font-size: 85%;
padding: 2px 6px;
white-space: nowrap;
width: auto;
min-width: max-content;
text-align: center;
}
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 400px;
}
div.mw-warning-with-logexcerpt {
background-color: #3C1A13;
border-color: #F54739;
}
.color-Y { color: #ffbd00; }
.oo-ui-iconElement-icon {
background-color: transparent !important;
color: #ffffff !important;
opacity: 1 !important;
filter: none !important;
}
/* Override hardcoded inline blue backgrounds in template headers */
.infobox .infobox-above,
.infobox .infobox-header,
.infobox th[style*="background"],
.infobox td[style*="background"].infobox-header {
background-color: rgba(127, 77, 159, 0.3) !important; /* Your light purple at 30% opacity */
color: var(--tfr-text-color) !important;
}