Lompat ke isi

MediaWiki:Common.css: Perbedaan antara revisi

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


}
}
}
/* =================================
  FINAL MALIKI CATEGORY MENU
================================= */
.me-explore{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:25px;
margin:40px 0;
width:100%;
}
.me-explore-card{
background:#006b54;
border-radius:15px;
height:180px;
padding:20px;
box-sizing:border-box;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
color:white;
transition:.3s;
}
.me-explore-card:hover{
background:#c79b2b;
transform:translateY(-5px);
}
.me-explore-card h3{
color:white;
margin:10px 0;
}
.me-explore-card p{
color:white;
font-size:14px;
line-height:1.5;
}
.me-icon{
font-size:38px;
margin-bottom:10px;
}
.me-link{
margin-top:12px;
}
.me-link a{
background:#c79b2b;
color:white;
padding:6px 14px;
border-radius:5px;
font-weight:bold;
text-decoration:none;
font-size:14px;


}
}

Revisi per 9 September 2026 16.36

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


/* GLOBAL */

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


.firstHeading{
color:#004f40;
}


a{
color:#1f5f8b;
}


a:hover{
color:#006b54;
}



/* HOME */

.me-home{
max-width:1200px;
margin: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-bottom:15px;
}


.me-hero p{
font-size:18px;
line-height:1.7;
margin:10px auto;
}



/* CATEGORY MENU */

.me-explore{

display:grid;

grid-template-columns:repeat(5,1fr);

gap:25px;

margin-bottom:60px;

}



.me-explore-card{

background:#006b54;

height:170px;

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;

transition:.3s;

}



.me-explore-card:hover{

background:#c79b2b;

transform:translateY(-5px);

}



.me-icon{

font-size:38px;

margin-bottom:10px;

}



.me-explore-card h3{

color:white;

margin:8px 0;

}



.me-explore-card p{

color:white;

font-size:14px;

line-height:1.5;

margin:5px 0;

}



.me-explore-card a{

color:white;

font-weight:bold;

text-decoration:none;

margin-top:10px;

}



/* SECTION */

.me-home h2{

color:#006b5b;

border-bottom:1px solid #ddd;

padding-bottom:10px;

margin-top:50px;

}



/* FEATURED */

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

}



/* CARD */

.me-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

margin:30px 0;

}


.me-card{

background:white;

border:1px solid #ddd;

border-radius:12px;

padding:20px;

box-shadow:0 3px 8px rgba(0,0,0,.08);

}



.me-card img{

width:100%;

height:180px;

object-fit:cover;

border-radius:10px;

}



/* RESPONSIVE */


@media(max-width:900px){

.me-explore{

grid-template-columns:repeat(2,1fr);

}


.me-featured{

grid-template-columns:1fr;

}

}



@media(max-width:600px){

.me-explore{

grid-template-columns:1fr;

}


.me-hero{

padding:25px;

}


.me-hero h1{

font-size:28px;

}

}

/* =================================
   FINAL MALIKI CATEGORY MENU
================================= */


.me-explore{

display:grid;

grid-template-columns:repeat(5,1fr);

gap:25px;

margin:40px 0;

width:100%;

}



.me-explore-card{

background:#006b54;

border-radius:15px;

height:180px;

padding:20px;

box-sizing:border-box;

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

text-align:center;

color:white;

transition:.3s;

}



.me-explore-card:hover{

background:#c79b2b;

transform:translateY(-5px);

}



.me-explore-card h3{

color:white;

margin:10px 0;

}



.me-explore-card p{

color:white;

font-size:14px;

line-height:1.5;

}



.me-icon{

font-size:38px;

margin-bottom:10px;

}



.me-link{

margin-top:12px;

}



.me-link a{

background:#c79b2b;

color:white;

padding:6px 14px;

border-radius:5px;

font-weight:bold;

text-decoration:none;

font-size:14px;

}