Lompat ke isi

MediaWiki:Common.css: Perbedaan antara revisi

Dari Maliki Encyclopedia
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
Baris 96: Baris 96:


/* =================================
/* =================================
  CATEGORY MENU
   MALIKI CATEGORY GRID FINAL
   MALIKI MAIN CATEGORY
================================= */
================================= */




.me-home .me-explore{
.me-explore{


    display:grid !important;
display:grid;


    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
grid-template-columns:repeat(5,180px);


    gap:25px !important;
justify-content:center;


    width:100% !important;
gap:35px;


    margin:40px 0 60px !important;
margin:50px auto;


}
}
Baris 117: Baris 116:




/* CARD CATEGORY */
/* wrapper setiap kategori */


.me-item{


.me-home .me-explore-card{
text-align:center;
 
    background:#006b54;
 
    height:180px;
 
    border-radius:15px;
 
    padding:20px;
 
    box-sizing:border-box;
 
    display:flex;
 
    flex-direction:column;
 
    justify-content:center;
 
    align-items:center;
 
    text-align:center;
 
    color:white;
 
    width:100% !important;
 
    margin:0 !important;
 
    transition:.3s;


}
}
Baris 154: Baris 126:




.me-home .me-explore-card:hover{
/* kartu */


    background:#c79b2b;
.me-explore-card{


    transform:translateY(-5px);
background:#006b54;


}
height:260px;


width:180px;


border-radius:15px;


.me-home .me-explore-card h3{
padding:20px;


    color:white;
box-sizing:border-box;


    margin:10px 0;
color:white;
 
    font-size:18px;


}
display:flex;


flex-direction:column;


justify-content:center;


.me-home .me-explore-card p{
align-items:center;
 
    color:white;
 
    font-size:14px;
 
    line-height:1.5;
 
    margin:5px 0;
 
}
 
 
 
/* LINK BUTTON */
 
 
.me-link{
 
    margin-top:12px;
 
}
 
 
 
.me-link a{
 
    color:white;
 
    text-decoration:none;
 
    font-weight:bold;
 
}
 
 
 
.me-link a:hover{
 
    color:white;
 
}
 
 
 
/* =========================
  SECTION TITLE
========================= */
 
 
.me-home h2{
 
    color:#006b5b;
 
    border-bottom:1px solid #ddd;
 
    padding-bottom:10px;
 
    margin-top:50px;
 
}
 
 
 
/* =========================
  FEATURED KNOWLEDGE
========================= */
 
 
.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;
 
    display:flex;
 
    flex-direction:column;
 
    align-items:center;
 
}
 
 
 
.me-feature-main img{
 
    max-width:350px;
 
    height:auto;
 
    border-radius:12px;
 
}
 
 
 
.me-feature-side{
 
    display:flex;
 
    flex-direction:column;
 
    gap:20px;
 
}
 
 
 
.me-feature-side div{
 
    background:#f8f6ef;
 
    border:1px solid #ddd;
 
    border-radius:12px;
 
    padding:25px;
 
}
 
 
 
/* =========================
  GENERAL CARD
========================= */
 
 
.me-grid{
 
    display:grid;
 
    grid-template-columns:repeat(3,1fr);
 
    gap:30px;
 
}
 
 
 
.me-card{
 
    background:white;
 
    border:1px solid #ddd;
 
    border-radius:12px;
 
    padding:20px;
 
}
 
 
 
.me-card img{
 
    width:100%;
 
    height:180px;
 
    object-fit:cover;
 
    border-radius:10px;
 
}
 
 
 
/* =========================
  RESPONSIVE
========================= */
 
 
@media(max-width:900px){
 
 
    .me-home .me-explore{
 
        grid-template-columns:repeat(2,1fr) !important;
 
    }
 
 
    .me-featured{
 
        grid-template-columns:1fr;
 
    }
 
 
    .me-grid{
 
        grid-template-columns:repeat(2,1fr);
 
    }
 
}
 
 
 
@media(max-width:600px){
 
 
    .me-home .me-explore{
 
        grid-template-columns:1fr !important;
 
    }
 
 
    .me-grid{
 
        grid-template-columns:1fr;
 
    }
 
 
    .me-hero{
 
        padding:25px;
 
    }
 
 
    .me-hero h1{
 
        font-size:28px;
 
    }
 
}
 
/* =================================
  FORCE MALIKI GRID OVERRIDE
================================= */
 
.mw-parser-output .me-home > .me-explore,
.me-home > .me-explore {
 
    display:grid !important;
 
    grid-template-columns:repeat(5, 1fr) !important;
 
    grid-auto-flow:row !important;
 
    justify-content:initial !important;
 
    align-items:stretch !important;
 
    gap:25px !important;
 
}
 
 
.mw-parser-output .me-home > .me-explore > .me-explore-card,
.me-home > .me-explore > .me-explore-card {
 
    display:flex !important;
 
    width:auto !important;
 
    margin:0 !important;
 
}
 
