Lompat ke isi

MediaWiki:Common.css: Perbedaan antara revisi

Dari Maliki Encyclopedia
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
 
(142 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 1: Baris 1:
/* =========================================================
/* =====================================
  MALIKI ENSIKLOPEDIA
MALIKI ENCYCLOPEDIA
  Perwajahan V2 — CSS Tahap 1A
Common.css v12 FINAL
  ========================================================= */
World History Inspired Style
===================================== */
 
/* =========================
GLOBAL
========================= */


/* Latar belakang halaman */
body {
body {
     background: #f5f8f7;
     background: #f5f8f7;
Baris 10: Baris 14:
}
}


/* Area konten utama */
#content {
    background: #ffffff;
}
/* Judul halaman */
.firstHeading {
.firstHeading {
     color: #004f40;
     color: #004f40;
    font-weight: 600;
}
}


/* Judul bagian */
.mw-heading2,
.mw-heading3,
.mw-heading4 {
    color: #004f40;
}
/* Tautan */
a {
a {
     color: #1f5f8b;
     color: #1f5f8b;
}
a:visited {
    color: #315f78;
}
}


Baris 41: Baris 26:
}
}


/* Sidebar */
/* =========================
#mw-panel {
HOME CONTAINER
     font-size: 0.95rem;
========================= */
 
.me-home {
     max-width: 1200px;
    margin: 0 auto;
}
}


#mw-panel .portal {
/* =====================================
     margin-bottom: 1.2rem;
HERO BANNER
===================================== */
 
.me-hero-image {
    width: 100%;
     margin: 25px auto 0;
    text-align: center;
}
}


#mw-panel .portal h3 {
.me-hero-image img {
     color: #004f40;
     width: 100%;
     font-weight: 700;
     height: 220px;
     letter-spacing: 0.04em;
    object-fit: cover;
     display: block;
}
}


#mw-panel .portal .body a {
/* =====================================
     color: #1f5f8b;
HERO CONTENT
===================================== */
 
.me-hero {
     background: #f8f6ef;
    border: 1px solid #ddd;
    border-radius: 12px;
    text-align: center;
    margin: 0 auto 45px;
    padding: 25px 40px 35px;
}
}


#mw-panel .portal .body a:hover {
.me-hero h1 {
    font-family: Georgia, serif;
    font-size: 54px;
    font-weight: normal;
     color: #006b54;
     color: #006b54;
    margin: 0 auto 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    max-width: 850px;
}
}


/* Tabel MediaWiki */
.me-hero h3.tagline {
.wikitable {
     font-size: 24px;
     border: 1px solid #d8e2df;
    font-weight: bold;
     background: #ffffff;
    color: #24343b;
     margin: 25px 0 15px;
}
}


.wikitable > tr > th,
.me-hero p {
.wikitable > * > tr > th {
     font-size: 17px;
     background: #eaf5f1;
     line-height: 1.6;
     color: #004f40;
     max-width: 850px;
     border-color: #d8e2df;
    margin: 15px auto;
}
}


.wikitable > tr > td,
/* =====================================
.wikitable > * > tr > td {
FEATURED GRID
     border-color: #d8e2df;
Pengetahuan Pilihan
===================================== */
 
.featured-grid {
     display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    margin: 25px auto 45px;
}
}


/* Kotak navigasi pada halaman */
/* =====================================
.mw-body {
FEATURED ITEM
     border-color: #d8e2df;
===================================== */
 
.featured-item {
     width: 300px;
    flex: none;
    text-align: center;
}
}


/* Footer */
/* =====================================
#footer {
IMAGE BOX
     color: #66777d;
Border hanya gambar
===================================== */
 
.featured-image {
    height: 130px;
    background: #f8f6ef;
     border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}
}


#footer a {
.featured-image img {
     color: #1f5f8b;
     max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}
}


/* Kotak pencarian */
/* =====================================
#searchInput {
TITLE
     border-color: #d8e2df;
===================================== */
 
.featured-item h3 {
     color: #006b54;
    font-size: 21px;
    margin: 15px 0 10px;
}
}


#searchInput:focus {
/* =====================================
     border-color: #006b54;
DESCRIPTION
     box-shadow: 0 0 0 1px #006b54;
===================================== */
 
