|
|
(8 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| /* =================================================================== */ | | /* --- Frutiger Aero Main Page Style --- */ |
| /* == FRUTIGER AERO THEME for MediaWiki Vector Skin == */
| |
| /* == by Gemini == */
| |
| /* == Updated: Header Background & Custom Logo == */
| |
| /* =================================================================== */
| |
|
| |
|
| /* --- :root variables for easy customization --- */ | | /* 1. Style for the main content boxes (the tables you used for layout) */ |
| :root {
| | .wikitable { |
| --fa-sky-blue-light: #88c9f5; | | background-color: rgba(235, 245, 255, 0.7) !important; /* Light, semi-transparent blue */ |
| --fa-sky-blue-medium: #54a9e0;
| | border: 1px solid rgba(255, 255, 255, 0.8) !important; |
| --fa-sky-blue-dark: #2a8ad0;
| | border-radius: 12px !important; /* Smooth, rounded corners */ |
| --fa-grass-green: #77b900;
| | |
| --fa-grass-green-dark: #669c00;
| | /* The "frosted glass" blur effect */ |
| | | -webkit-backdrop-filter: blur(8px); |
| --fa-glass-bg: rgba(255, 255, 255, 0.75);
| | backdrop-filter: blur(8px); |
| --fa-glass-border: rgba(0, 0, 0, 0.1); | | |
| --fa-font-family: 'Segoe UI', Frutiger, 'Frutiger Linotype', 'Dejavu Sans', 'Helvetica Neue', Arial, sans-serif; | | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */ |
| --fa-text-color: #222; | | margin-bottom: 2em; /* Add space between the sections */ |
| --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 */ | |
| } | | } |
|
| |
|
| /* =========================================== */ | | /* 2. Style for the section headers (like "Welcome to the Frutiger Space Wiki!") */ |
| /* == 1. Overall Page & Body Look == */
| | #firstHeading, .mw-parser-output h2 { |
| /* =========================================== */
| | font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; |
| | | color: #005E9A; |
| body {
| | border-bottom: 1px solid #a7d7f9; |
| font-family: var(--fa-font-family); | | padding-bottom: 5px; |
| 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 */ | | /* 3. Style for the Tabber extension (Q&A and Partners sections) */ |
| a {
| | .tabberlive .tabbertab { |
| color: var(--fa-link-color); | | border-radius: 0 10px 10px 10px !important; |
| text-decoration: none; | | border: 1px solid #a7d7f9 !important; |
| }
| | background: rgba(255, 255, 255, 0.6) !important; |
| a:hover {
| |
| color: var(--fa-link-hover-color); | |
| text-decoration: underline;
| |
| } | | } |
|
| |
|
| /* =========================================== */
| | .tabberlive ul.tabbernav li a { |
| /* == 2. Main Layout Structure (The "Glass") == */
| | background: linear-gradient(to bottom, #ffffff 0%, #e1f0f9 100%) !important; |
| /* =========================================== */
| | border: 1px solid #a7d7f9 !important; |
| | | border-radius: 10px 10px 0 0 !important; |
| /* --- MODIFIED: Header area now has the background image --- */
| | color: #005E9A !important; |
| .mw-header { | | font-weight: bold; |
| 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 --- */
| | .tabberlive ul.tabbernav li.tabberactive a { |
| #p-personal ul li a {
| | background: #fff !important; |
| color: white !important; /* Force color to white */ | | border-bottom: 1px solid #fff !important; |
| text-shadow: 0 1px 2px rgba(0,0,0,0.7); | |
| } | | } |
|
| |
|
| #p-personal ul li a:hover { | | /* 4. Style for the Table of Contents */ |
| text-decoration: underline; | | #toc { |
| | background-color: rgba(235, 245, 255, 0.7); |
| | border: 1px solid #a7d7f9; |
| | border-radius: 12px; |
| } | | } |
|
| |
|
| /* Icon for user tools */ | | /* --- Windows 7 Style Profile Picture Frame --- */ |
| #p-personal .mw-ui-icon {
| |
| filter: brightness(0) invert(1); /* Makes the default black icon white */
| |
| }
| |
|
| |
|
| | | /* This styles the container we added in the template */ |
| /* --- MODIFIED: Main content area positioning --- */ | | .dev-pfp-container { |
| .mw-body, | | display: inline-block; /* Ensures the container fits the image */ |
| #content {
| | width: 120px; |
| background-color: var(--fa-glass-bg); | | height: 120px; |
| border: 1px solid var(--fa-glass-border); | | border-radius: 10px; /* The classic rounded corners */ |
| border-radius: 8px; | | padding: 6px; /* Space between the frame and the image */ |
| box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); | |
| | | |
| /* This adds the blurry glass effect, a hallmark of Aero */ | | /* The glossy silver gradient for the frame */ |
| -webkit-backdrop-filter: blur(15px); | | background: linear-gradient(to bottom, #f9f9f9 0%, #d5d5d5 100%); |
| backdrop-filter: blur(15px);
| |
| | | |
| /* Use a negative margin to pull the glass panel UP, slightly overlapping the header */ | | /* The 3D shadow effect */ |
| margin-top: -30px; | | box-shadow: |
| }
| | inset 0 1px 1px rgba(255, 255, 255, 0.9), /* Inner top highlight for gloss */ |
| | | 0 2px 6px rgba(0, 0, 0, 0.4); /* Outer drop shadow */ |
| /* 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);
| |
| } | | } |
|
| |
|
| /* =========================================== */ | | /* This styles the actual image inside the frame */ |
| /* == Custom Logo Section == */
| | .dev-pfp-container img { |
| /* =========================================== */
| |
| #p-logo {
| |
| /* Hide the default text logo */
| |
| text-indent: -9999px;
| |
| overflow: hidden;
| |
| width: 100%; | | width: 100%; |
| height: 100%; /* Make sure it takes up the full space of its container */ | | height: 100%; |
| margin: 0;
| | border-radius: 6px; /* Slightly smaller radius for the image itself */ |
| padding: 0;
| | display: block; /* Removes any extra space below the image */ |
| }
| |
| | |
| #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 --- */
| | body.page-Main_Page h1.firstHeading { |
| #simpleSearch #searchInput {
| | display: none; |
| 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;
| |
| } | | } |
/* --- Frutiger Aero Main Page Style --- */
/* 1. Style for the main content boxes (the tables you used for layout) */
.wikitable {
background-color: rgba(235, 245, 255, 0.7) !important; /* Light, semi-transparent blue */
border: 1px solid rgba(255, 255, 255, 0.8) !important;
border-radius: 12px !important; /* Smooth, rounded corners */
/* The "frosted glass" blur effect */
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
margin-bottom: 2em; /* Add space between the sections */
}
/* 2. Style for the section headers (like "Welcome to the Frutiger Space Wiki!") */
#firstHeading, .mw-parser-output h2 {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
color: #005E9A;
border-bottom: 1px solid #a7d7f9;
padding-bottom: 5px;
}
/* 3. Style for the Tabber extension (Q&A and Partners sections) */
.tabberlive .tabbertab {
border-radius: 0 10px 10px 10px !important;
border: 1px solid #a7d7f9 !important;
background: rgba(255, 255, 255, 0.6) !important;
}
.tabberlive ul.tabbernav li a {
background: linear-gradient(to bottom, #ffffff 0%, #e1f0f9 100%) !important;
border: 1px solid #a7d7f9 !important;
border-radius: 10px 10px 0 0 !important;
color: #005E9A !important;
font-weight: bold;
}
.tabberlive ul.tabbernav li.tabberactive a {
background: #fff !important;
border-bottom: 1px solid #fff !important;
}
/* 4. Style for the Table of Contents */
#toc {
background-color: rgba(235, 245, 255, 0.7);
border: 1px solid #a7d7f9;
border-radius: 12px;
}
/* --- Windows 7 Style Profile Picture Frame --- */
/* This styles the container we added in the template */
.dev-pfp-container {
display: inline-block; /* Ensures the container fits the image */
width: 120px;
height: 120px;
border-radius: 10px; /* The classic rounded corners */
padding: 6px; /* Space between the frame and the image */
/* The glossy silver gradient for the frame */
background: linear-gradient(to bottom, #f9f9f9 0%, #d5d5d5 100%);
/* The 3D shadow effect */
box-shadow:
inset 0 1px 1px rgba(255, 255, 255, 0.9), /* Inner top highlight for gloss */
0 2px 6px rgba(0, 0, 0, 0.4); /* Outer drop shadow */
}
/* This styles the actual image inside the frame */
.dev-pfp-container img {
width: 100%;
height: 100%;
border-radius: 6px; /* Slightly smaller radius for the image itself */
display: block; /* Removes any extra space below the image */
}
body.page-Main_Page h1.firstHeading {
display: none;
}