MediaWiki:Common.css: Difference between revisions

From Frutiger Space Wikipedia!
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
/* --- Frutiger Aero Main Page Style --- */


/* 1. Style for the main content boxes (the tables you used for layout) */
.mainpage-container {
.wikitable {
     display: flex;
     background-color: rgba(235, 245, 255, 0.7) !important; /* Light, semi-transparent blue */
     flex-wrap: wrap;
     border: 1px solid rgba(255, 255, 255, 0.8) !important;
     gap: 25px;  
     border-radius: 12px !important; /* Smooth, rounded corners */
 
   
.mainpage-left-col {
    /* The "frosted glass" blur effect */
     flex: 3;
    -webkit-backdrop-filter: blur(8px);
     min-width: 350px;  
     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!") */
.mainpage-right-col {
#firstHeading, .mw-parser-output h2 {
     flex: 2; /* Makes the right column take up less space */
     font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
     min-width: 300px;
    color: #005E9A;
    border-bottom: 1px solid #a7d7f9;
     padding-bottom: 5px;
}
}


/* 3. Style for the Tabber extension (Q&A and Partners sections) */
.mainpage-module {
.tabberlive .tabbertab {
     background-color: var(--fa-glass-bg);
     border-radius: 0 10px 10px 10px !important;
     border: 1px solid var(--fa-glass-border);
     border: 1px solid #a7d7f9 !important;
     border-radius: 8px;
     background: rgba(255, 255, 255, 0.6) !important;
    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 */
}
}


.tabberlive ul.tabbernav li a {
.mainpage-module-header {
     background: linear-gradient(to bottom, #ffffff 0%, #e1f0f9 100%) !important;
     background: linear-gradient(to bottom, var(--fa-sky-blue-light), var(--fa-sky-blue-medium));
     border: 1px solid #a7d7f9 !important;
     padding: 10px 15px;
     border-radius: 10px 10px 0 0 !important;
     color: white;
     color: #005E9A !important;
     font-size: 1.2em;
     font-weight: bold;
     font-weight: bold;
    text-shadow: 0 1px 1px rgba(0,0,0,0.25);
    border-bottom: 1px solid var(--fa-sky-blue-dark);
}
}


.tabberlive ul.tabbernav li.tabberactive a {
.mainpage-module-content {
     background: #fff !important;
     padding: 15px;
     border-bottom: 1px solid #fff !important;
     font-size: 0.95em;
}
     line-height: 1.6;
 
/* 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 */
/* Specific styling for lists inside modules */
.dev-pfp-container img {
.mainpage-module-content ul {
     width: 100%;
     list-style-type: disc;
    height: 100%;
     margin-left: 20px;
     border-radius: 6px; /* Slightly smaller radius for the image itself */
    display: block; /* Removes any extra space below the image */
}
}



Revision as of 03:40, 5 September 2025

.mainpage-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px; 

.mainpage-left-col {
    flex: 3;
    min-width: 350px; 
}

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

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

.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-left: 20px;
}

/* HIDE THE DEFAULT TITLE ON THE MAIN PAGE */
body.page-Main_Page h1.firstHeading {
    display: none;
}