MediaWiki:Common.css: Perbedaan antara revisi
Tampilan
ADMIN-ency (bicara | kontrib) Tidak ada ringkasan suntingan |
ADMIN-ency (bicara | kontrib) Tidak ada ringkasan suntingan |
||
| Baris 96: | Baris 96: | ||
/* ================================= | /* ================================= | ||
MALIKI CATEGORY GRID FINAL | |||
MALIKI | |||
================================= */ | ================================= */ | ||
.me-explore{ | |||
display:grid; | |||
grid-template-columns:repeat(5,180px); | |||
justify-content:center; | |||
gap:35px; | |||
margin:50px auto; | |||
} | } | ||
| Baris 117: | Baris 116: | ||
/* | /* wrapper setiap kategori */ | ||
.me-item{ | |||
text-align:center; | |||
} | } | ||
| Baris 154: | Baris 126: | ||
/* 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; | text-align:center; | ||
| Baris 502: | Baris 158: | ||
/* gambar */ | |||
.me-explore-card img{ | .me-explore-card img{ | ||
width: | 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: | margin-top:12px; | ||
background:#c79b2b; | background:#c79b2b; | ||
| Baris 562: | Baris 216: | ||
color:white; | color:white; | ||
padding: | padding:7px 15px; | ||
border-radius:5px; | border-radius:5px; | ||
font-weight:bold; | font-weight:bold; | ||
text-decoration:none; | |||
} | } | ||
.me-item>a:hover{ | |||
background:#006b54; | |||
} | } | ||
| Baris 602: | Baris 236: | ||
/* responsive */ | |||
| Baris 633: | Baris 255: | ||
.me-explore{ | .me-explore{ | ||
grid-template-columns: | 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;
}
}