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 | Common.css FINAL v8.0 | ||
World History Inspired Style | |||
===================================== */ | ===================================== */ | ||
| Baris 33: | Baris 33: | ||
/* ========================= | /* ========================= | ||
HOME | HOME | ||
========================= */ | ========================= */ | ||
.me-home{ | .me-home{ | ||
| Baris 40: | Baris 41: | ||
max-width:1200px; | max-width:1200px; | ||
margin: | margin:auto; | ||
} | } | ||
| Baris 46: | Baris 47: | ||
/* ========================= | /* ===================================== | ||
HERO | HERO SECTION | ||
========================= */ | ===================================== */ | ||
.me-hero{ | .me-hero{ | ||
background:#f8f6ef; | background:#f8f6ef; | ||
border:1px solid #ddd; | border:1px solid #ddd; | ||
| Baris 60: | Baris 60: | ||
border-radius:16px; | border-radius:16px; | ||
overflow:hidden; | |||
margin:30px | margin:30px auto 55px; | ||
text-align:center; | |||
} | } | ||
| Baris 90: | Baris 70: | ||
/* | /* gambar banner */ | ||
.me-hero-image{ | |||
. | |||
width:100%; | width:100%; | ||
| Baris 115: | Baris 80: | ||
.me-hero-image img{ | |||
width:100%; | |||
height:220px; | |||
object-fit:cover; | |||
} | } | ||
| Baris 133: | Baris 92: | ||
/* | /* konten hero */ | ||
.me-hero-content{ | |||
padding:25px 40px 35px; | |||
} | } | ||
| Baris 160: | Baris 102: | ||
.me-hero h1{ | |||
font-family:Georgia,serif; | |||
font-size:52px; | |||
font-weight:normal; | |||
color:#006b54; | |||
margin:0 auto 15px; | |||
padding-bottom:12px; | |||
border-bottom:1px solid #ccc; | |||
max-width:850px; | |||
} | } | ||
| Baris 195: | Baris 124: | ||
.me-hero .tagline{ | |||
font-size:25px; | |||
color:#24343b; | |||
margin:20px auto; | |||
} | } | ||
| Baris 214: | Baris 136: | ||
.me-hero p{ | |||
font-size:18px; | |||
line-height:1.7; | |||
max-width:850px; | |||
margin:15px auto; | |||
} | } | ||
| Baris 243: | Baris 151: | ||
/* ===================================== | /* ===================================== | ||
FEATURED CONTENT | |||
===================================== */ | ===================================== */ | ||
. | .featured-grid{ | ||
display:flex; | display:flex; | ||
| Baris 253: | Baris 161: | ||
justify-content:center; | justify-content:center; | ||
align-items:flex-start; | |||
gap:18px; | |||
margin: | margin:35px auto; | ||
} | } | ||
| Baris 263: | Baris 171: | ||
. | /* item */ | ||
.featured-item{ | |||
width:300px; | width:300px; | ||
flex:none; | |||
text-align:center; | text-align:center; | ||
| Baris 273: | Baris 185: | ||
. | /* gambar */ | ||
.featured-image{ | |||
height: | height:160px; | ||
background:# | background:#f8f6ef; | ||
border:1px solid #ddd; | border:1px solid #ddd; | ||
border-radius: | border-radius:8px; | ||
display:flex; | display:flex; | ||
| Baris 288: | Baris 202: | ||
align-items:center; | align-items:center; | ||
margin-bottom:18px; | |||
} | } | ||
| Baris 293: | Baris 209: | ||
. | .featured-image img{ | ||
max-width: | max-width:120px; | ||
max-height: | max-height:120px; | ||
object-fit:contain; | object-fit:contain; | ||
| Baris 305: | Baris 221: | ||
. | /* judul */ | ||
.featured-item h3{ | |||
color:#006b54; | color:#006b54; | ||
| Baris 311: | Baris 230: | ||
font-size:20px; | font-size:20px; | ||
margin:12px 0; | |||
} | } | ||
/* deskripsi */ | |||
.featured-item p{ | |||
max-width:250px; | |||
margin:auto; | |||
font-size:14px; | |||
line-height:1.6; | |||
} | } | ||
| Baris 353: | Baris 253: | ||
/* link */ | |||
.featured-item a{ | |||
display:inline-block; | |||
margin-top:20px; | |||
color:#c79b2b; | |||
font-weight:bold; | |||
text-decoration:none; | |||
} | } | ||
/* ===================================== | /* ===================================== | ||
RESPONSIVE | |||
===================================== */ | ===================================== */ | ||
@media(max-width:900px){ | |||
.featured-grid{ | |||
flex-wrap:wrap; | |||
} | } | ||
} | } | ||
@media(max-width:700px){ | |||
.me-hero-content{ | .me-hero-content{ | ||
padding:20px; | |||
padding: | |||
} | } | ||
| Baris 585: | Baris 303: | ||
.me-hero h1{ | .me-hero h1{ | ||
font-size:34px; | |||
font-size: | |||
} | } | ||
| Baris 601: | Baris 311: | ||
.me-hero .tagline{ | .me-hero .tagline{ | ||
font-size: | font-size:20px; | ||
} | } | ||
.featured-item{ | |||
width:100%; | |||
} | |||
} | } | ||
Revisi per 9 September 2026 20.47
/* =====================================
MALIKI ENCYCLOPEDIA
Common.css FINAL v8.0
World History Inspired Style
===================================== */
/* =========================
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 SECTION
===================================== */
.me-hero{
background:#f8f6ef;
border:1px solid #ddd;
border-radius:16px;
overflow:hidden;
margin:30px auto 55px;
text-align:center;
}
/* gambar banner */
.me-hero-image{
width:100%;
}
.me-hero-image img{
width:100%;
height:220px;
object-fit:cover;
}
/* konten hero */
.me-hero-content{
padding:25px 40px 35px;
}
.me-hero h1{
font-family:Georgia,serif;
font-size:52px;
font-weight:normal;
color:#006b54;
margin:0 auto 15px;
padding-bottom:12px;
border-bottom:1px solid #ccc;
max-width:850px;
}
.me-hero .tagline{
font-size:25px;
color:#24343b;
margin:20px auto;
}
.me-hero p{
font-size:18px;
line-height:1.7;
max-width:850px;
margin:15px auto;
}
/* =====================================
FEATURED CONTENT
===================================== */
.featured-grid{
display:flex;
justify-content:center;
align-items:flex-start;
gap:18px;
margin:35px auto;
}
/* item */
.featured-item{
width:300px;
flex:none;
text-align:center;
}
/* gambar */
.featured-image{
height:160px;
background:#f8f6ef;
border:1px solid #ddd;
border-radius:8px;
display:flex;
justify-content:center;
align-items:center;
margin-bottom:18px;
}
.featured-image img{
max-width:120px;
max-height:120px;
object-fit:contain;
}
/* judul */
.featured-item h3{
color:#006b54;
font-size:20px;
margin:12px 0;
}
/* deskripsi */
.featured-item p{
max-width:250px;
margin:auto;
font-size:14px;
line-height:1.6;
}
/* link */
.featured-item a{
display:inline-block;
margin-top:20px;
color:#c79b2b;
font-weight:bold;
text-decoration:none;
}
/* =====================================
RESPONSIVE
===================================== */
@media(max-width:900px){
.featured-grid{
flex-wrap:wrap;
}
}
@media(max-width:700px){
.me-hero-content{
padding:20px;
}
.me-hero h1{
font-size:34px;
}
.me-hero .tagline{
font-size:20px;
}
.featured-item{
width:100%;
}
}