MediaWiki:Common.css: Difference between revisions

From Ekologos Wiki
No edit summary
Tags: Manual revert Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
.navbar-brand img,
/* ==========================================================
.mw-wiki-logo,
  EKOLOGOS WIKI DESIGN SYSTEM
#p-logo img {
  Clean & Consolidated Stylesheet
    max-height: 150px !important;
========================================================== */
    width: auto !important;
    max-width: 250px !important;
}


.navbar-brand {
/* ==========================================
    padding: 5px !important;
  1. GLOBAL STYLES
    min-height: 90px !important;
========================================== */
    display: flex !important;
    align-items: center !important;
}


.navbar-brand img,
body {
.navbar-brand .mw-wiki-logo {
     background: #f8f6f1;
     height: 80px !important;
     color: #2f2f2f;
     width: auto !important;
     font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
     max-height: 80px !important;
}
 
.page-Main_Page #firstHeading,
.page-Main_Page #contentSub,
.page-Main_Page .mw-indicators,
.page-Main_Page .page-tools,
.page-Main_Page #toc,
.page-Main_Page .toc {
    display: none !important;
}
}


/* Full-width utility */
body .container,
body .container,
body .container-fluid,
body .container-fluid,
Line 40: Line 25:
}
}


.page-Main_Page .mw-parser-output {
/* ==========================================
     padding: 0 20px !important;
  2. TYPOGRAPHY
========================================== */
 
.home-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.2;
    color: #23492f;
    font-weight: 600;
     margin-bottom: 20px;
}
}


/* ==========================================================
.home-subtitle {
  EKOLOGOS WIKI DESIGN SYSTEM
    font-size: clamp(18px, 2.5vw, 24px);
========================================================== */
    line-height: 1.6;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}


body{
.section-title {
     background:#f8f6f1;
     font-family: Georgia, serif;
     color:#2f2f2f;
    font-size: clamp(28px, 4vw, 42px);
     font-family:"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
     color: #23492f;
     margin-bottom: 20px;
}
}


/* Page width */
/* ==========================================
  3. NAVBAR & LOGO
========================================== */


.mw-parser-output{
.navbar-brand {
     width:100%;
    padding: 5px !important;
    min-height: 70px;
    display: flex !important;
     align-items: center !important;
}
}


/* Main content */
.navbar-brand img,
 
.navbar-brand .mw-wiki-logo,
.homepage{
#p-logo img {
     width:100%;
     height: 60px;
    width: auto;
    max-height: 60px;
    max-width: 250px;
}
}


/* Typography */
/* ==========================================
  4. CARDS
========================================== */


.home-title{
.eko-card {
     font-family:Georgia,"Times New Roman",serif;
     background: white;
     font-size:68px;
    border-radius: 18px;
     line-height:1.1;
     overflow: hidden;
     color:#23492f;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
     font-weight:600;
     transition: transform 0.25s ease, box-shadow 0.25s ease;
     height: 100%;
}
}


.home-subtitle{
.eko-card:hover {
     font-size:24px;
     transform: translateY(-6px);
     line-height:1.6;
     box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    color:#555;
    max-width:900px;
    margin:auto;
}
}


.section-title{
.eko-card img {
     font-family:Georgia,serif;
     width: 100%;
    font-size:42px;
     height: 200px;
     color:#23492f;
     object-fit: cover;
     margin-bottom:20px;
}
}


/* Cards */
.eko-card-body {
    padding: 24px;
}


.eko-card{
.eko-card-title {
     background:white;
     font-family: Georgia, serif;
     border-radius:18px;
     font-size: 22px;
     overflow:hidden;
     color: #23492f;
     box-shadow:0 10px 30px rgba(0,0,0,.08);
     margin-bottom: 10px;
    transition:.25s;
}
}


.eko-card:hover{
.eko-card-text {
     transform:translateY(-6px);
     color: #555;
     box-shadow:0 16px 40px rgba(0,0,0,.15);
     line-height: 1.6;
}
}


/* Buttons */
/* ==========================================
  5. BUTTONS
========================================== */


.eko-button{
.eko-button {
    display: inline-block;
    background: #295536;
    color: white;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}


     display:inline-block;
.eko-button:hover {
    background: #1f4129;
    color: white;
    text-decoration: none;
     transform: translateY(-2px);
}


     background:#295536;
.eko-button-outline {
     background: transparent;
    color: white;
    border: 2px solid white;
}


    color:white;
.eko-button-outline:hover {
 
     background: white;
    padding:14px 30px;
     color: #23492f;
 
    border-radius:40px;
 
     text-decoration:none;
 
     font-weight:600;
}
}


.eko-button:hover{
/* ==========================================
  6. HERO SECTION
========================================== */


     background:#1f4129;
.hero {
 
    min-height: 100vh;
     color:white;
     background-image:  
 
        linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
     text-decoration:none;
        url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
     background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
     text-align: center;
    padding: 120px 20px 80px;
    position: relative;
}
}


/* ==========================================================
.hero-overlay {
  HERO
    max-width: 900px;
========================================================== */
    width: 100%;
 
