MediaWiki:Common.css

From Frutiger Space Wikipedia!
Revision as of 03:59, 5 September 2025 by Hal.leo (talk | contribs)
Jump to navigation Jump to search

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.
/* --- 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 */
}

.mainpage-container {
    display: flex;
    flex-wrap: wrap; /* Allows columns to stack on small screens */
    gap: 25px; /* Space between the columns */
}

.mainpage-left-col {
    flex: 3; /* Makes the left column take up more space */
    min-width: 350px; /* Minimum width before stacking */
}

.mainpage-right-col {
    flex: 2; /* Makes the right column take up less space */
    min-width: 300px;
}

/* 2. Reusable Content Module/Box Styling */
.mainpage-module {
    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.05);
    margin-bottom: 25px; /* Space between modules in the same column */
    overflow: hidden; /* Important for keeping border-radius on the header */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.mainpage-module-header {
    background: linear-gradient(to bottom, var(--fa-sky-blue-light), var(--fa-sky-blue-medium));
    padding: 10px 15px;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(0,0,0,0.25);
    border-bottom: 1px solid var(--fa-sky-blue-dark);
}

.mainpage-module-content {
    padding: 15px;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Specific styling for lists inside modules */
.mainpage-module-content ul {
    list-style-type: disc;
    margin: 0 0 0 20px;
    padding: 0;
}

/* Styling for the Beta Test notice at the top */
.mainpage-betanotice {
    background-color: rgba(230, 245, 255, 0.8);
    border: 1px solid var(--fa-sky-blue-light);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

body.page-Main_Page h1.firstHeading {
    display: none;
}