Lompat ke isi

MediaWiki:Common.css: Perbedaan antara revisi

Dari Maliki Encyclopedia
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
Baris 1: Baris 1:
/* =====================================
/* =====================================
   MALIKI ENCYCLOPEDIA
   MALIKI ENCYCLOPEDIA
   JELAJAHI PENGETAHUAN
   Common.css FINAL CLEAN v5.0
===================================== */
===================================== */




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


.mw-parser-output .me-explore {
body{
     display: flex;
     background:#f5f8f7;
     flex-wrap: nowrap;
     color:#24343b;
    gap: 30px;
    width: 100%;
    margin: 30px 0 50px 0;
    align-items: flex-start;
}
}
.firstHeading{
    color:#004f40;
}
a{
    color:#1f5f8b;
}
a:hover{
    color:#006b54;
}




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


.mw-parser-output .me-item {
.me-home{
    flex: 1 1 0;
 
     min-width: 0;
     max-width:1200px;
     width: auto;
 
    max-width: none;
     margin:0 auto;
    text-align: center;
 
    box-sizing: border-box;
}
}




/* =========================
/* =========================
   IMAGE BOX
   HERO
========================= */
========================= */


.mw-parser-output .me-explore-card {
.me-hero{
    width: 100%;
    height: 220px;


     background: #ffffff;
     background:#f8f6ef;


     border: 1px solid #ddd;
     padding:45px;
    border-radius: 12px;


     box-sizing: border-box;
     border:1px solid #ddd;


     display: flex;
     border-radius:16px;
    justify-content: center;
    align-items: center;


     padding: 15px;
     text-align:center;
 
    margin:30px 0 50px;


    margin-bottom: 15px;
}
}




/* =========================
  IMAGE
========================= */


.mw-parser-output .me-explore-card img {
.me-hero h1{
     display: block;
 
    font-family:Georgia,serif;
 
    font-size:42px;
 
    color:#006b5b;
 
    margin-bottom:15px;
 
}
 
 
 
.me-hero p{
 
    font-size:18px;
 
    line-height:1.7;
 
}
 
 
 
/* =====================================
  KNOWLEDGE CARD AREA
===================================== */
 
 
/* container kartu */
 
.me-explore{
 
    display:flex;
 
    justify-content:center;
 
    align-items:flex-start;
 
    gap:30px;
 
    flex-wrap:nowrap;
 
    margin:40px auto;
 
}
 
 
 
/* setiap item */
 
.me-item{
 
    width:300px;
 
    text-align:center;
 
}
 
 
 
/* kotak gambar */
 
.me-explore-card{
 
    width:300px;
 
    height:220px;
 
    background:#ffffff;
 
    border:1px solid #ddd;
 
    border-radius:15px;
 
    display:flex;
 
    justify-content:center;
 
    align-items:center;
 
    padding:15px;
 
    box-sizing:border-box;
 
}
 
 
 
/* gambar */
 
.me-explore-card img{
 
    max-width:180px;
 
    max-height:180px;
 
    width:auto;
 
    height:auto;
 
    object-fit:contain;
 
}
 
 
 
/* judul */
 
.me-item h3{
 
    color:#006b54;
 
    font-size:20px;
 
    margin:15px 0 8px;
 
}
 
 
 
/* deskripsi */
 
.me-item p{
 
    font-size:14px;
 
    line-height:1.6;
 
    margin:8px auto;
 
}
 
 
 
/* tombol */
 
.me-item > a{
 
     display:inline-block;
 
    margin-top:10px;


     max-width: 180px;
     color:#006b54;
    max-height: 180px;


     width: auto;
     font-weight:bold;
    height: auto;


     object-fit: contain;
     text-decoration:none;


    margin: auto;
}
}




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


.mw-parser-output .me-item h3 {
.me-item > a:hover{
    color: #006b54;


     font-size: 20px;
     color:#b8860b;


    margin: 10px 0;
}
}




/* =========================
/* =========================
   DESCRIPTION
   FEATURED SECTION
========================= */
========================= */