.hero{
 
height:700px;
 
background-image:
linear-gradient(rgba(0,0,0,.35),rgba(0,0,0,.35)),
url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1800&q=80");
 
background-size:cover;
 
background-position:center;
 
display:flex;
 
align-items:center;
 
justify-content:center;
 
text-align:center;
 
border-radius:0;
 
}
}


.hero-overlay{
.hero .home-title {
 
    color: white;
max-width:900px;
    margin-bottom: 20px;
 
padding:20px;
 
}
}


.hero .home-title{
.hero .home-subtitle {
 
    color: rgba(255, 255, 255, 0.9);
color:white;
    margin-bottom: 40px;
 
font-size:72px;
 
margin-bottom:20px;
 
}
}


.hero .home-subtitle{
/* Hero search bar */
 
.hero-search {
color:white;
    margin-top: 40px;
 
margin-bottom:40px;
 
}
}


.hero-search input{
.hero-search input {
 
    width: 100%;
width:700px;
    max-width: 600px;
 
    padding: 18px 24px;
max-width:90%;
    border-radius: 50px;
 
    border: none;
padding:18px;
    font-size: 18px;
 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
border-radius:50px;
    outline: none;
 
    transition: box-shadow 0.3s ease;
border:none;
 
font-size:20px;
 
}
}


body {
.hero-search input:focus {
     background: #ffeecc !important;
     box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
}


/* Homepage full width */
/* ==========================================
  7. HOMEPAGE (MAIN PAGE) SPECIFICS
========================================== */


/* Full-width layout on Main Page */
.page-Main_Page .container,
.page-Main_Page .container,
.page-Main_Page .container-fluid,
.page-Main_Page .container-fluid,
Line 215: Line 214:
.page-Main_Page #content,
.page-Main_Page #content,
.page-Main_Page #mw-content-text {
.page-Main_Page #mw-content-text {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}


     max-width:100% !important;
.page-Main_Page .mw-parser-output {
    margin: 0 !important;
    padding: 0 !important;
}
 
/* Hide unwanted elements on Main Page */
.page-Main_Page #firstHeading,
.page-Main_Page #contentSub,
.page-Main_Page .mw-indicators,
.page-Main_Page .page-tools,
.page-Main_Page #toc {
    display: none !important;
}
 
/* Transparent navbar overlay on Main Page */
.page-Main_Page nav.navbar,
.page-Main_Page .navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent !important;
    border: none !important;
     box-shadow: none !important;
}


     width:100% !important;
/* Content sections on homepage */
.homepage-section {
     padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}


     margin:0 !important;
.homepage-section-alt {
     background: white;
    padding: 80px 20px;
}


     padding:0 !important;
.homepage-grid {
     display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}


/* Feature row */
.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
}


.page-Main_Page .mw-parser-output{
.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #295536;
}


     margin:0 !important;
.feature-title {
    font-family: Georgia, serif;
    font-size: 24px;
    color: #23492f;
     margin-bottom: 10px;
}


    padding:0 !important;
/* ==========================================
  8. CONTENT PAGES (non-homepage)
========================================== */


.mw-parser-output {
    padding: 0 20px;
}
}


/* ==========================================
/* ==========================================
   EKOLOGOS HOMEPAGE
   9. RESPONSIVE DESIGN
========================================== */
========================================== */


/* Only affect the Main Page */
/* Tablets */
.page-Main_Page nav.navbar,
@media (max-width: 768px) {
.page-Main_Page .navbar {
    .hero {
     position: absolute;
        min-height: 80vh;
     top: 0;
        padding: 100px 20px 60px;
     left: 0;
    }
     right: 0;
   
     z-index: 1000;
    .hero .home-title {
        font-size: clamp(32px, 8vw, 48px);
    }
   
    .hero-search input {
        max-width: 100%;
        padding: 16px 20px;
        font-size: 16px;
    }
   
    .homepage-section,
    .homepage-section-alt {
        padding: 50px 20px;
    }
   
    .homepage-grid,
    .feature-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
   
    .navbar-brand img,
    .navbar-brand .mw-wiki-logo {
        height: 50px;
        max-height: 50px;
    }
      
    .section-title {
        text-align: center;
     }
}
 
/* Mobile */
@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
        padding: 80px 15px 40px;
     }
   
    .eko-button {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        text-align: center;
     }
   
    .eko-card img {
        height: 160px;
     }
   
    .eko-card-body {
        padding: 18px;
    }
}
 
/* ==========================================
  10. ANIMATIONS
========================================== */


     background: transparent !important;
@keyframes fadeInUp {
     border: none !important;
     from {
    box-shadow: none !important;
        opacity: 0;
        transform: translateY(30px);
     }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
}


