Lompat ke isi

MediaWiki:Common.css

Dari Maliki Encyclopedia
Revisi sejak 9 September 2026 21.04 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 v10.0
   World History Inspired Layout
===================================== */


/* =====================================
   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
   World History Style
===================================== */


.me-hero{

    width:100%;

    background:#f8f6ef;

    border:1px solid #ddd;

    border-radius:12px;

    overflow:hidden;

    margin:35px auto 60px;

    text-align:center;

}



/* banner image */

.me-hero-image{

    width:100%;

    height:220px;

    overflow:hidden;

}


.me-hero-image img{

    width:100%;

    height:220px;

    object-fit:cover;

    display:block;

}



/* hero text area */

.me-hero-content{

    padding:35px 40px 45px;

}



/* main title */

.me-hero h1{

    font-family:Georgia,serif;

    font-size:58px;

    font-weight:normal;

    line-height:1.2;

    color:#006b54;

    margin:0 auto 20px;

    padding-bottom:15px;

    border-bottom:1px solid #ccc;

    max-width:900px;

}



/* subtitle */

.me-hero .tagline{

    font-size:26px;

    color:#24343b;

    margin:25px auto;

}



/* description */

.me-hero-content p{

    max-width:900px;

    margin:15px auto;

    font-size:18px;

    line-height:1.7;

}



/* =====================================
   FEATURED CONTENT
   Pengetahuan Pilihan
===================================== */


.mw-parser-output .featured-grid{

    display:flex;

    justify-content:center;

    align-items:flex-start;

    gap:20px;

    max-width:1000px;

    margin:40px auto;

}



/* item */

.mw-parser-output .featured-item{

    width:300px;

    flex:none;

    text-align:center;

}



/* image box only */

.mw-parser-output .featured-image{

    height:150px;

    background:#f8f6ef;

    border:1px solid #ddd;

    border-radius:8px;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:18px;

}



/* image */

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

    max-width:120px;

    max-height:120px;

    width:auto;

    height:auto;

    object-fit:contain;

}



/* title */

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

    color:#006b54;

    font-size:21px;

    font-weight:bold;

    margin:15px 0;

}



/* description */

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

    max-width:250px;

    margin:0 auto;

    font-size:14px;

    line-height:1.6;

}



/* explore button */

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

    display:inline-block;

    margin-top:22px;

    color:#c79b2b;

    font-weight:bold;

    text-decoration:none;

}


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

    color:#006b54;

}



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


.mw-parser-output h2{

    margin-top:45px;

    border-bottom:1px solid #ccc;

    padding-bottom:8px;

}



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


@media(max-width:900px){


    .mw-parser-output .featured-grid{

        flex-wrap:wrap;

    }


}



@media(max-width:700px){


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

        height:160px;

    }



    .me-hero-content{

        padding:25px 20px;

    }



    .me-hero h1{

        font-size:38px;

    }



    .me-hero .tagline{

        font-size:20px;

    }



    .mw-parser-output .featured-item{

        width:100%;

    }


}