|
|
Line 1: |
Line 1: |
| /* Apply navy & orange dark theme only to Special:Preferences */
| |
| .page-Special_Preferences {
| |
| /* Base Colors */
| |
| --color-base: #001f3f; /* Navy base */
| |
| --color-base-fixed: #001f3f;
| |
| --color-base--hover: #002b5c; /* Darker Navy on hover */
| |
| --color-emphasized: #ffffff; /* White for strong contrast */
| |
| --color-subtle: #7f8c8d; /* Light gray for subtle text */
| |
| --color-placeholder: #b0bec5; /* Soft gray placeholders */
| |
| --color-disabled: #555555;
| |
| --color-inverted: #ffffff;
| |
|
| |
| /* Background Colors */
| |
| --background-color-base: #001933; /* Deep Navy */
| |
| --background-color-neutral: #001a33;
| |
| --background-color-interactive: #002244;
| |
| --background-color-disabled: #333333;
| |
| --background-color-progressive: #ff851b; /* Bright Orange */
| |
|
| |
| /* Border Colors */
| |
| --border-color-base: #003366; /* Mid-tone Navy */
| |
| --border-color-progressive: #ff851b; /* Bright Orange */
| |
| --border-color-destructive: #ff4500; /* Burnt Orange */
| |
|
| |
| /* Text & Highlight Colors */
| |
| --color-progressive: #ff851b; /* Bright Orange */
| |
| --color-destructive: #ff4500; /* Burnt Orange */
| |
|
| |
| /* Additional tweaks for form fields */
| |
| .oo-ui-fieldLayout,
| |
| .mw-htmlform-field-HTMLTextField,
| |
| .mw-htmlform-field-HTMLSelectField {
| |
| background-color: #002244; /* Dark Navy for input fields */
| |
| color: #ffffff; /* White text */
| |
| border: 1px solid #ff851b; /* Bright Orange borders */
| |
| }
| |
|
| |
| /* Buttons */
| |
| .oo-ui-buttonWidget {
| |
| background-color: #003366; /* Mid-tone Navy */
| |
| color: #ffffff;
| |
| border: 1px solid #ff851b; /* Bright Orange border */
| |
| }
| |
|
| |
| .oo-ui-buttonWidget:hover {
| |
| background-color: #ff851b; /* Bright Orange on hover */
| |
| color: #001933; /* Deep Navy text */
| |
| }
| |
|
| |
| /* Destructive Buttons */
| |
| .oo-ui-buttonWidget.oo-ui-destructive {
| |
| background-color: #ff4500;
| |
| border: 1px solid #ff4500;
| |
| }
| |
|
| |
| .oo-ui-buttonWidget.oo-ui-destructive:hover {
| |
| background-color: #ff6347;
| |
| border-color: #ff6347;
| |
| }
| |
|
| |
| /* Form Fields Hover & Focus */
| |
| .oo-ui-fieldLayout:hover,
| |
| .oo-ui-fieldLayout:focus-within {
| |
| border-color: #ff851b; /* Bright Orange on focus */
| |
| }
| |
|
| |
| /* Highlight Links */
| |
| a {
| |
| color: #ff851b;
| |
| text-decoration: none;
| |
| }
| |
|
| |
| a:hover {
| |
| color: #ffb84d; /* Soft Peach on hover */
| |
| text-decoration: underline;
| |
| }
| |
|
| |
| /* Messages & Notices */
| |
| .mw-message-box {
| |
| background-color: #002b5c;
| |
| border-left: 4px solid #ff851b;
| |
| color: #ffffff;
| |
| }
| |
|
| |
| .mw-message-box-warning {
| |
| background-color: #ff851b;
| |
| color: #001933;
| |
| }
| |
|
| |
| .mw-message-box-error {
| |
| background-color: #ff4500;
| |
| color: #ffffff;
| |
| }
| |
|
| |
| /* Active Tabs or Selected Items */
| |
| .mw-ui-tab-active {
| |
| background-color: #ff851b;
| |
| color: #001933;
| |
| border-bottom: 2px solid #ff6300;
| |
| }
| |
|
| |
| /* Checkbox & Radio Inputs */
| |
| input[type="checkbox"]:checked,
| |
| input[type="radio"]:checked {
| |
| background-color: #ff851b;
| |
| border-color: #ff851b;
| |
| }
| |
|
| |
| /* Scrollbar */
| |
| ::-webkit-scrollbar {
| |
| width: 12px;
| |
| }
| |
|
| |
| ::-webkit-scrollbar-track {
| |
| background: #001933;
| |
| }
| |
|
| |
| ::-webkit-scrollbar-thumb {
| |
| background-color: #ff851b;
| |
| border-radius: 10px;
| |
| border: 3px solid #001933;
| |
| }
| |
|
| |
| ::-webkit-scrollbar-thumb:hover {
| |
| background-color: #ffb84d;
| |
| }
| |
| }
| |
|
| |
| :root, .skin-vector, .skin-invert, .notheme {
| |
| /* Base Colors */
| |
| --color-base: #FFFFFF; /* White for primary text */
| |
| --color-base-fixed: #FFFFFF;
| |
| --color-base--hover: #FFB84D; /* Soft Peach for hover */
| |
| --color-emphasized: #FFFFFF;
| |
| --color-subtle: #FF851B; /* Bright Orange for subtle text */
| |
| --color-placeholder: #FFB84D;
| |
| --color-disabled: #72777d;
| |
| --color-inverted: #FFFFFF;
| |
| --color-inverted-fixed: #FFFFFF;
| |
|
| |
| /* Progressive Colors (Links, Highlights) */
| |
| --color-progressive: #FF851B; /* Bright Orange */
| |
| --color-progressive--hover: #FFB84D; /* Soft Peach */
| |
| --color-progressive--active: #FF6300; /* Deep Orange */
| |
| --color-progressive--focus: #FF851B;
| |
|
| |
| /* Destructive/Warning/Success */
| |
| --color-destructive: #FF4500; /* Burnt Orange */
| |
| --color-destructive--hover: #FF6347; /* Tomato */
| |
| --color-destructive--active: #9F3526; /* Deep Burnt Orange */
| |
| --color-destructive--focus: #FF851B;
| |
| --color-visited: #B86BFF; /* Lavender for visited links */
| |
| --color-destructive--visited: #FF6347;
| |
| --color-error: #FF4500;
| |
| --color-warning: #FFB84D;
| |
| --color-success: #177860;
| |
| --color-notice: #FFFFFF;
| |
|
| |
| /* Content Changes */
| |
| --color-content-added: #006400;
| |
| --color-content-removed: #8B0000;
| |
|
| |
| /* Shadows & Filters */
| |
| --filter-invert-icon: 0;
| |
| --filter-invert-primary-button-icon: 1;
| |
| --box-shadow-color-base: #000;
| |
| --box-shadow-color-progressive--active: #FF6300;
| |
| --box-shadow-color-progressive--focus: #FF851B;
| |
| --box-shadow-color-progressive-selected: #FF851B;
| |
| --box-shadow-color-progressive-selected--hover: #FFB84D;
| |
| --box-shadow-color-progressive-selected--active: #FF6300;
| |
| --box-shadow-color-destructive--focus: #FF851B;
| |
| --box-shadow-color-inverted: #FFFFFF;
| |
| --box-shadow-color-transparent: transparent;
| |
|
| |
| /* Background Colors */
| |
| --background-color-base: #001F3F; /* Navy */
| |
| --background-color-base-fixed: #001F3F;
| |
| --background-color-neutral: #002855;
| |
| --background-color-neutral-subtle: #001933;
| |
| --background-color-interactive: #002B5C;
| |
| --background-color-interactive-subtle: #001933;
| |
| --background-color-disabled: #54595d;
| |
| --background-color-disabled-subtle: #3A3D42;
| |
| --background-color-inverted: #101418;
| |
|
| |
| /* Background - Progressive */
| |
| --background-color-progressive: #FF851B;
| |
| --background-color-progressive--hover: #FFB84D;
| |
| --background-color-progressive--active: #FF6300;
| |
| --background-color-progressive--focus: #FF851B;
| |
| --background-color-progressive-subtle: rgba(255, 133, 27, 0.1);
| |
|
| |
| /* Background - Destructive */
| |
| --background-color-destructive: #FF4500;
| |
| --background-color-destructive--hover: #FF6347;
| |
| --background-color-destructive--active: #9F3526;
| |
| --background-color-destructive--focus: #FF851B;
| |
| --background-color-destructive-subtle: rgba(255, 69, 0, 0.1);
| |
|
| |
| /* Background - Error/Warning/Success */
| |
| --background-color-error: #FF4500;
| |
| --background-color-error--hover: #FF6347;
| |
| --background-color-error--active: #9F3526;
| |
| --background-color-error-subtle: rgba(255, 69, 0, 0.1);
| |
| --background-color-warning-subtle: rgba(255, 184, 77, 0.2);
| |
| --background-color-success-subtle: #dff2eb;
| |
| --background-color-notice-subtle: #001933;
| |
| --background-color-content-added: #a3d3ff;
| |
| --background-color-content-removed: #ffe49c;
| |
| --background-color-transparent: transparent;
| |
| --background-color-backdrop-light: rgba(255, 255, 255, 0.65);
| |
| --background-color-backdrop-dark: rgba(0, 0, 0, 0.65);
| |
| --background-color-button-quiet--hover: rgba(255, 133, 27, 0.1);
| |
| --background-color-button-quiet--active: rgba(255, 133, 27, 0.2);
| |
| --background-color-input-binary--checked: #FF851B;
| |
| --background-color-tab-list-item-framed--hover: rgba(255, 255, 255, 0.3);
| |
| --background-color-tab-list-item-framed--active: rgba(255, 255, 255, 0.65);
| |
|
| |
| /* Opacity */
| |
| --opacity-icon-base: 0.87;
| |
| --opacity-icon-base--hover: 0.74;
| |
| --opacity-icon-base--selected: 1;
| |
| --opacity-icon-base--disabled: 0.51;
| |
| --opacity-icon-placeholder: 0.51;
| |
| --opacity-icon-subtle: 0.67;
| |
|
| |
| /* Borders */
| |
| --border-color-base: #FF851B;
| |
| --border-color-subtle: #FFB84D;
| |
| --border-color-muted: #FFB84D;
| |
| --border-color-interactive: #FF851B;
| |
| --border-color-disabled: #54595d;
| |
| --border-color-inverted: #FFFFFF;
| |
| --border-color-progressive: #FF851B;
| |
| --border-color-progressive--hover: #FFB84D;
| |
| --border-color-progressive--active: #FF6300;
| |
| --border-color-progressive--focus: #FF851B;
| |
| --border-color-destructive: #FF4500;
| |
| --border-color-destructive--hover: #FF6347;
| |
| --border-color-destructive--active: #9F3526;
| |
| --border-color-destructive--focus: #FF851B;
| |
| --border-color-error: #FF4500;
| |
| --border-color-error--hover: #FF6347;
| |
| --border-color-warning: #FFB84D;
| |
| --border-color-success: #177860;
| |
| --border-color-notice: #001933;
| |
| --border-color-content-added: #a3d3ff;
| |
| --border-color-content-removed: #ffe49c;
| |
| --border-color-transparent: transparent;
| |
| --border-color-divider: #FF851B;
| |
|
| |
| /* Outline */
| |
| --outline-color-progressive--focus: #FF851B;
| |
|
| |
| /* Link Overrides */
| |
| --color-link-red: var(--color-destructive);
| |
| --color-link-red--hover: var(--color-destructive--hover);
| |
| --color-link-red--active: var(--color-destructive--active);
| |
| --color-link-red--focus: var(--color-destructive--focus);
| |
| --color-link-red--visited: var(--color-destructive--visited);
| |
|
| |
| /* Input Borders */
| |
| --border-color-input--hover: var(--border-color-interactive);
| |
| --border-color-input-binary: var(--border-color-interactive);
| |
| --border-color-input-binary--hover: var(--border-color-progressive--hover);
| |
| --border-color-input-binary--active: var(--border-color-progressive--active);
| |
| --border-color-input-binary--focus: var(--border-color-progressive--focus);
| |
| --border-color-input-binary--checked: var(--border-color-progressive);
| |
|
| |
| /* Subtle Text */
| |
| --color-base--subtle: #FF851B;
| |
| }
| |
| @import url('https://fonts.googleapis.com/css2?family=Bona+Nova:ital,wght@0,400;0,700;1,400&family=Metamorphous&display=swap'); | | @import url('https://fonts.googleapis.com/css2?family=Bona+Nova:ital,wght@0,400;0,700;1,400&family=Metamorphous&display=swap'); |
| .bona-nova-regular { | | .bona-nova-regular { |
Line 296: |
Line 23: |
| font-style: normal; | | font-style: normal; |
| } | | } |
| /* ===== Global Styles ===== */
| |
| body {
| |
| margin: 0;
| |
| padding: 0;
| |
| background-color: #001F3F; /* Navy */
| |
| color: #FFFFFF; /* White text */
| |
| font-family: 'Bona Nova', serif;
| |
| }
| |
|
| |
| /* ===== Headers (Orange Variants) ===== */
| |
| h1, h2, h3, h4, h5, h6,
| |
| .mw-body h1,
| |
| .mw-body .mw-heading1,
| |
| .mw-body-content h1,
| |
| .mw-body-content .mw-heading1,
| |
| .mw-body-content h2,
| |
| .mw-body-content .mw-heading2,
| |
| .mw-logo-wordmark,
| |
| #firstHeadingTitle {
| |
| font-family: 'Metamorphous', cursive;
| |
| color: #FF6300; /* Bright Orange */
| |
| }
| |
|
| |
| /* ===== Links ===== */
| |
| a {
| |
| color: #FF851B; /* Orange */
| |
| text-decoration: none;
| |
| }
| |
|
| |
| a:hover {
| |
| color: #FFB84D; /* Soft Peach */
| |
| text-decoration: underline;
| |
| }
| |
|
| |
| /* ===== User Links (Full Coverage) ===== */
| |
| #p-personal {
| |
| background-color: #001933;
| |
| border-radius: 4px;
| |
| padding: 4px 8px;
| |
| }
| |
|
| |
| #p-personal li {
| |
| display: inline-block;
| |
| margin-left: 8px;
| |
| }
| |
|
| |
| #p-personal a {
| |
| color: #FF851B; /* Orange */
| |
| font-weight: bold;
| |
| }
| |
|
| |
| #p-personal a:hover {
| |
| color: #FFB84D; /* Soft Peach */
| |
| text-decoration: underline;
| |
| }
| |
|
| |
| /* === Specific User Links === */
| |
| #pt-userpage a, /* User page */
| |
| #pt-mytalk a, /* Talk page */
| |
| #pt-preferences a, /* Preferences */
| |
| #pt-watchlist a, /* Watchlist */
| |
| #pt-mycontris a, /* Contributions */
| |
| #pt-notifications a, /* Notifications (Echo) */
| |
| #pt-echo a, /* Echo dropdown */
| |
| #pt-login a, /* Login */
| |
| #pt-createaccount a /* Create Account */ {
| |
| color: #FF851B;
| |
| }
| |
|
| |
| #pt-userpage a:hover,
| |
| #pt-mytalk a:hover,
| |
| #pt-preferences a:hover,
| |
| #pt-watchlist a:hover,
| |
| #pt-mycontris a:hover,
| |
| #pt-notifications a:hover,
| |
| #pt-echo a:hover,
| |
| #pt-login a:hover,
| |
| #pt-createaccount a:hover {
| |
| color: #FFB84D;
| |
| text-decoration: underline;
| |
| }
| |
|
| |
| /* Logout Button Specific Styling */
| |
| #pt-logout a {
| |
| color: #FF4500; /* Burnt Orange for emphasis */
| |
| }
| |
|
| |
| /* ===== Main Structure ===== */
| |
| #mw-head {
| |
| background-color: #001A33;
| |
| color: #FFFFFF;
| |
| border-bottom: 3px solid #FF851B;
| |
| }
| |
|
| |
| #mw-panel {
| |
| background-color: #002855;
| |
| color: #FFFFFF;
| |
| }
| |
|
| |
| #mw-panel a {
| |
| color: #FF851B;
| |
| }
| |
|
| |
| #mw-panel a:hover {
| |
| color: #FFB84D;
| |
| text-decoration: underline;
| |
| }
| |
|
| |
| #content {
| |
| background-color: #001933;
| |
| border: 1px solid #FF851B;
| |
| padding: 20px;
| |
| color: #FFFFFF;
| |
| }
| |
| .mw-body {
| |
| background-color: #001F3F; /* Navy */
| |
| color: #FFFFFF; /* White text */
| |
| }
| |
| /* ===== Table of Contents (TOC) ===== */
| |
| #toc {
| |
| background-color: #002B5C;
| |
| border: 2px solid #FF851B;
| |
| border-radius: 8px;
| |
| padding: 10px;
| |
| width: fit-content;
| |
| color: #FFFFFF;
| |
| }
| |
|
| |
| #toc h2 {
| |
| font-family: 'Metamorphous', cursive;
| |
| color: #FF6300;
| |
| text-align: center;
| |
| margin-bottom: 8px;
| |
| }
| |
|
| |
| #toc ul {
| |
| list-style-type: none;
| |
| padding: 0;
| |
| }
| |
|
| |
| #toc li {
| |
| margin: 4px 0;
| |
| }
| |
|
| |
| #toc a {
| |
| color: #FF851B;
| |
| }
| |
|
| |
| #toc a:hover {
| |
| color: #FFB84D;
| |
| text-decoration: underline;
| |
| }
| |
|
| |
| #toc .toclevel-1 > a {
| |
| font-weight: bold;
| |
| }
| |
|
| |
| #toc .tocnumber {
| |
| color: #FF4500;
| |
| }
| |
|
| |
| #toc .current {
| |
| background-color: #FF4500;
| |
| color: #FFFFFF;
| |
| padding: 2px 4px;
| |
| border-radius: 4px;
| |
| }
| |
| /* === Logout Link (Burnt Orange) === */
| |
| #pt-logout a {
| |
| color: #FF4500;
| |
| }
| |
|
| |
| #pt-logout a:hover {
| |
| color: #FF6347;
| |
| }
| |
|
| |
| /* ===== Echo Notifications Dropdown ===== */
| |
| .mw-echo-ui-notificationsBadgeButton {
| |
| background-color: #001933;
| |
| color: #FF851B;
| |
| border: 1px solid #FF851B;
| |
| border-radius: 4px;
| |
| padding: 4px;
| |
| }
| |
|
| |
| .mw-echo-ui-notificationsBadgeButton:hover {
| |
| background-color: #FF851B;
| |
| color: #001933;
| |
| }
| |
|
| |
| /* ===== mw-changeslist-legend (TOC-Style) ===== */
| |
| .mw-changeslist-legend {
| |
| background-color: #002B5C;
| |
| border: 2px solid #FF851B;
| |
| border-radius: 8px;
| |
| padding: 10px;
| |
| width: fit-content;
| |
| color: #FFFFFF;
| |
| font-size: 90%;
| |
| }
| |
|
| |
| .mw-changeslist-legend h2 {
| |
| font-family: 'Metamorphous', cursive;
| |
| color: #FF6300;
| |
| text-align: center;
| |
| margin-bottom: 8px;
| |
| }
| |
| .mw-changeslist-legend ul {
| |
| list-style-type: none;
| |
| padding: 0;
| |
| }
| |
|
| |
| .mw-changeslist-legend li {
| |
| margin: 4px 0;
| |
| }
| |
| .mw-changeslist-legend a {
| |
| color: #FF851B;
| |
| }
| |
|
| |
| .mw-changeslist-legend a:hover {
| |
| color: #FFB84D;
| |
| text-decoration: underline;
| |
| }
| |
|
| |
| /* ===== System Messages ===== */
| |
| /* Warnings */
| |
| .mw-warning {
| |
| background-color: #FF4500;
| |
| color: #FFFFFF;
| |
| border-left: 4px solid #FF851B;
| |
| padding: 8px;
| |
| border-radius: 4px;
| |
| }
| |
|
| |
| /* Notices */
| |
| .mw-notice {
| |
| background-color: #002B5C;
| |
| color: #FFFFFF;
| |
| border-left: 4px solid #FF851B;
| |
| padding: 8px;
| |
| border-radius: 4px;
| |
| }
| |
|
| |
| /* ===== Infobox Styling ===== */
| |
| .infobox {
| |
| border: 2px solid #FF851B;
| |
| background-color: #002B5C;
| |
| color: #FFFFFF;
| |
| width: 250px;
| |
| font-size: 90%;
| |
| float: right;
| |
| margin: 0 0 1em 1em;
| |
| padding: 10px;
| |
| border-radius: 8px;
| |
| }
| |
|
| |
| .infobox th {
| |
| background-color: #003366;
| |
| color: #FFB84D;
| |
| padding: 5px;
| |
| font-family: 'Metamorphous', cursive;
| |
| text-align: center;
| |
| border-bottom: 1px solid #FF851B;
| |
| }
| |
|
| |
| .infobox td {
| |
| padding: 5px;
| |
| border-top: 1px solid #FF851B;
| |
| }
| |
|
| |
| .infobox caption {
| |
| font-family: 'Metamorphous', cursive;
| |
| font-size: 1.2em;
| |
| color: #FFB84D;
| |
| text-align: center;
| |
| padding-bottom: 5px;
| |
| }
| |
|
| |
| /* ===== vector 20 Specific Tweaks ===== */
| |
| /* Sidebar collapsed state */
| |
| .vector-menu-tabs li a {
| |
| color: #FF851B;
| |
| }
| |
|
| |
| .vector-menu-tabs li a:hover {
| |
| color: #FFB84D;
| |
| }
| |
|
| |
| /* Sticky header in vector 20 */
| |
| .vector-sticky-header {
| |
| background-color: #001A33;
| |
| border-bottom: 2px solid #FF851B;
| |
| box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
| |
| }
| |
|
| |
| .vector-sticky-header a {
| |
| color: #FF851B;
| |
| }
| |
|
| |
| .vector-sticky-header a:hover {
| |
| color: #FFB84D;
| |
| }
| |
| /* Default: No Gradient */
| |
| a, #mw-head .vector-menu-dropdown .vector-menu-heading {
| |
| background-image: none;
| |
| background-repeat: no-repeat;
| |
| background-size: cover;
| |
| transition: background-color 0.3s ease, color 0.3s ease, background-image 0.3s ease;
| |
| }
| |
|
| |
| /* Hover: Full Background Gradient */
| |
| a:hover, #mw-head .vector-menu-dropdown .vector-menu-heading:hover {
| |
| background-image: linear-gradient(to bottom, rgba(255, 133, 27, 0) 0, #FF851B 100%);
| |
| background-repeat: no-repeat;
| |
| background-size: cover; /* Ensures full coverage */
| |
| color: #FFFFFF;
| |
| }
| |
|
| |
| /* ===== Updated Legacy Tab Selection ===== */
| |
| .vector-menu-tabs-legacy .selected {
| |
| background: #FFB84D; /* Soft Peach for selected tab */
| |
| color: #001F3F; /* Navy text for contrast */
| |
| border-radius: 4px 4px 0 0;
| |
| border: 1px solid #FF851B;
| |
| }
| |
|
| |
| /* ===== Hover State for Non-Selected Tabs ===== */
| |
| .vector-menu-tabs-legacy li a:hover {
| |
| background-color: #FF851B;
| |
| color: #FFFFFF;
| |
| }
| |
|
| |
| /* ===== Optional: Stronger Highlight for Current Page ===== */
| |
| .vector-menu-tabs-legacy .selected a {
| |
| font-weight: bold;
| |
| color: #001F3F;
| |
| }
| |
|
| |
| /* Search bar */
| |
| #p-search input {
| |
| background-color: #001933;
| |
| color: #FFFFFF;
| |
| border: 1px solid #FF851B;
| |
| border-radius: 4px;
| |
| padding: 4px;
| |
| }
| |
|
| |
| #p-search input:focus {
| |
| border-color: #FFB84D;
| |
| outline: none;
| |
| }
| |
|
| |
| /* ===== Buttons ===== */
| |
| .mw-ui-button {
| |
| background-color: #FF851B;
| |
| color: #FFFFFF;
| |
| border: none;
| |
| padding: 8px 16px;
| |
| border-radius: 4px;
| |
| cursor: pointer;
| |
| }
| |
|
| |
| .mw-ui-button:hover {
| |
| background-color: #FFB84D;
| |
| }
| |
|
| |
| /* ===== Scrollbar ===== */
| |
| ::-webkit-scrollbar {
| |
| width: 12px;
| |
| }
| |
|
| |
| ::-webkit-scrollbar-track {
| |
| background: #001F3F;
| |
| }
| |
|
| |
| ::-webkit-scrollbar-thumb {
| |
| background-color: #FF851B;
| |
| border-radius: 10px;
| |
| border: 3px solid #001F3F;
| |
| }
| |
|
| |
| ::-webkit-scrollbar-thumb:hover {
| |
| background-color: #FFB84D;
| |
| }
| |
| /* ===== Universal Image Reset ===== */
| |
| img {
| |
| display: block;
| |
| width: auto;
| |
| height: auto;
| |
| max-width: 100%;
| |
| max-height: 100%;
| |
| opacity: 1; /* Full visibility */
| |
| border: none;
| |
| filter: none;
| |
| transition: opacity 0.3s ease, filter 0.3s ease;
| |
| }
| |
|
| |
| /* ===== Hover Effect for Images (Optional) ===== */
| |
| img:hover {
| |
| opacity: 0.9;
| |
| }
| |
|
| |
| /* ===== Wiki Logo Specific Fix ===== */
| |
| #p-logo a,
| |
| #p-logo a img {
| |
| display: block;
| |
| width: 160px; /* Adjust as needed */
| |
| height: 160px;
| |
| opacity: 1;
| |
| border: none;
| |
| background-size: contain;
| |
| background-repeat: no-repeat;
| |
| background-position: center;
| |
| filter: drop-shadow(0 0 5px rgba(255, 133, 27, 0.7)); /* Soft orange glow */
| |
| }
| |
|
| |
| /* ===== vector 20 Header Image Fix ===== */
| |
| .vector-header img {
| |
| width: auto;
| |
| height: auto;
| |
| opacity: 1;
| |
| filter: none;
| |
| }
| |
|
| |
| /* ===== Thumbnails and Gallery Images ===== */
| |
| .thumb img,
| |
| .gallery img {
| |
| border: 1px solid #FF851B; /* Subtle orange border */
| |
| border-radius: 4px;
| |
| opacity: 1;
| |
| transition: transform 0.3s ease, opacity 0.3s ease;
| |
| }
| |
|
| |
| .thumb img:hover,
| |
| .gallery img:hover {
| |
| transform: scale(1.05); /* Slight zoom on hover */
| |
| opacity: 0.95;
| |
| }
| |
|
| |
| /* ===== Infobox Images ===== */
| |
| .infobox img {
| |
| border: 1px solid #FF851B;
| |
| border-radius: 4px;
| |
| max-width: 100%;
| |
| height: auto;
| |
| opacity: 1;
| |
| }
| |
|
| |
| /* ===== SVG Images Handling ===== */
| |
| img[src$=".svg"] {
| |
| filter: drop-shadow(0 0 5px rgba(255, 133, 27, 0.7)); /* Glow for SVGs */
| |
| }
| |
|
| |
| /* ===== WikiEditor Monospace Font for Editing Area ===== */
| |
| .wikiEditor-ui .editor textarea {
| |
| background-color: #001933; /* Dark Navy */
| |
| color: #FFFFFF; /* White text */
| |
| border: 1px solid #FF851B; /* Orange border */
| |
| border-radius: 4px;
| |
| padding: 8px;
| |
| }
| |
|
| |
| /* ===== UI Elements Still Use Custom Font ===== */
| |
| .wikiEditor-ui-toolbar,
| |
| .wikiEditor-ui-toolbar .group .tool a,
| |
| .wikiEditor-ui-dialog {
| |
| font-family: 'Bona Nova', serif; /* Keep custom font for UI */
| |
| background-color: #001A33;
| |
| color: #FFFFFF;
| |
| border: 1px solid #FF851B;
| |
| }
| |
|
| |
| /* ===== Brighter Code/Text Highlights ===== */
| |
| .wikiEditor-ui .editor textarea::selection {
| |
| background-color: rgba(255, 133, 27, 0.5); /* Brighter orange highlight */
| |
| color: #FFFFFF;
| |
| }
| |
|
| |
| /* ===== Syntax Highlighting Tweak ===== */
| |
| .wikiEditor-ui .editor .syntax-highlight {
| |
| background-color: #002B5C; /* Lighter navy for code blocks */
| |
| color: #FFB84D; /* Soft Peach for text */
| |
| }
| |
|
| |
| .wikiEditor-ui .editor .syntax-highlight.keyword {
| |
| color: #FF851B; /* Bright Orange for keywords */
| |
| }
| |
|
| |
| .wikiEditor-ui .editor .syntax-highlight.string {
| |
| color: #7FDBFF; /* Azure for strings */
| |
| }
| |
|
| |
| .wikiEditor-ui .editor .syntax-highlight.comment {
| |
| color: #AAAAAA; /* Soft gray for comments */
| |
| font-style: italic;
| |
| }
| |
|
| |
| .wikiEditor-ui .editor .syntax-highlight.variable {
| |
| color: #FF4500; /* Burnt Orange for variables */
| |
| }
| |
|
| |
| /* ===== Cursor Visibility Enhancement ===== */
| |
| .wikiEditor-ui .editor textarea {
| |
| caret-color: #FF851B; /* Bright orange caret */
| |
| }
| |
|
| |
| /* ===== Selection Color in Toolbar Inputs ===== */
| |
| .wikiEditor-ui-toolbar input::selection,
| |
| .wikiEditor-ui-toolbar textarea::selection {
| |
| background-color: rgba(255, 133, 27, 0.5);
| |
| color: #FFFFFF;
| |
| }
| |
|
| |
| /* ===== Hover & Active Effects in Toolbar ===== */
| |
| .wikiEditor-ui-toolbar .group .tool a:hover {
| |
| background-color: #FF851B;
| |
| color: #001933;
| |
| }
| |
|
| |
| .wikiEditor-ui-toolbar .group .tool a:active {
| |
| background-color: #FF4500;
| |
| color: #FFFFFF;
| |
| }
| |
| /* ===== Ace Editor Base Styling ===== */
| |
| .ace_editor {
| |
| background-color: #001933; /* Dark Navy */
| |
| color: #FFFFFF; /* White text */
| |
| border: 1px solid #FF851B; /* Orange border */
| |
| border-radius: 4px;
| |
| font-family: 'Courier New', 'Consolas', monospace; /* Monospace for cursor alignment */
| |
| font-size: 14px;
| |
| line-height: 1.5;
| |
| caret-color: #FF851B; /* Bright Orange caret */
| |
| }
| |
|
| |
| /* ===== CodeEditor - General Editor Styling ===== */
| |
| .ace_editor {
| |
| background-color: #001933; /* Dark Navy Background */
| |
| color: #FFFFFF; /* Default Text Color */
| |
| border: 1px solid #FF851B; /* Orange Border */
| |
| border-radius: 4px;
| |
| font-family: 'Courier New', 'Consolas', monospace;
| |
| font-size: 14px;
| |
| }
| |
|
| |
| /* ===== Cursor & Active Line ===== */
| |
| .ace_cursor {
| |
| color: #FF851B; /* Bright Orange Cursor */
| |
| }
| |
|
| |
| .ace_marker-layer .ace_active-line {
| |
| background-color: rgba(255, 133, 27, 0.15); /* Subtle Active Line Highlight */
| |
| }
| |
|
| |
| .ace_marker-layer .ace_selection {
| |
| background-color: rgba(255, 133, 27, 0.5); /* Brighter Selection */
| |
| }
| |
|
| |
| /* ===== Gutter (Line Numbers) ===== */
| |
| .ace_gutter {
| |
| background-color: #002B5C; /* Lighter Navy */
| |
| color: #FFB84D; /* Soft Peach for Line Numbers */
| |
| border-right: 1px solid #FF851B;
| |
| }
| |
|
| |
| .ace_gutter-active-line {
| |
| background-color: rgba(255, 133, 27, 0.1); /* Highlight Active Line Number */
| |
| }
| |
|
| |
| /* ===== Syntax Highlighting ===== */
| |
| .ace_keyword {
| |
| color: #FF851B; /* Bright Orange for Keywords */
| |
| font-weight: bold;
| |
| }
| |
|
| |
| .ace_string {
| |
| color: #7FDBFF; /* Azure for Strings */
| |
| }
| |
|
| |
| .ace_comment {
| |
| color: #AAAAAA; /* Soft Gray for Comments */
| |
| font-style: italic;
| |
| }
| |
|
| |
| .ace_constant {
| |
| color: #FF4500; /* Burnt Orange for Constants */
| |
| }
| |
|
| |
| .ace_variable {
| |
| color: #FFD700; /* Gold for Variables */
| |
| }
| |
|
| |
| .ace_function {
| |
| color: #FFB84D; /* Soft Peach for Functions */
| |
| }
| |
|
| |
| /* ===== Brackets, Tags, & Punctuation ===== */
| |
| .ace_paren,
| |
| .ace_bracket {
| |
| color: #FF851B; /* Orange for Brackets */
| |
| }
| |
|
| |
| .ace_marker-layer .ace_bracket {
| |
| background-color: rgba(255, 133, 27, 0.25);
| |
| }
| |
|
| |
| /* ===== Error & Warning Highlights ===== */
| |
| .ace_error {
| |
| text-decoration: underline;
| |
| text-decoration-color: #FF4500; /* Burnt Orange for Errors */
| |
| }
| |
|
| |
| .ace_warning {
| |
| text-decoration: underline;
| |
| text-decoration-color: #FFD700; /* Gold for Warnings */
| |
| }
| |
|
| |
| /* ===== Scrollbars (Match Dark Mode) ===== */
| |
| .ace_scrollbar {
| |
| width: 12px;
| |
| }
| |
|
| |
| .ace_scrollbar-track {
| |
| background: #001F3F;
| |
| }
| |
|
| |
| .ace_scrollbar-thumb {
| |
| background-color: #FF851B;
| |
| border-radius: 10px;
| |
| border: 3px solid #001F3F;
| |
| }
| |
|
| |
| .ace_scrollbar-thumb:hover {
| |
| background-color: #FFB84D;
| |
| }
| |
|
| |
| /* ===== Placeholder Text ===== */
| |
| .ace_placeholder {
| |
| color: #FFB84D;
| |
| opacity: 0.7;
| |
| }
| |
|
| |
| /* ===== Tooltips & Popups ===== */
| |
| .ace_tooltip {
| |
| background-color: #001933;
| |
| border: 1px solid #FF851B;
| |
| color: #FFFFFF;
| |
| border-radius: 4px;
| |
| }
| |
|
| |
| /* ===== Matching Parens/Brackets ===== */
| |
| .ace_bracket-highlight {
| |
| border-bottom: 2px solid #FF851B;
| |
| background-color: rgba(255, 133, 27, 0.15);
| |
| }
| |
|
| |
| /* ===== Fold Widgets (for code folding) ===== */
| |
| .ace_fold-widget {
| |
| color: #FF851B;
| |
| }
| |
|
| |
| .ace_fold-widget:hover {
| |
| color: #FFB84D;
| |
| }
| |
| /* ===== CodeMirror Dark Mode ===== */
| |
| .CodeMirror {
| |
| background-color: #1e1e1e;
| |
| color: #FFFFFF;
| |
| border: 1px solid #FF851B;
| |
| border-radius: 4px;
| |
| }
| |
|
| |
| /* Syntax Highlighting */
| |
| .cm-keyword { color: #FF851B; font-weight: bold; } /* Orange for keywords */
| |
| .cm-string { color: #7FDBFF; } /* Azure for strings */
| |
| .cm-comment { color: #AAAAAA; font-style: italic; } /* Soft Gray for comments */
| |
| .cm-number { color: #FFD700; } /* Gold for numbers */
| |
| .cm-variable { color: #FFB84D; } /* Soft Peach for variables */
| |
| .cm-def { color: #FF4500; } /* Burnt Orange for function names */
| |
|
| |
| /* Cursor & Selection */
| |
| .CodeMirror-cursor { border-left: 1px solid #FF851B; }
| |
| .CodeMirror-selected { background-color: rgba(255, 133, 27, 0.3); }
| |
|
| |
| /* Line Numbers */
| |
| .CodeMirror-gutters {
| |
| background-color: #002B5C;
| |
| color: #FFB84D;
| |
| border-right: 1px solid #FF851B;
| |
| }
| |
| /* ===== vector Skin Override for Ace Editor ===== */
| |
| .vector-body .ace_editor {
| |
| background-color: #001933 !important; /* Dark Navy */
| |
| color: #FFFFFF !important;
| |
| border: 1px solid #FF851B;
| |
| border-radius: 4px;
| |
| }
| |
|
| |
| .vector-body .ace_keyword { color: #FF851B !important; font-weight: bold; } /* Orange */
| |
| .vector-body .ace_string { color: #7FDBFF !important; } /* Azure */
| |
| .vector-body .ace_comment { color: #AAAAAA !important; font-style: italic; } /* Soft Gray */
| |
| .vector-body .ace_constant { color: #FF4500 !important; } /* Burnt Orange */
| |
| .vector-body .ace_variable { color: #FFD700 !important; } /* Gold */
| |
| .vector-body .ace_cursor { color: #FF851B !important; } /* Bright Orange */
| |
| .vector-body .ace_marker-layer .ace_active-line { background-color: rgba(255, 133, 27, 0.15) !important; }
| |
| .vector-body .ace_marker-layer .ace_selection { background-color: rgba(255, 133, 27, 0.5) !important; }
| |
|
| |
| /* ===== vector Skin Override for CodeMirror ===== */
| |
| .vector-body .CodeMirror {
| |
| background-color: #1e1e1e !important;
| |
| color: #FFFFFF !important;
| |
| border: 1px solid #FF851B;
| |
| border-radius: 4px;
| |
| }
| |
|
| |
| .vector-body .cm-keyword { color: #FF851B !important; font-weight: bold; }
| |
| .vector-body .cm-string { color: #7FDBFF !important; }
| |
| .vector-body .cm-comment { color: #AAAAAA !important; font-style: italic; }
| |
| .vector-body .cm-number { color: #FFD700 !important; }
| |
| .vector-body .cm-variable { color: #FFB84D !important; }
| |
| .vector-body .cm-def { color: #FF4500 !important; }
| |
| .vector-body .CodeMirror-cursor { border-left: 1px solid #FF851B !important; }
| |
| .vector-body .CodeMirror-selected { background-color: rgba(255, 133, 27, 0.3) !important; }
| |
| .vector-body .CodeMirror-gutters {
| |
| background-color: #002B5C !important;
| |
| color: #FFB84D !important;
| |
| border-right: 1px solid #FF851B;
| |
| }
| |
| /* 🌟 Top Navbar Styles */
| |
| #top-navbar {
| |
| background-color: #002B5C;
| |
| border-bottom: 3px solid #FF851B;
| |
| padding: 10px 20px;
| |
| display: flex;
| |
| align-items: center;
| |
| justify-content: space-between;
| |
| position: sticky;
| |
| top: 0;
| |
| z-index: 999;
| |
| box-shadow: 0 2px 5px rgba(0,0,0,0.3);
| |
| }
| |
|
| |
| /* Navbar Logo */
| |
| .navbar-logo a {
| |
| font-family: 'Metamorphous', cursive;
| |
| color: #FF851B;
| |
| font-size: 1.5em;
| |
| text-decoration: none;
| |
| }
| |
|
| |
| /* Navbar Links */
| |
| .navbar-links {
| |
| list-style: none;
| |
| display: flex;
| |
| margin: 0;
| |
| padding: 0;
| |
| }
| |
|
| |
| .navbar-links li {
| |
| margin: 0 15px;
| |
| }
| |
|
| |
| .navbar-links a {
| |
| color: #FFFFFF;
| |
| text-decoration: none;
| |
| font-weight: bold;
| |
| transition: color 0.3s ease;
| |
| }
| |
|
| |
| .navbar-links a:hover {
| |
| color: #FFB84D;
| |
| }
| |
|
| |
| /* Responsive Navbar */
| |
| @media screen and (max-width: 768px) {
| |
| #top-navbar {
| |
| flex-direction: column;
| |
| align-items: flex-start;
| |
| }
| |
|
| |
| .navbar-links {
| |
| flex-direction: column;
| |
| width: 100%;
| |
| }
| |
|
| |
| .navbar-links li {
| |
| margin: 10px 0;
| |
| }
| |
| }
| |