.featured-item p {
    max-width: 240px;
    margin: 0 auto;
     font-size: 14px;
     line-height: 1.55;
}
}


/* =========================================================
/* =====================================
  MALIKI ENSIKLOPEDIA
LINK
  Halaman Utama — Perwajahan V2
===================================== */
  ========================================================= */


/* Pembungkus Halaman Utama */
.featured-item a {
.me-home {
     display: inline-block;
     max-width: 1200px;
    margin-top: 15px;
     margin: 0 auto;
    color: #c79b2b;
    font-weight: bold;
     text-decoration: none;
}
}


/* Hero */
.featured-item a:hover {
.me-hero {
     color: #006b54;
     padding: 2.5rem 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f7fbf9 0%, #eef6f3 100%);
    border: 1px solid #d8e2df;
    border-radius: 12px;
    text-align: center;
}
}


.me-hero-title {
/* =====================================
    color: #004f40;
SECOND SECTION
    font-size: 2.4rem;
===================================== */
    font-weight: 700;
 
     margin-bottom: 0.4rem;
.featured-grid + h2 {
     margin-top: 30px;
}
}


.me-hero-subtitle {
/* =====================================
     color: #b58a2a;
MALIKI ARTICLE STYLE
    font-size: 1.15rem;
===================================== */
    font-weight: 600;
 
     margin-bottom: 1rem;
.me-article {
     max-width: 900px;
     margin: auto;
}
}


.me-hero-description {
.me-article-header h1 {
     max-width: 820px;
     font-family: Georgia, serif;
     margin: 0 auto;
     font-size: 42px;
     color: #40545a;
     color: #006b54;
     line-height: 1.7;
    border-bottom: 1px solid #ddd;
     padding-bottom: 15px;
}
}


/* Section */
.me-article-image {
.me-section {
    text-align: center;
     margin-bottom: 1.5rem;
     margin: 25px 0;
}
}


.me-section-title {
.me-article-image img {
     color: #004f40;
     max-width: 350px;
    font-size: 1.45rem;
     height: auto;
    font-weight: 700;
    margin-bottom: 0.8rem;
    border-bottom: 2px solid #d8e2df;
     padding-bottom: 0.45rem;
}
}


/* Grid kartu */
.me-summary {
.me-grid {
     background: #f8f6ef;
     display: grid;
     border-left: 4px solid #c79b2b;
     grid-template-columns: repeat(5, 1fr);
    padding: 20px;
     gap: 0.75rem;
     margin: 30px 0;
}
}