/* Move the hero behind the navbar */
.animate-in {
.page-Main_Page .hero {
     animation: fadeInUp 0.6s ease forwards;
     margin-top: -70px;
    padding-top: 70px;
}
}
/* Stagger animation delays for cards */
.eko-card:nth-child(1) { animation-delay: 0.1s; }
.eko-card:nth-child(2) { animation-delay: 0.2s; }
.eko-card:nth-child(3) { animation-delay: 0.3s; }
.eko-card:nth-child(4) { animation-delay: 0.4s; }
/* ==========================================
  11. UTILITY CLASSES
========================================== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

Revision as of 09:17, 3 July 2026

/* ==========================================================
   EKOLOGOS WIKI DESIGN SYSTEM
   Clean & Consolidated Stylesheet
========================================================== */

/* ==========================================
   1. GLOBAL STYLES
========================================== */

body {
    background: #f8f6f1;
    color: #2f2f2f;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Full-width utility */
body .container,
body .container-fluid,
.col-cmln,
.col-12,
#mw-content-text,
.mw-parser-output {
    max-width: 100% !important;
    width: 100% !important;
}

/* ==========================================
   2. TYPOGRAPHY
========================================== */

.home-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.2;
    color: #23492f;
    font-weight: 600;
    margin-bottom: 20px;
}

.home-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.6;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-family: Georgia, serif;
    font-size: clamp(28px, 4vw, 42px);
    color: #23492f;
    margin-bottom: 20px;
}

/* ==========================================
   3. NAVBAR & LOGO
========================================== */

.navbar-brand {
    padding: 5px !important;
    min-height: 70px;
    display: flex !important;
    align-items: center !important;
}

.navbar-brand img,
.navbar-brand .mw-wiki-logo,
#p-logo img {
    height: 60px;
    width: auto;
    max-height: 60px;
    max-width: 250px;
}

/* ==========================================
   4. CARDS
========================================== */

.eko-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.eko-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.eko-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.eko-card-body {
    padding: 24px;
}

.eko-card-title {
    font-family: Georgia, serif;
    font-size: 22px;
    color: #23492f;
    margin-bottom: 10px;
}

.eko-card-text {
    color: #555;
    line-height: 1.6;
}

/* ==========================================
   5. BUTTONS
========================================== */

.eko-button {
    display: inline-block;
    background: #295536;
    color: white;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.eko-button:hover {
    background: #1f4129;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.eko-button-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.eko-button-outline:hover {
    background: white;
    color: #23492f;
}

/* ==========================================
   6. HERO SECTION
========================================== */

.hero {
    min-height: 100vh;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
        url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
}

.hero-overlay {
    max-width: 900px;
    width: 100%;
}

.hero .home-title {
    color: white;
    margin-bottom: 20px;
}

.hero .home-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* Hero search bar */
.hero-search {
    margin-top: 40px;
}

.hero-search input {
    width: 100%;
    max-width: 600px;
    padding: 18px 24px;
    border-radius: 50px;
    border: none;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    outline: none;
    transition: box-shadow 0.3s ease;
}

.hero-search input:focus {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   7. HOMEPAGE (MAIN PAGE) SPECIFICS
========================================== */

/* Full-width layout on Main Page */
.page-Main_Page .container,
.page-Main_Page .container-fluid,
.page-Main_Page .mw-body,
.page-Main_Page #content,
.page-Main_Page #mw-content-text {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.page-Main_Page .mw-parser-output {
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide unwanted elements on Main Page */
.page-Main_Page #firstHeading,
.page-Main_Page #contentSub,
.page-Main_Page .mw-indicators,
.page-Main_Page .page-tools,
.page-Main_Page #toc {
    display: none !important;
}

/* Transparent navbar overlay on Main Page */
.page-Main_Page nav.navbar,
.page-Main_Page .navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Content sections on homepage */
.homepage-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.homepage-section-alt {
    background: white;
    padding: 80px 20px;
}

.homepage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Feature row */
.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #295536;
}

.feature-title {
    font-family: Georgia, serif;
    font-size: 24px;
    color: #23492f;
    margin-bottom: 10px;
}

/* ==========================================
   8. CONTENT PAGES (non-homepage)
========================================== */

.mw-parser-output {
    padding: 0 20px;
}

/* ==========================================
   9. RESPONSIVE DESIGN
========================================== */

/* Tablets */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 100px 20px 60px;
    }
    
    .hero .home-title {
        font-size: clamp(32px, 8vw, 48px);
    }
    
    .hero-search input {
        max-width: 100%;
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .homepage-section,
    .homepage-section-alt {
        padding: 50px 20px;
    }
    
    .homepage-grid,
    .feature-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .navbar-brand img,
    .navbar-brand .mw-wiki-logo {
        height: 50px;
        max-height: 50px;
    }
    
    .section-title {
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
        padding: 80px 15px 40px;
    }
    
    .eko-button {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
    
    .eko-card img {
        height: 160px;
    }
    
    .eko-card-body {
        padding: 18px;
    }
}

/* ==========================================
   10. ANIMATIONS
========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animation delays for cards */
.eko-card:nth-child(1) { animation-delay: 0.1s; }
.eko-card:nth-child(2) { animation-delay: 0.2s; }
.eko-card:nth-child(3) { animation-delay: 0.3s; }
.eko-card:nth-child(4) { animation-delay: 0.4s; }

/* ==========================================
   11. UTILITY CLASSES
========================================== */

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }