MediaWiki:Common.css: Difference between revisions

From Frutiger Space Wikipedia!
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
/* --- Frutiger Aero Main Page Style --- */
.mainpage-hero,
.mainpage-stats-bar,
.content-card {
    border: none !important;
    width: 100% !important;
    background: none !important;
    margin-bottom: 0 !important;
}
.mainpage-hero td,
.mainpage-stats-bar td,
.content-card td {
    border: none !important;
}
 


/* 1. Style for the main content boxes (the tables you used for layout) */
/* 1. Hero Welcome Section */
.wikitable {
.mainpage-hero {
     background-color: rgba(235, 245, 255, 0.7) !important; /* Light, semi-transparent blue */
     background-color: var(--fa-glass-bg) !important;
     border: 1px solid rgba(255, 255, 255, 0.8) !important;
     border: 1px solid var(--fa-glass-border) !important;
    border-radius: 12px !important; /* Smooth, rounded corners */
     -webkit-backdrop-filter: blur(15px);
   
     backdrop-filter: blur(15px);
    /* The "frosted glass" blur effect */
    border-radius: 8px;
     -webkit-backdrop-filter: blur(8px);
     padding: 1.5em 2em;
     backdrop-filter: blur(8px);
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      
}
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
.mainpage-hero .thumb { /* Style the welcome image */
     margin-bottom: 2em; /* Add space between the sections */
     border-radius: 6px;
    overflow: hidden;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
}


/* 2. Style for the section headers (like "Welcome to the Frutiger Space Wiki!") */
 
#firstHeading, .mw-parser-output h2 {
/* 2. Overlapping Stats Bar */
     font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
.mainpage-stats-bar {
     color: #005E9A;
     background-color: rgba(235, 244, 252, 0.8) !important;
     border-bottom: 1px solid #a7d7f9;
    border: 1px solid var(--fa-glass-border) !important;
     padding-bottom: 5px;
     -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
     border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 1.1em;
     padding: 0.8em;
    position: relative;
    z-index: 2;
    /* This negative margin is what makes it overlap the hero section */
    margin-top: -25px !important;
}
}


/* 3. Style for the Tabber extension (Q&A and Partners sections) */
 
.tabberlive .tabbertab {
/* 3. Main Content Grid Layout */
     border-radius: 0 10px 10px 10px !important;
.mainpage-grid {
     border: 1px solid #a7d7f9 !important;
     display: grid;
     background: rgba(255, 255, 255, 0.6) !important;
     /* Creates responsive columns: they will be at least 400px wide, and stack automatically on smaller screens */
     grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px; /* The space between the cards */
    margin-top: 25px;
}
}


.tabberlive ul.tabbernav li a {
 
     background: linear-gradient(to bottom, #ffffff 0%, #e1f0f9 100%) !important;
/* 4. Content Card Styling */
     border: 1px solid #a7d7f9 !important;
.content-card {
     border-radius: 10px 10px 0 0 !important;
     background-color: var(--fa-glass-bg) !important;
     color: #005E9A !important;
     border: 1px solid var(--fa-glass-border) !important;
     font-weight: bold;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
     border-radius: 8px;
    padding: 1.5em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
     height: 100%; /* Makes cards in the same row the same height */
     box-sizing: border-box; /* Ensures padding is included in the height */
}
}


.tabberlive ul.tabbernav li.tabberactive a {
.content-card h2 {
     background: #fff !important;
    font-size: 1.5em;
     border-bottom: 1px solid #fff !important;
     color: var(--fa-sky-blue-dark);
     border-bottom: 2px solid var(--fa-sky-blue-light);
    padding-bottom: 0.4em;
    margin-top: 0;
}
}


/* 4. Style for the Table of Contents */
 
#toc {
/* 5. Tabber Styling for an Aero Look */
     background-color: rgba(235, 245, 255, 0.7);
.tabber .tabbernav {
    border: 1px solid #a7d7f9;
     border-bottom: 1px solid var(--fa-sky-blue-medium) !important;
    border-radius: 12px;
}
}


