Lompat ke isi

MediaWiki:Common.css: Perbedaan antara revisi

Dari Maliki Encyclopedia
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
 
(24 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 1: Baris 1:
/* =====================================
/* =====================================
  MALIKI ENCYCLOPEDIA
MALIKI ENCYCLOPEDIA
  Common.css FINAL v7.0
Common.css v12 FINAL
  Clean World History Style
World History Inspired Style
===================================== */
===================================== */


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


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


 
.firstHeading {
.firstHeading{
     color: #004f40;
     color:#004f40;
}
}


 
a {
a{
     color: #1f5f8b;
     color:#1f5f8b;
}
}


 
a:hover {
a:hover{
     color: #006b54;
     color:#006b54;
}
}


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


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


    max-width:1200px;
/* =====================================
HERO BANNER
===================================== */


     margin:0 auto;
.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 {
  HERO
    font-family: Georgia, serif;
========================= */
     font-size: 54px;
 
     font-weight: normal;
.me-hero{
     color: #006b54;
 
    margin: 0 auto 15px;
     background:#f8f6ef;
     padding-bottom: 10px;
 
     border-bottom: 1px solid #ccc;
     padding:45px;
     max-width: 850px;
 
}
     border:1px solid #ddd;
 
     border-radius:16px;
 
     text-align:center;
 
     margin:30px 0 50px;


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


 
.me-hero p {
.me-hero h1{
     font-size: 17px;
 
     line-height: 1.6;
     font-family:Georgia,serif;
     max-width: 850px;
 
     margin: 15px auto;
     font-size:42px;
 
     color:#006b5b;
 
     margin:0 0 15px;
 
}
}


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


.me-hero p{
.featured-grid {
 
    display: flex;
     font-size:18px;
     justify-content: center;
 
    align-items: flex-start;
     line-height:1.7;
     gap: 12px;
 
    margin: 25px auto 45px;
}
}


/* =====================================
/* =====================================
  FEATURED / PENGETAHUAN PILIHAN
FEATURED ITEM
===================================== */
===================================== */


 
.featured-item {
/* baris kartu */
     width: 300px;
 
     flex: none;
.mw-parser-output .featured-grid{
     text-align: center;
 
     display:flex;
 
     justify-content:center;
 
     align-items:flex-start;
 
    gap:25px;
 
    margin:40px auto;
 
    width:100%;
 
}
}


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


 
.featured-image {
/* kartu */
    height: 130px;
 
     background: #f8f6ef;
.mw-parser-output .featured-item{
     border: 1px solid #ddd;
 
     border-radius: 8px;
     width:300px;
    display: flex;
 
     justify-content: center;
     flex:none;
     align-items: center;
 
     text-align:center;
 
     background:transparent;
 
     border:none;
 
}
}


 
.featured-image img {
 
     max-width: 120px;
/* =========================
     max-height: 120px;
  GAMBAR
     width: auto;
========================= */
     height: auto;
 
     object-fit: contain;
 
.mw-parser-output .featured-image{
 
     height:150px;
 
     background:#f8f6ef;
 
    border:1px solid #ddd;
 
    border-radius:10px;
 
     display:flex;
 
     justify-content:center;
 
     align-items:center;
 
    margin-bottom:18px;
 
}
}


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


 
.featured-item h3 {
/* ukuran gambar */
     color: #006b54;
 
     font-size: 21px;
.mw-parser-output .featured-image img{
     margin: 15px 0 10px;
 
     max-width:120px;
 
     max-height:120px;
 
    width:auto;
 
     height:auto;
 
    object-fit:contain;
 
}
}


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


 
.featured-item p {
/* =========================
    max-width: 240px;
  JUDUL
     margin: 0 auto;
========================= */
     font-size: 14px;
 
     line-height: 1.55;
 
.mw-parser-output .featured-item h3{
 
     color:#006b54;
 
     font-size:20px;
 
     margin:15px 0 10px;
 
}
}


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


 
.featured-item a {
/* =========================
    display: inline-block;
  DESKRIPSI
     margin-top: 15px;
========================= */
     color: #c79b2b;
 
     font-weight: bold;
 
     text-decoration: none;
.mw-parser-output .featured-item p{
 
     max-width:250px;
 
     margin:0 auto;
 
     font-size:14px;
 
     line-height:1.6;
 
}
}


 
.featured-item a:hover {
 
     color: #006b54;
/* =========================
  LINK
========================= */
 
 
.mw-parser-output .featured-item a{
 
    display:inline-block;
 
    margin-top:20px;
 
     color:#c79b2b;
 
    font-weight:bold;
 
    text-decoration:none;
 
}
}


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


.mw-parser-output .featured-item a:hover{
.featured-grid + h2 {
 
     margin-top: 30px;
     color:#006b54;
 
}
}


/* =====================================
/* =====================================
  JELAJAH PENGETAHUAN
MALIKI ARTICLE STYLE
===================================== */
===================================== */


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


.me-explore{
.me-article-header h1 {
 
     font-family: Georgia, serif;
     display:flex;
     font-size: 42px;
 
     color: #006b54;
     justify-content:center;
     border-bottom: 1px solid #ddd;
 
     padding-bottom: 15px;
     gap:25px;
 
     flex-wrap:wrap;
 
     margin:40px auto;
 
}
}


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


 
.me-article-image img {
 
     max-width: 350px;
.me-explore-card{
     height: auto;
 
    height:220px;
 
    background:#ffffff;
 
    border:1px solid #ddd;
 
     border-radius:15px;
 
     display:flex;
 
    justify-content:center;
 
    align-items:center;
 
}
}


 
.me-summary {
 
    background: #f8f6ef;
.me-explore-card img{
     border-left: 4px solid #c79b2b;
 
     padding: 20px;
     max-width:160px;
     margin: 30px 0;
 
     max-height:160px;
 
     object-fit:contain;
 
}
}


 
.me-section {
 
     margin: 35px 0;
.me-item h3{
 
    color:#006b54;
 
     font-size:20px;
 
}
}


 
.me-section h2 {
 
    color: #006b54;
.me-item p{
     border-bottom: 1px solid #ddd;
 
     padding-bottom: 8px;
     font-size:14px;
 
     line-height:1.6;
 
}
}


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


.me-item > a{
.me-navigation {
 
     margin: 35px 0;
     color:#c79b2b;
 
    font-weight:bold;
 
}
}


 
.me-navigation h2 {
 
    color: #006b54;
/* =====================================
    font-size: 24px;
  RESPONSIVE
     margin-bottom: 25px;
===================================== */
    border-bottom: 1px solid #ddd;
 
     padding-bottom: 10px;
 
@media(max-width:900px){
 
 
     .featured-grid{
 
        flex-wrap:wrap;
 
     }
 
 
}
}


 
.me-navigation-table {
 
     width: 100%;
@media(max-width:700px){
     border-collapse: collapse;
 
     margin-top: 20px;
 
     .featured-item{
 
        width:100%;
 
     }
 
 
    .me-hero{
 
        padding:25px;
 
     }
 
 
    .me-hero h1{
 
        font-size:30px;
 
    }
 
}
}


 
.me-navigation-table th {
/* =====================================
    width: 180px;
  FINAL MICRO ADJUSTMENT
    text-align: left;
  WORLD HISTORY STYLE
    background: #f5f3eb;
===================================== */
    padding: 12px;
 
     border: 1px solid #ddd;
 
    font-weight: bold;
.mw-parser-output .featured-grid{
 
     gap:15px;
 
}
}


 
.me-navigation-table td {
.mw-parser-output .featured-image{
     padding: 12px;
 
     border: 1px solid #ddd;
     height:130px;
 
     margin-bottom:10px;
 
}
}


 
.me-navigation-table a {
.mw-parser-output .featured-image img{
     color: #1f5f8b;
 
    max-width:110px;
 
     max-height:110px;
 
}
}


 
.me-navigation-table a:hover {
.mw-parser-output .featured-item h3{
     color: #006b54;
 
     margin-top:10px;
 
}
}


 
.me-knowledge-navigation {
.mw-parser-output .featured-item p{
    margin-top: 35px;
 
     margin-bottom: 35px;
     max-width:230px;
 
}
}


/* =====================================
/* =====================================
  HERO MALIKI ENCYCLOPEDIA
JELAJAH PENGETAHUAN
  WORLD HISTORY STYLE
===================================== */
===================================== */


 
.me-grid {
.me-hero{
     display: grid;
 
     grid-template-columns: repeat(3, minmax(0, 1fr));
     background:#f8f6ef;
     gap: 20px;
 
     width: 100%;
     border:1px solid #ddd;
     margin: 20px 0 35px;
 
     align-items: stretch;
     border-radius:16px;
 
     padding:30px 45px 45px;
 
     margin:30px auto 60px;
 
     text-align:center;
 
}
}


 
.me-card {
 
    border: 1px solid #d9e2df;
/* gambar hero */
     background: #fff;
 
     padding: 16px;
.me-hero img{
     box-sizing: border-box;
 
     border-radius: 10px;
     width:100%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
 
     width: 100%;
     height:280px;
    min-width: 0;
 
     object-fit:cover;
 
     border-radius:4px;
 
     margin-bottom:35px;
 
}
}


 
.me-card img {
 
    width: 100%;
/* judul utama */
     max-width: 250px;
 
     height: 180px;
.me-hero h1{
     object-fit: contain;
 
     display: block;
     font-family:Georgia,serif;
     margin: 0 auto 14px;
 
     font-size:52px;
 
     font-weight:normal;
 
     color:#006b54;
 
     margin:0 auto 20px;
 
    border-bottom:1px solid #ccc;
 
    padding-bottom:15px;
 
    max-width:850px;
 
}
}


 
.me-card a {
 
     color: #006b54;
/* subjudul */
     text-decoration: none;
 
     font-weight: bold;
.me-hero p:first-of-type{
 
     font-size:26px;
 
     color:#24343b;
 
     margin:30px 0;
 
}
}


 
.me-card a:hover {
 
     color: #c79b2b;
/* deskripsi */
 
.me-hero p:last-of-type{
 
     font-size:18px;
 
    line-height:1.7;
 
    max-width:900px;
 
    margin:auto;
 
}
}


/* =====================================
/* =====================================
  MALIKI HERO BANNER WITH IMAGE
RESPONSIVE (Ditaruh di bagian paling bawah)
===================================== */
===================================== */


 
@media (max-width: 900px) {
.me-hero{
    .featured-grid {
 
        flex-wrap: wrap;
    display:flex;
    }
 
      
    flex-direction:column;
     .me-grid {
 
        grid-template-columns: repeat(2, minmax(0, 1fr));
     align-items:center;
     }
 
     justify-content:center;
 
    min-height:420px;
 
    background:#f8f6ef;
 
    border:1px solid #ddd;
 
    border-radius:18px;
 
     overflow:hidden;
 
}
}


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


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


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


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


.me-hero-image{
    .featured-item {
 
        width: 100%;
    width:100%;
     }
 
     text-align:center;
 
}
}


 
@media (max-width: 600px) {
.me-hero-image img{
    .me-grid {
 
        grid-template-columns: 1fr;
    width:100%;
     }
 
    max-height:180px;
 
     object-fit:cover;
 
}
}


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


 
.me-free-text,
/* teks */
.me-free-text textarea,
 
.wikiEditor-ui-text,
 
.wikiEditor-ui-text textarea {
.me-hero-content{
    width: 100% !important;
 
     max-width: none !important;
     text-align:center;
     box-sizing: border-box !important;
 
     padding:30px;
 
}
}


 
.wikiEditor-ui {
 
     width: 100% !important;
.me-hero h1{
     max-width: none !important;
 
    font-family:Georgia,serif;
 
    font-size:60px;
 
    font-weight:400;
 
     color:#006b54;
 
     line-height:1.1;
 
}
}


 
.wikiEditor-ui-text {
 
     width: 100% !important;
.me-hero .tagline{
 
    font-size:24px;
 
     color:#24343b;
 
}
}


 
.wikiEditor-ui-text textarea {
 
    width: 100% !important;
.me-hero p{
     max-width: none !important;
 
     box-sizing: border-box !important;
     font-size:18px;
 
     line-height:1.7;
 
}
}

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;
}