MediaWiki:Common.css
Tampilan
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 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;
}
}