.mw-parser-output .me-item p {
.me-featured{
     font-size: 14px;
 
    display:grid;
 
     grid-template-columns:2fr 1fr;


     line-height: 1.6;
     gap:30px;


     margin: 8px auto 12px auto;
     margin:40px 0;


    max-width: 320px;
}
}




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


.mw-parser-output .me-item > a {
.me-feature-main{
     display: inline-block;
 
     background:white;
 
    border:1px solid #ddd;


     margin-top: 5px;
     border-radius:15px;


     color: #006b54;
     padding:30px;


     font-weight: bold;
     text-align:center;


    text-decoration: none;
}
}




.mw-parser-output .me-item > a:hover {
 
     color: #b8860b;
.me-feature-main img{
 
    max-width:350px;
 
     height:auto;
 
}
}




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


@media (max-width: 800px) {


     .mw-parser-output .me-explore {
@media(max-width:1000px){
         flex-wrap: wrap;
 
     .me-explore{
 
         flex-wrap:wrap;
 
     }
     }


     .mw-parser-output .me-item {
 
         flex: 0 0 calc((100% - 30px) / 2);
     .me-item{
 
         width:280px;
 
     }
     }


}
}




/* =========================
  MOBILE
========================= */


@media (max-width: 600px) {
@media(max-width:700px){
 
    .me-explore{
 
        flex-direction:column;
 
        align-items:center;
 
    }
 
 
    .me-item{
 
        width:100%;
 
        max-width:320px;
 
    }
 
 
    .me-hero{
 
        padding:25px;


    .mw-parser-output .me-explore {
        flex-direction: column;
        align-items: center;
     }
     }


     .mw-parser-output .me-item {
 
        width: 100%;
     .me-hero h1{
         max-width: 400px;
 
         font-size:30px;
 
     }
     }


}
}

Revisi per 9 September 2026 19.13

/* =====================================
   MALIKI ENCYCLOPEDIA
   Common.css FINAL CLEAN v5.0
===================================== */


/* =========================
   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
========================= */

.me-hero{

    background:#f8f6ef;

    padding:45px;

    border:1px solid #ddd;

    border-radius:16px;

    text-align:center;

    margin:30px 0 50px;

}



.me-hero h1{

    font-family:Georgia,serif;

    font-size:42px;

    color:#006b5b;

    margin-bottom:15px;

}



.me-hero p{

    font-size:18px;

    line-height:1.7;

}



/* =====================================
   KNOWLEDGE CARD AREA
===================================== */


/* container kartu */

.me-explore{

    display:flex;

    justify-content:center;

    align-items:flex-start;

    gap:30px;

    flex-wrap:nowrap;

    margin:40px auto;

}



/* setiap item */

.me-item{

    width:300px;

    text-align:center;

}



/* kotak gambar */

.me-explore-card{

    width:300px;

    height:220px;

    background:#ffffff;

    border:1px solid #ddd;

    border-radius:15px;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:15px;

    box-sizing:border-box;

}



/* gambar */

.me-explore-card img{

    max-width:180px;

    max-height:180px;

    width:auto;

    height:auto;

    object-fit:contain;

}



/* judul */

.me-item h3{

    color:#006b54;

    font-size:20px;

    margin:15px 0 8px;

}



/* deskripsi */

.me-item p{

    font-size:14px;

    line-height:1.6;

    margin:8px auto;

}



/* tombol */

.me-item > a{

    display:inline-block;

    margin-top:10px;

    color:#006b54;

    font-weight:bold;

    text-decoration:none;

}



.me-item > a:hover{

    color:#b8860b;

}



/* =========================
   FEATURED SECTION
========================= */

.me-featured{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:30px;

    margin:40px 0;

}



.me-feature-main{

    background:white;

    border:1px solid #ddd;

    border-radius:15px;

    padding:30px;

    text-align:center;

}



.me-feature-main img{

    max-width:350px;

    height:auto;

}



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


@media(max-width:1000px){

    .me-explore{

        flex-wrap:wrap;

    }


    .me-item{

        width:280px;

    }


}



@media(max-width:700px){

    .me-explore{

        flex-direction:column;

        align-items:center;

    }


    .me-item{

        width:100%;

        max-width:320px;

    }


    .me-hero{

        padding:25px;

    }


    .me-hero h1{

        font-size:30px;

    }


}