MediaWiki:Common.css

From Frutiger Space Wikipedia!
Revision as of 03:31, 5 September 2025 by Hal.leo (talk | contribs) (Reverted edit by Hal.leo (talk) to last revision by Blaze)
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 */
}