MediaWiki:Common.css: Perbedaan antara revisi
Tampilan
ADMIN-ency (bicara | kontrib) Tidak ada ringkasan suntingan |
ADMIN-ency (bicara | kontrib) Tidak ada ringkasan suntingan |
||
| Baris 1: | Baris 1: | ||
/* ===================================== | /* ===================================== | ||
MALIKI ENCYCLOPEDIA | MALIKI ENCYCLOPEDIA | ||
Common.css FINAL CLEAN | Common.css FINAL CLEAN v6.0 | ||
===================================== */ | ===================================== */ | ||
| Baris 48: | Baris 48: | ||
HERO | HERO | ||
========================= */ | ========================= */ | ||
.me-hero{ | .me-hero{ | ||
| Baris 64: | Baris 65: | ||
} | } | ||
| Baris 75: | Baris 75: | ||
color:#006b5b; | color:#006b5b; | ||
margin | margin:0 0 15px; | ||
} | } | ||
| Baris 92: | Baris 91: | ||
/* ===================================== | /* ===================================== | ||
JELAJAH PENGETAHUAN | |||
===================================== */ | ===================================== */ | ||
.me-explore{ | .me-explore{ | ||
| Baris 115: | Baris 112: | ||
.me-item{ | .me-item{ | ||
| Baris 128: | Baris 123: | ||
/* | /* gambar */ | ||
.me-explore-card{ | .me-explore-card{ | ||
| Baris 155: | Baris 150: | ||
.me-explore-card img{ | .me-explore-card img{ | ||
| Baris 163: | Baris 156: | ||
max-height:180px; | max-height:180px; | ||
object-fit:contain; | object-fit:contain; | ||
| Baris 195: | Baris 184: | ||
line-height:1.6; | line-height:1.6; | ||
} | } | ||
| Baris 202: | Baris 189: | ||
/* | /* link */ | ||
.me-item > a{ | .me-item > a{ | ||
| Baris 210: | Baris 197: | ||
margin-top:10px; | margin-top:10px; | ||
color:# | color:#c79b2b; | ||
font-weight:bold; | font-weight:bold; | ||
| Baris 220: | Baris 207: | ||
/* ===================================== | |||
FEATURED CONTENT | |||
MODEL WORLD HISTORY | |||
===================================== */ | |||
.featured-grid{ | |||
display:flex; | |||
flex-direction:row; | |||
justify-content:center; | |||
align-items:stretch; | |||
gap:30px; | |||
width:100%; | |||
margin:40px auto; | |||
} | |||
.featured-item{ | |||
flex:1; | |||
background:white; | background:white; | ||
| Baris 254: | Baris 243: | ||
border-radius:15px; | border-radius:15px; | ||
overflow:hidden; | |||
text-align:center; | text-align:center; | ||
min-height:420px; | |||
} | } | ||
| Baris 262: | Baris 253: | ||
. | /* gambar */ | ||
.featured-image{ | |||
height:180px; | |||
background:#f8f6ef; | |||
display:flex; | |||
justify-content:center; | |||
align-items:center; | |||
} | |||
.featured-image img{ | |||
max-width:90%; | |||
max-height:150px; | |||
object-fit:contain; | |||
} | |||
/* judul */ | |||
.featured-item h3{ | |||
color:#006b54; | |||
font-size:22px; | |||
margin:20px 10px 12px; | |||
} | |||
/* deskripsi otomatis */ | |||
.featured-item p{ | |||
font-size:14px; | |||
line-height:1.6; | |||
max-width:260px; | |||
margin:0 auto; | |||
} | |||
/* tombol */ | |||
.featured-item a{ | |||
display:block; | |||
margin-top:25px; | |||
color:#c79b2b; | |||
font-weight:bold; | |||
text-decoration:none; | |||
} | } | ||
/* ===================================== | /* ===================================== | ||
RESPONSIVE | |||
===================================== */ | ===================================== */ | ||
@media(max-width:1000px){ | |||
.me-explore{ | |||
flex-wrap:wrap; | |||
} | |||
.featured-grid{ | |||
flex-wrap:wrap; | |||
} | } | ||
| Baris 361: | Baris 355: | ||
.featured-item{ | |||
flex:1 1 | flex:1 1 45%; | ||
} | |||
} | } | ||
| Baris 383: | Baris 366: | ||
@media(max-width:700px){ | |||
.me-explore{ | |||
flex-direction:column; | |||
align-items:center; | align-items:center; | ||
| Baris 399: | Baris 379: | ||
.featured-grid{ | |||
flex-direction:column; | |||
} | } | ||
| Baris 411: | Baris 387: | ||
.featured-item{ | |||
width:100%; | |||
} | } | ||
| Baris 423: | Baris 395: | ||
. | .me-hero{ | ||
padding: | padding:25px; | ||
} | } | ||
| Baris 435: | Baris 403: | ||
. | .me-hero h1{ | ||
font-size:30px; | |||
font- | |||
} | } | ||
} | } | ||
Revisi per 9 September 2026 19.42
/* =====================================
MALIKI ENCYCLOPEDIA
Common.css FINAL CLEAN v6.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:0 0 15px;
}
.me-hero p{
font-size:18px;
line-height:1.7;
}
/* =====================================
JELAJAH PENGETAHUAN
===================================== */
.me-explore{
display:flex;
justify-content:center;
align-items:flex-start;
gap:30px;
flex-wrap:nowrap;
margin:40px auto;
}
.me-item{
width:300px;
text-align:center;
}
/* 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;
}
.me-explore-card img{
max-width:180px;
max-height:180px;
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;
}
/* link */
.me-item > a{
display:inline-block;
margin-top:10px;
color:#c79b2b;
font-weight:bold;
text-decoration:none;
}
/* =====================================
FEATURED CONTENT
MODEL WORLD HISTORY
===================================== */
.featured-grid{
display:flex;
flex-direction:row;
justify-content:center;
align-items:stretch;
gap:30px;
width:100%;
margin:40px auto;
}
.featured-item{
flex:1;
background:white;
border:1px solid #ddd;
border-radius:15px;
overflow:hidden;
text-align:center;
min-height:420px;
}
/* gambar */
.featured-image{
height:180px;
background:#f8f6ef;
display:flex;
justify-content:center;
align-items:center;
}
.featured-image img{
max-width:90%;
max-height:150px;
object-fit:contain;
}
/* judul */
.featured-item h3{
color:#006b54;
font-size:22px;
margin:20px 10px 12px;
}
/* deskripsi otomatis */
.featured-item p{
font-size:14px;
line-height:1.6;
max-width:260px;
margin:0 auto;
}
/* tombol */
.featured-item a{
display:block;
margin-top:25px;
color:#c79b2b;
font-weight:bold;
text-decoration:none;
}
/* =====================================
RESPONSIVE
===================================== */
@media(max-width:1000px){
.me-explore{
flex-wrap:wrap;
}
.featured-grid{
flex-wrap:wrap;
}
.featured-item{
flex:1 1 45%;
}
}
@media(max-width:700px){
.me-explore{
flex-direction:column;
align-items:center;
}
.featured-grid{
flex-direction:column;
}
.featured-item{
width:100%;
}
.me-hero{
padding:25px;
}
.me-hero h1{
font-size:30px;
}
}