|
|
Line 1: |
Line 1: |
| /* =================================================================== */
| |
| /* == FRUTIGER AERO THEME for MediaWiki Vector Skin == */
| |
| /* == by Gemini == */
| |
| /* == Updated: Header Background & Custom Logo == */
| |
| /* =================================================================== */
| |
|
| |
|
| /* --- :root variables for easy customization --- */
| |
| :root {
| |
| --fa-sky-blue-light: #88c9f5;
| |
| --fa-sky-blue-medium: #54a9e0;
| |
| --fa-sky-blue-dark: #2a8ad0;
| |
| --fa-grass-green: #77b900;
| |
| --fa-grass-green-dark: #669c00;
| |
|
| |
| --fa-glass-bg: rgba(255, 255, 255, 0.75);
| |
| --fa-glass-border: rgba(0, 0, 0, 0.1);
| |
| --fa-font-family: 'Segoe UI', Frutiger, 'Frutiger Linotype', 'Dejavu Sans', 'Helvetica Neue', Arial, sans-serif;
| |
| --fa-text-color: #222;
| |
| --fa-link-color: #005ab8;
| |
| --fa-link-hover-color: #007bff;
| |
|
| |
| /* --- Custom Image URLs (Replace these!) --- */
| |
| --fa-logo-image: url('https://cdn.discordapp.com/attachments/1405166194792595514/1412162687508549702/frutigerspace_aqua_logo.png?ex=68b89bfd&is=68b74a7d&hm=3ca52d1072c1985536534c50084ec0bc24e24ba21c42392d5902cd35e3aff9fd&/120px-Windows_Vista_logo.png'); /* Placeholder: Replace with your logo URL */
| |
| --fa-top-background-image: url('https://i.imgur.com/uR5A2N1.jpeg'); /* Placeholder: Replace with your top background image URL */
| |
| }
| |
|
| |
| /* =========================================== */
| |
| /* == 1. Overall Page & Body Look == */
| |
| /* =========================================== */
| |
|
| |
| body {
| |
| font-family: var(--fa-font-family);
| |
| color: var(--fa-text-color);
| |
| /* The main background is now just the lower gradient. The top image is handled by the header. */
| |
| background: linear-gradient(to bottom, #d4f0ff 0%, #a2d7f5 100%) fixed;
| |
| background-size: cover;
| |
| background-attachment: fixed;
| |
| }
| |
|
| |
| /* Links */
| |
| a {
| |
| color: var(--fa-link-color);
| |
| text-decoration: none;
| |
| }
| |
| a:hover {
| |
| color: var(--fa-link-hover-color);
| |
| text-decoration: underline;
| |
| }
| |
|
| |
| /* =========================================== */
| |
| /* == 2. Main Layout Structure (The "Glass") == */
| |
| /* =========================================== */
| |
|
| |
| /* --- MODIFIED: Header area now has the background image --- */
| |
| .mw-header {
| |
| background-image: var(--fa-top-background-image);
| |
| background-size: cover;
| |
| background-position: center 30%; /* Adjust vertical position of background */
| |
| background-repeat: no-repeat;
| |
| padding-bottom: 50px; /* Creates space for the image to show and pushes content down */
| |
| border-bottom: 1px solid rgba(255,255,255,0.3);
| |
| box-shadow: 0 2px 5px rgba(0,0,0,0.1);
| |
| }
| |
|
| |
| /* --- NEW: Style header links for visibility on the new background --- */
| |
| #p-personal ul li a {
| |
| color: white !important; /* Force color to white */
| |
| text-shadow: 0 1px 2px rgba(0,0,0,0.7);
| |
| }
| |
|
| |
| #p-personal ul li a:hover {
| |
| text-decoration: underline;
| |
| }
| |
|
| |
| /* Icon for user tools */
| |
| #p-personal .mw-ui-icon {
| |
| filter: brightness(0) invert(1); /* Makes the default black icon white */
| |
| }
| |
|
| |
|
| |
| /* --- MODIFIED: Main content area positioning --- */
| |
| .mw-body,
| |
| #content {
| |
| background-color: var(--fa-glass-bg);
| |
| border: 1px solid var(--fa-glass-border);
| |
| border-radius: 8px;
| |
| box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
| |
|
| |
| /* This adds the blurry glass effect, a hallmark of Aero */
| |
| -webkit-backdrop-filter: blur(15px);
| |
| backdrop-filter: blur(15px);
| |
|
| |
| /* Use a negative margin to pull the glass panel UP, slightly overlapping the header */
| |
| margin-top: -30px;
| |
| }
| |
|
| |
| /* Page Title */
| |
| h1.firstHeading {
| |
| color: #1a4a75;
| |
| font-weight: 600;
| |
| border-bottom: 1px solid var(--fa-sky-blue-light);
| |
| padding-bottom: 0.4em;
| |
| text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
| |
| }
| |
|
| |
| /* =========================================== */
| |
| /* == Custom Logo Section == */
| |
| /* =========================================== */
| |
| #p-logo {
| |
| /* Hide the default text logo */
| |
| text-indent: -9999px;
| |
| overflow: hidden;
| |
| width: 100%;
| |
| height: 100%; /* Make sure it takes up the full space of its container */
| |
| margin: 0;
| |
| padding: 0;
| |
| }
| |
|
| |
| #p-logo a {
| |
| display: block;
| |
| background-image: var(--fa-logo-image);
| |
| background-size: contain; /* Adjust to 'cover' or specific pixels if needed */
| |
| background-repeat: no-repeat;
| |
| background-position: center;
| |
| width: 135px; /* Adjust width of the logo container */
| |
| height: 135px; /* Adjust height of the logo container */
| |
| margin: 10px auto; /* Center the logo and add some margin */
| |
| border-radius: 50%; /* Optional: make the logo circular */
| |
| box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow for depth */
| |
| transition: transform 0.2s ease-in-out;
| |
| }
| |
|
| |
| #p-logo a:hover {
| |
| transform: scale(1.05); /* Slight scale up on hover */
| |
| }
| |
|
| |
|
| |
| /* =========================================== */
| |
| /* == 3. Glossy Elements & Buttons == */
| |
| /* =========================================== */
| |
|
| |
| /* This is the core "glossy" effect we will apply to several elements. */
| |
| .frutiger-glossy {
| |
| border: 1px solid rgba(0,0,0,0.25);
| |
| border-radius: 5px;
| |
| box-shadow: 0 1px 2px rgba(0,0,0,0.1), inset 0 1px 1px rgba(255,255,255,0.4);
| |
| text-shadow: 0 1px 1px rgba(0,0,0,0.2);
| |
| color: white !important;
| |
| font-weight: bold;
| |
| }
| |
|
| |
| /* --- Search Bar --- */
| |
| #simpleSearch #searchInput {
| |
| border: 1px solid var(--fa-sky-blue-medium);
| |
| border-radius: 15px;
| |
| box-shadow: inset 0 1px 3px rgba(0,0,0,0.15);
| |
| transition: all 0.2s ease-in-out;
| |
| }
| |
| #simpleSearch #searchInput:focus {
| |
| border-color: var(--fa-grass-green);
| |
| box-shadow: inset 0 1px 3px rgba(0,0,0,0.1), 0 0 5px var(--fa-grass-green);
| |
| }
| |
|
| |
| /* --- Main Tabs (Article, Talk, Read, Edit, etc.) --- */
| |
| #p-views ul li a {
| |
| transition: all 0.2s ease;
| |
| }
| |
|
| |
| #p-views ul li.selected a,
| |
| #p-views ul li a:hover {
| |
| background: var(--fa-glass-bg);
| |
| border-radius: 6px 6px 0 0;
| |
| border: 1px solid var(--fa-glass-border);
| |
| border-bottom: none;
| |
| box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
| |
| }
| |
|
| |
| /* --- Buttons (e.g., "Save page", "Show preview") --- */
| |
| .oo-ui-buttonElement-framed.oo-ui-labelElement > .oo-ui-buttonElement-button {
| |
| background: linear-gradient(to bottom, var(--fa-sky-blue-light), var(--fa-sky-blue-dark));
| |
| color: white !important;
| |
| text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
| |
| border: 1px solid var(--fa-sky-blue-dark);
| |
| border-radius: 5px;
| |
| box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 1px 2px rgba(0,0,0,0.2);
| |
| transition: all 0.15s ease;
| |
| }
| |
|
| |
| .oo-ui-buttonElement-framed.oo-ui-labelElement.oo-ui-flagged-progressive > .oo-ui-buttonElement-button {
| |
| background: linear-gradient(to bottom, var(--fa-grass-green), var(--fa-grass-green-dark));
| |
| border-color: var(--fa-grass-green-dark);
| |
| }
| |
|
| |
| .oo-ui-buttonElement-framed.oo-ui-labelElement > .oo-ui-buttonElement-button:hover {
| |
| filter: brightness(1.1);
| |
| box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 2px 4px rgba(0,0,0,0.3);
| |
| }
| |
|
| |
| .oo-ui-buttonElement-framed.oo-ui-labelElement > .oo-ui-buttonElement-button:active {
| |
| filter: brightness(0.9);
| |
| box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
| |
| }
| |
|
| |
|
| |
| /* =========================================== */
| |
| /* == 4. Sidebar / Navigation == */
| |
| /* =========================================== */
| |
|
| |
| /* The entire sidebar container */
| |
| #mw-panel {
| |
| background: none;
| |
| padding-top: 20px;
| |
| }
| |
|
| |
| .mw-portlet {
| |
| background: none;
| |
| margin-bottom: 1.5em;
| |
| }
| |
|
| |
| /* The glossy header for each sidebar section (Navigation, Tools, etc.) */
| |
| .mw-portlet h3 {
| |
| background: linear-gradient(to bottom, var(--fa-sky-blue-light) 0%, var(--fa-sky-blue-medium) 100%);
| |
| border: 1px solid var(--fa-sky-blue-dark);
| |
| border-radius: 6px;
| |
| padding: 8px 12px !important;
| |
| color: white;
| |
| font-size: 1em;
| |
| font-weight: bold;
| |
| text-shadow: 0 1px 1px rgba(0,0,0,0.25);
| |
| box-shadow: 0 1px 2px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.3);
| |
| }
| |
|
| |
| /* The list of links within each sidebar section */
| |
| .mw-portlet .mw-portlet-body ul {
| |
| list-style: none;
| |
| margin: 0;
| |
| padding: 0;
| |
| }
| |
|
| |
| .mw-portlet .mw-portlet-body li {
| |
| padding: 0;
| |
| }
| |
|
| |
| .mw-portlet .mw-portlet-body li a {
| |
| display: block;
| |
| padding: 6px 15px;
| |
| margin: 2px 0;
| |
| color: #1a4a75;
| |
| text-shadow: 1px 1px 1px white;
| |
| transition: all 0.2s ease;
| |
| border-radius: 5px;
| |
| }
| |
|
| |
| .mw-portlet .mw-portlet-body li a:hover {
| |
| background-color: var(--fa-grass-green);
| |
| color: white;
| |
| text-shadow: 0 1px 1px rgba(0,0,0,0.2);
| |
| text-decoration: none;
| |
| }
| |
|
| |
| .mw-portlet .mw-portlet-body li#n-mainpage-description a {
| |
| font-weight: bold;
| |
| }
| |
|
| |
| /* =========================================== */
| |
| /* == 5. Content Elements (TOC, Infoboxes) == */
| |
| /* =========================================== */
| |
|
| |
| /* Table of Contents */
| |
| #toc, .toc {
| |
| background-color: rgba(220, 240, 255, 0.6); /* Lighter, more transparent blue */
| |
| border: 1px solid var(--fa-sky-blue-light);
| |
| border-radius: 6px;
| |
| padding: 10px;
| |
| }
| |
| #toc .toctitle, .toc .toctitle {
| |
| text-align: center;
| |
| font-weight: bold;
| |
| }
| |
|
| |
| /* Infoboxes */
| |
| .infobox {
| |
| background-color: #f5fcff;
| |
| border: 1px solid var(--fa-sky-blue-light);
| |
| border-radius: 6px;
| |
| box-shadow: 0 2px 5px rgba(0,0,0,0.05);
| |
| }
| |
| .infobox .infobox-title, .infobox caption {
| |
| background-color: var(--fa-sky-blue-light);
| |
| border-bottom: 1px solid var(--fa-sky-blue-medium);
| |
| font-weight: bold;
| |
| }
| |
|
| |
| /* Generic Wikitables */
| |
| table.wikitable {
| |
| border: 1px solid #a2d7f5;
| |
| background: #f5fcff;
| |
| }
| |
| table.wikitable > tr > th, table.wikitable > * > tr > th {
| |
| background: #e2f2ff;
| |
| border-color: #a2d7f5;
| |
| }
| |
| table.wikitable > tr > td, table.wikitable > * > tr > td {
| |
| border-color: #a2d7f5;
| |
| }
| |