/* --- Windows 7 Style Profile Picture Frame --- */
.tabber .tabbernav li a {
    background: linear-gradient(to bottom, #f0f8ff, #d4e8f7) !important;
    border: 1px solid #c0d9ec !important;
    border-bottom: none !important;
    border-radius: 6px 6px 0 0 !important;
    color: var(--fa-sky-blue-dark) !important;
    text-shadow: none !important;
    transition: all 0.2s ease;
}
 
.tabber .tabbernav li a:hover {
    background: linear-gradient(to bottom, #ffffff, #e0f0ff) !important;
}


/* This styles the container we added in the template */
.tabber .tabbernav li.tabberactive a {
.dev-pfp-container {
     background: white !important;
     display: inline-block; /* Ensures the container fits the image */
     border-color: var(--fa-sky-blue-medium) !important;
     width: 120px;
     border-bottom: 1px solid white !important; /* Hides the bottom border line underneath the active tab */
    height: 120px;
     color: #333 !important;
     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 */
.tabber .tabbertab {
.dev-pfp-container img {
    border: 1px solid var(--fa-sky-blue-medium) !important;
     width: 100%;
     border-top: none !important;
     height: 100%;
     background-color: rgba(255, 255, 255, 0.5) !important;
     border-radius: 6px; /* Slightly smaller radius for the image itself */
     border-radius: 0 0 6px 6px;
     display: block; /* Removes any extra space below the image */
     padding: 1em;
}
}

Revision as of 03:31, 5 September 2025

.mainpage-hero,
.mainpage-stats-bar,
.content-card {
    border: none !important;
    width: 100% !important;
    background: none !important;
    margin-bottom: 0 !important;
}
.mainpage-hero td,
.mainpage-stats-bar td,
.content-card td {
    border: none !important;
}


/* 1. Hero Welcome Section */
.mainpage-hero {
    background-color: var(--fa-glass-bg) !important;
    border: 1px solid var(--fa-glass-border) !important;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    padding: 1.5em 2em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.mainpage-hero .thumb { /* Style the welcome image */
    border-radius: 6px;
    overflow: hidden;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


/* 2. Overlapping Stats Bar */
.mainpage-stats-bar {
    background-color: rgba(235, 244, 252, 0.8) !important;
    border: 1px solid var(--fa-glass-border) !important;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 1.1em;
    padding: 0.8em;
    position: relative;
    z-index: 2;
    /* This negative margin is what makes it overlap the hero section */
    margin-top: -25px !important;
}


/* 3. Main Content Grid Layout */
.mainpage-grid {
    display: grid;
    /* Creates responsive columns: they will be at least 400px wide, and stack automatically on smaller screens */
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px; /* The space between the cards */
    margin-top: 25px;
}


/* 4. Content Card Styling */
.content-card {
    background-color: var(--fa-glass-bg) !important;
    border: 1px solid var(--fa-glass-border) !important;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    padding: 1.5em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%; /* Makes cards in the same row the same height */
    box-sizing: border-box; /* Ensures padding is included in the height */
}

.content-card h2 {
    font-size: 1.5em;
    color: var(--fa-sky-blue-dark);
    border-bottom: 2px solid var(--fa-sky-blue-light);
    padding-bottom: 0.4em;
    margin-top: 0;
}


/* 5. Tabber Styling for an Aero Look */
.tabber .tabbernav {
    border-bottom: 1px solid var(--fa-sky-blue-medium) !important;
}

.tabber .tabbernav li a {
    background: linear-gradient(to bottom, #f0f8ff, #d4e8f7) !important;
    border: 1px solid #c0d9ec !important;
    border-bottom: none !important;
    border-radius: 6px 6px 0 0 !important;
    color: var(--fa-sky-blue-dark) !important;
    text-shadow: none !important;
    transition: all 0.2s ease;
}

.tabber .tabbernav li a:hover {
    background: linear-gradient(to bottom, #ffffff, #e0f0ff) !important;
}

.tabber .tabbernav li.tabberactive a {
    background: white !important;
    border-color: var(--fa-sky-blue-medium) !important;
    border-bottom: 1px solid white !important; /* Hides the bottom border line underneath the active tab */
    color: #333 !important;
}

.tabber .tabbertab {
    border: 1px solid var(--fa-sky-blue-medium) !important;
    border-top: none !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border-radius: 0 0 6px 6px;
    padding: 1em;
}