/* Kartu */
.me-section {
.me-card {
     margin: 35px 0;
     display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 0.8rem;
    background: #ffffff;
    border: 1px solid #d8e2df;
    border-radius: 8px;
    text-align: center;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
}


.me-card a {
.me-section h2 {
     color: #1f5f8b;
     color: #006b54;
     font-weight: 600;
     border-bottom: 1px solid #ddd;
     text-decoration: none;
     padding-bottom: 8px;
}
}


.me-card:hover {
/* ================================
     border-color: #006b54;
NAVIGASI PENGETAHUAN
    box-shadow: 0 2px 8px rgba(0, 79, 64, 0.10);
================================ */
 
.me-navigation {
     margin: 35px 0;
}
}


.me-card:hover a {
.me-navigation h2 {
     color: #006b54;
     color: #006b54;
    font-size: 24px;
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
}


/* Grid bidang */
.me-navigation-table {
.me-field-grid {
    width: 100%;
     display: grid;
    border-collapse: collapse;
     grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
     gap: 0.75rem;
}
 
.me-navigation-table th {
     width: 180px;
     text-align: left;
    background: #f5f3eb;
    padding: 12px;
    border: 1px solid #ddd;
     font-weight: bold;
}
}


/* Grid relasi */
.me-navigation-table td {
.me-relation-grid {
     padding: 12px;
     display: grid;
     border: 1px solid #ddd;
    grid-template-columns: repeat(5, 1fr);
     gap: 0.65rem;
}
}


.me-relation-card {
.me-navigation-table a {
     padding: 0.9rem 0.6rem;
     color: #1f5f8b;
    background: #faf9f5;
    border: 1px solid #ded9ca;
    border-radius: 8px;
    text-align: center;
}
}


.me-relation-code {
.me-navigation-table a:hover {
     color: #004f40;
     color: #006b54;
    font-weight: 700;
    font-size: 1.05rem;
}
}


.me-relation-label {
.me-knowledge-navigation {
     margin-top: 0.3rem;
     margin-top: 35px;
     color: #40545a;
     margin-bottom: 35px;
    font-size: 0.9rem;
}
}


/* Kontributor */
/* =====================================
.me-contribute-grid {
JELAJAH PENGETAHUAN
===================================== */
 
.me-grid {
     display: grid;
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 0.75rem;
     gap: 20px;
    width: 100%;
    margin: 20px 0 35px;
    align-items: stretch;
}
 
.me-card {
    border: 1px solid #d9e2df;
    background: #fff;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    width: 100%;
    min-width: 0;
}
}


.me-contribute-card {
.me-card img {
     padding: 1rem;
     width: 100%;
     background: #f8f5ed;
     max-width: 250px;
     border: 1px solid #e4dcc8;
     height: 180px;
     border-radius: 8px;
     object-fit: contain;
     text-align: center;
     display: block;
    margin: 0 auto 14px;
}
}


.me-contribute-card a {
.me-card a {
     color: #006b54;
     color: #006b54;
    font-weight: 600;
     text-decoration: none;
     text-decoration: none;
    font-weight: bold;
}
.me-card a:hover {
    color: #c79b2b;
}
}


/* Responsif */
/* =====================================
@media screen and (max-width: 900px) {
RESPONSIVE (Ditaruh di bagian paling bawah)
===================================== */
 
@media (max-width: 900px) {
    .featured-grid {
        flex-wrap: wrap;
    }
   
     .me-grid {
     .me-grid {
         grid-template-columns: repeat(3, 1fr);
         grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
 
@media (max-width: 700px) {
    .me-hero {
        padding: 20px;
     }
     }


     .me-relation-grid {
     .me-hero h1 {
         grid-template-columns: repeat(3, 1fr);
        font-size: 36px;
    }
 
    .me-hero h3.tagline {
         font-size: 20px;
    }
 
    .me-hero-image img {
        height: 160px;
    }
 
    .featured-item {
        width: 100%;
     }
     }
}
}


@media screen and (max-width: 600px) {
@media (max-width: 600px) {
     .me-grid,
     .me-grid {
    .me-field-grid,
    .me-relation-grid,
    .me-contribute-grid {
         grid-template-columns: 1fr;
         grid-template-columns: 1fr;
     }
     }
}


    .me-hero {
/* =========================================
        padding: 1.5rem 1rem;
  Maliki Encyclopedia
     }
  WikiEditor - Isi Artikel
  ========================================= */
 
.me-free-text,
.me-free-text textarea,
.wikiEditor-ui-text,
.wikiEditor-ui-text textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}
 
.wikiEditor-ui {
    width: 100% !important;
    max-width: none !important;
}
 
.wikiEditor-ui-text {
     width: 100% !important;
}


    .me-hero-title {
.wikiEditor-ui-text textarea {
        font-size: 1.8rem;
    width: 100% !important;
     }
    max-width: none !important;
     box-sizing: border-box !important;
}
}

Revisi terkini sejak 23 September 2026 01.52

/* =====================================
MALIKI ENCYCLOPEDIA
Common.css v12 FINAL
World History Inspired Style
===================================== */

/* =========================
GLOBAL
========================= */

body {
    background: #f5f8f7;
    color: #24343b;
}

.firstHeading {
    color: #004f40;
}

a {
    color: #1f5f8b;
}

a:hover {
    color: #006b54;
}

/* =========================
HOME CONTAINER
========================= */

.me-home {
    max-width: 1200px;
    margin: 0 auto;
}

/* =====================================
HERO BANNER
===================================== */

.me-hero-image {
    width: 100%;
    margin: 25px auto 0;
    text-align: center;
}

.me-hero-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* =====================================
HERO CONTENT
===================================== */

.me-hero {
    background: #f8f6ef;
    border: 1px solid #ddd;
    border-radius: 12px;
    text-align: center;
    margin: 0 auto 45px;
    padding: 25px 40px 35px;
}

.me-hero h1 {
    font-family: Georgia, serif;
    font-size: 54px;
    font-weight: normal;
    color: #006b54;
    margin: 0 auto 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    max-width: 850px;
}

.me-hero h3.tagline {
    font-size: 24px;
    font-weight: bold;
    color: #24343b;
    margin: 25px 0 15px;
}

.me-hero p {
    font-size: 17px;
    line-height: 1.6;
    max-width: 850px;
    margin: 15px auto;
}

/* =====================================
FEATURED GRID
Pengetahuan Pilihan
===================================== */

.featured-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    margin: 25px auto 45px;
}

/* =====================================
FEATURED ITEM
===================================== */

.featured-item {
    width: 300px;
    flex: none;
    text-align: center;
}

/* =====================================
IMAGE BOX
Border hanya gambar
===================================== */

.featured-image {
    height: 130px;
    background: #f8f6ef;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-image img {
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* =====================================
TITLE
===================================== */

.featured-item h3 {
    color: #006b54;
    font-size: 21px;
    margin: 15px 0 10px;
}

/* =====================================
DESCRIPTION
===================================== */

.featured-item p {
    max-width: 240px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.55;
}

/* =====================================
LINK
===================================== */

.featured-item a {
    display: inline-block;
    margin-top: 15px;
    color: #c79b2b;
    font-weight: bold;
    text-decoration: none;
}

.featured-item a:hover {
    color: #006b54;
}

/* =====================================
SECOND SECTION
===================================== */

.featured-grid + h2 {
    margin-top: 30px;
}

/* =====================================
MALIKI ARTICLE STYLE
===================================== */

.me-article {
    max-width: 900px;
    margin: auto;
}

.me-article-header h1 {
    font-family: Georgia, serif;
    font-size: 42px;
    color: #006b54;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.me-article-image {
    text-align: center;
    margin: 25px 0;
}

.me-article-image img {
    max-width: 350px;
    height: auto;
}

.me-summary {
    background: #f8f6ef;
    border-left: 4px solid #c79b2b;
    padding: 20px;
    margin: 30px 0;
}

.me-section {
    margin: 35px 0;
}

.me-section h2 {
    color: #006b54;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

/* ================================
NAVIGASI PENGETAHUAN
================================ */

.me-navigation {
    margin: 35px 0;
}

.me-navigation h2 {
    color: #006b54;
    font-size: 24px;
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.me-navigation-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.me-navigation-table th {
    width: 180px;
    text-align: left;
    background: #f5f3eb;
    padding: 12px;
    border: 1px solid #ddd;
    font-weight: bold;
}

.me-navigation-table td {
    padding: 12px;
    border: 1px solid #ddd;
}

.me-navigation-table a {
    color: #1f5f8b;
}

.me-navigation-table a:hover {
    color: #006b54;
}

.me-knowledge-navigation {
    margin-top: 35px;
    margin-bottom: 35px;
}

/* =====================================
JELAJAH PENGETAHUAN
===================================== */

.me-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin: 20px 0 35px;
    align-items: stretch;
}

.me-card {
    border: 1px solid #d9e2df;
    background: #fff;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    width: 100%;
    min-width: 0;
}

.me-card img {
    width: 100%;
    max-width: 250px;
    height: 180px;
    object-fit: contain;
    display: block;
    margin: 0 auto 14px;
}

.me-card a {
    color: #006b54;
    text-decoration: none;
    font-weight: bold;
}

.me-card a:hover {
    color: #c79b2b;
}

/* =====================================
RESPONSIVE (Ditaruh di bagian paling bawah)
===================================== */

@media (max-width: 900px) {
    .featured-grid {
        flex-wrap: wrap;
    }
    
    .me-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .me-hero {
        padding: 20px;
    }

    .me-hero h1 {
        font-size: 36px;
    }

    .me-hero h3.tagline {
        font-size: 20px;
    }

    .me-hero-image img {
        height: 160px;
    }

    .featured-item {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .me-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Maliki Encyclopedia
   WikiEditor - Isi Artikel
   ========================================= */

.me-free-text,
.me-free-text textarea,
.wikiEditor-ui-text,
.wikiEditor-ui-text textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

.wikiEditor-ui {
    width: 100% !important;
    max-width: none !important;
}

.wikiEditor-ui-text {
    width: 100% !important;
}

.wikiEditor-ui-text textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}