Lompat ke isi

MediaWiki:Common.css

Dari Maliki Encyclopedia
Revisi sejak 9 September 2026 21.19 oleh ADMIN-ency (bicara | kontrib)

Catatan: Setelah menerbitkan, Anda mungkin perlu melewati tembolok peramban web Anda untuk melihat perubahan.

  • Firefox/Safari: Tekan dan tahan Shift sembari mengeklik Reload, atau tekan Ctrl-F5 atau Ctrl-R (⌘-R di Mac)
  • Google Chrome: Tekan Ctrl-Shift-R (⌘-Shift-R di Mac)
  • Edge: Tahan Ctrl sembari mengeklik Refresh, atau tekan Ctrl-F5
/* =====================================
   MALIKI ENCYCLOPEDIA
   Common.css FINAL v12.0
   Compact World History Style
===================================== */


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

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


.firstHeading{
    color:#004f40;
}


a{
    color:#1f5f8b;
}


a:hover{
    color:#006b54;
}



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

.me-home{

    max-width:1200px;

    margin:0 auto;

}



/* =====================================
   HERO SECTION
===================================== */


.me-hero{

    background:#f8f6ef;

    border:1px solid #ddd;

    border-radius:12px;

    overflow:hidden;

    margin:20px auto 25px;

    text-align:center;

}



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


.me-hero-image{

    width:100%;

    height:220px;

    overflow:hidden;

}


.me-hero-image img{

    width:100%;

    height:220px;

    object-fit:cover;

    display:block;

}



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


.me-hero-content{

    padding:12px 40px 25px;

}



/* Nama Ensiklopedia */


.me-hero h1{

    font-family:Georgia,serif;

    font-size:52px;

    font-weight:400;

    color:#006b54;

    line-height:1.1;

    margin:0 auto 5px;

    padding-bottom:6px;

    border-bottom:1px solid #ccc;

    max-width:850px;

}



/* Tagline */


.me-hero .tagline{

    font-size:22px;

    color:#24343b;

    margin:14px auto 8px;

}



/* Deskripsi */


.me-hero-content p{

    font-size:16px;

    line-height:1.5;

    max-width:850px;

    margin:8px auto;

}



/* =====================================
   SECTION HEADING
===================================== */


.mw-parser-output h2{

    margin-top:20px;

    margin-bottom:15px;

}



/* =====================================
   FEATURED CONTENT
===================================== */


.mw-parser-output .featured-grid{

    display:flex !important;

    justify-content:center;

    align-items:flex-start;

    gap:12px;

    margin:15px auto 25px;

}



/* Item */


.mw-parser-output .featured-item{

    width:300px;

    flex:none;

    text-align:center;

}



/* =====================================
   IMAGE BOX ONLY
===================================== */


.mw-parser-output .featured-image{

    height:140px;

    background:#f8f6ef;

    border:1px solid #ddd;

    border-radius:8px;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:10px;

}



.mw-parser-output .featured-image img{

    max-width:110px;

    max-height:110px;

    width:auto;

    height:auto;

    object-fit:contain;

}



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


.mw-parser-output .featured-item h3{

    color:#006b54;

    font-size:20px;

    margin:8px 0;

}



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


.mw-parser-output .featured-item p{

    max-width:250px;

    margin:5px auto;

    font-size:14px;

    line-height:1.45;

}



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


.mw-parser-output .featured-item a{

    display:inline-block;

    margin-top:10px;

    color:#c79b2b;

    font-weight:bold;

    text-decoration:none;

}



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


.me-explore{

    display:flex;

    justify-content:center;

    gap:12px;

    margin:25px auto;

}



.me-item{

    width:300px;

    text-align:center;

}



.me-explore-card{

    height:140px;

    background:#f8f6ef;

    border:1px solid #ddd;

    border-radius:8px;

    display:flex;

    justify-content:center;

    align-items:center;

}



.me-explore-card img{

    max-width:110px;

    max-height:110px;

}



/* =====================================
   RESPONSIVE
===================================== */


@media(max-width:900px){


    .mw-parser-output .featured-grid,
    .me-explore{

        flex-wrap:wrap;

    }


}



@media(max-width:700px){


    .me-hero-image,
    .me-hero-image img{

        height:150px;

    }


    .me-hero-content{

        padding:15px;

    }


    .me-hero h1{

        font-size:36px;

    }


    .me-hero .tagline{

        font-size:18px;

    }


    .mw-parser-output .featured-item,
    .me-item{

        width:100%;

    }


}