.me-explore-card a{
    color:white;
    background:#c79b2b;
    padding:6px 14px;
    border-radius:5px;
    font-weight:bold;
    text-decoration:none;
    margin-top:10px;
}
 
 
.me-explore-card a:hover{
    background:#ffffff;
    color:#006b54;
}
 
/* =================================
  MALIKI CARD MEDIAWIKI FINAL
================================= */
 
 
.me-explore{
 
display:grid;
 
grid-template-columns:repeat(5,1fr);
 
gap:30px;
 
margin:40px 0;
 
}
 
 
 
.me-item{


text-align:center;
text-align:center;
Baris 502: Baris 158:




.me-explore-card{
/* gambar */
 
background:#006b54;
 
border-radius:15px;
 
padding:20px;
 
height:260px;
 
box-sizing:border-box;
 
color:white;
 
}
 
 


.me-explore-card img{
.me-explore-card img{


width:100%;
width:130px;


height:120px;
height:120px;
Baris 529: Baris 169:


border-radius:10px;
border-radius:10px;
margin-bottom:15px;


}
}




/* judul */


.me-explore-card h3{
.me-explore-card h3{


color:white;
color:white;
font-size:18px;
margin:10px 0;


}
}




/* deskripsi */


.me-explore-card p{
.me-explore-card p{
Baris 547: Baris 197:


font-size:14px;
font-size:14px;
line-height:1.5;


}
}




/* tombol di bawah kartu */


.me-item>a{
.me-item>a{
Baris 556: Baris 210:
display:inline-block;
display:inline-block;


margin-top:15px;
margin-top:12px;


background:#c79b2b;
background:#c79b2b;
Baris 562: Baris 216:
color:white;
color:white;


padding:8px 15px;
padding:7px 15px;


border-radius:5px;
border-radius:5px;
text-decoration:none;


font-weight:bold;
font-weight:bold;


}
text-decoration:none;
 
/* =================================
  MALIKI CATEGORY SPACING FINAL
================================= */
 
 
.me-explore{
 
display:grid;
 
grid-template-columns:repeat(5,180px);
 
justify-content:center;
 
gap:25px;
 
margin:40px auto;


}
}




.me-explore-card{


height:250px;
.me-item>a:hover{


padding:15px;
background:#006b54;


}
}
Baris 602: Baris 236:




.me-item{
/* responsive */
 
text-align:center;
 
}
 
 
.me-item>a{
 
margin-top:10px;
 
}
 




Baris 633: Baris 255:
.me-explore{
.me-explore{


grid-template-columns:repeat(1,180px);
grid-template-columns:180px;


}
}


}
}

Revisi per 9 September 2026 17.56

/* =====================================
   MALIKI ENCYCLOPEDIA
   Common.css FINAL CLEAN v4.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-radius:16px;

    border:1px solid #ddd;

    text-align:center;

    margin:30px 0 50px;

}



.me-hero h1{

    font-family:Georgia,serif;

    font-size:42px;

    color:#006b5b;

    margin:0 0 15px;

}



.me-hero p{

    font-size:18px;

    line-height:1.7;

    margin:10px auto;

}



/* =================================
   MALIKI CATEGORY GRID FINAL
================================= */


.me-explore{

display:grid;

grid-template-columns:repeat(5,180px);

justify-content:center;

gap:35px;

margin:50px auto;

}



/* wrapper setiap kategori */

.me-item{

text-align:center;

}



/* kartu */

.me-explore-card{

background:#006b54;

height:260px;

width:180px;

border-radius:15px;

padding:20px;

box-sizing:border-box;

color:white;

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

text-align:center;

}



/* gambar */

.me-explore-card img{

width:130px;

height:120px;

object-fit:cover;

border-radius:10px;

margin-bottom:15px;

}



/* judul */

.me-explore-card h3{

color:white;

font-size:18px;

margin:10px 0;

}



/* deskripsi */

.me-explore-card p{

color:white;

font-size:14px;

line-height:1.5;

}



/* tombol di bawah kartu */

.me-item>a{

display:inline-block;

margin-top:12px;

background:#c79b2b;

color:white;

padding:7px 15px;

border-radius:5px;

font-weight:bold;

text-decoration:none;

}



.me-item>a:hover{

background:#006b54;

}



/* responsive */


@media(max-width:1000px){

.me-explore{

grid-template-columns:repeat(3,180px);

}

}



@media(max-width:700px){

.me-explore{

grid-template-columns:180px;

}

}