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 v9.0 | ||
World History Inspired | World History Inspired | ||
===================================== */ | ===================================== */ | ||
| Baris 33: | Baris 33: | ||
/* ========================= | /* ========================= | ||
HOME | HOME CONTAINER | ||
========================= */ | ========================= */ | ||
.me-home{ | .me-home{ | ||
| Baris 41: | Baris 40: | ||
max-width:1200px; | max-width:1200px; | ||
margin:auto; | margin:0 auto; | ||
} | } | ||
| Baris 48: | Baris 47: | ||
/* ===================================== | /* ===================================== | ||
HERO | HERO BANNER | ||
===================================== */ | ===================================== */ | ||
| Baris 70: | Baris 69: | ||
/* gambar | /* banner gambar */ | ||
.me-hero-image{ | .me-hero-image{ | ||
width:100%; | width:100%; | ||
height:220px; | |||
overflow:hidden; | |||
} | } | ||
| Baris 87: | Baris 89: | ||
object-fit:cover; | object-fit:cover; | ||
display:block; | |||
} | } | ||
| Baris 92: | Baris 96: | ||
/* | /* teks hero */ | ||
.me-hero-content{ | .me-hero-content{ | ||
padding: | padding:35px 40px 45px; | ||
} | } | ||
/* judul */ | |||
.me-hero h1{ | .me-hero h1{ | ||
| Baris 106: | Baris 112: | ||
font-family:Georgia,serif; | font-family:Georgia,serif; | ||
font-size: | font-size:56px; | ||
font-weight:normal; | font-weight:normal; | ||
| Baris 112: | Baris 118: | ||
color:#006b54; | color:#006b54; | ||
line-height:1.2; | |||
padding-bottom: | margin:0 auto 20px; | ||
padding-bottom:15px; | |||
border-bottom:1px solid #ccc; | border-bottom:1px solid #ccc; | ||
max-width: | max-width:900px; | ||
} | } | ||
/* tagline */ | |||
.me-hero .tagline{ | .me-hero .tagline{ | ||
| Baris 130: | Baris 140: | ||
color:#24343b; | color:#24343b; | ||
margin: | margin:25px auto; | ||
} | } | ||
/* deskripsi */ | |||
.me-hero p{ | .me-hero p{ | ||
| Baris 142: | Baris 154: | ||
line-height:1.7; | line-height:1.7; | ||
max-width: | max-width:900px; | ||
margin:15px auto; | margin:15px auto; | ||
| Baris 155: | Baris 167: | ||
.featured-grid{ | .mw-parser-output .featured-grid{ | ||
display:flex; | display:flex; | ||
| Baris 163: | Baris 175: | ||
align-items:flex-start; | align-items:flex-start; | ||
gap: | gap:15px; | ||
width:100%; | |||
margin: | margin:40px auto; | ||
} | } | ||
| Baris 171: | Baris 185: | ||
/* | /* kartu */ | ||
.featured-item{ | .mw-parser-output .featured-item{ | ||
width:300px; | width:300px; | ||
| Baris 185: | Baris 199: | ||
/* gambar */ | /* gambar saja */ | ||
.featured-image{ | .mw-parser-output .featured-image{ | ||
height: | height:150px; | ||
background:#f8f6ef; | background:#f8f6ef; | ||
| Baris 203: | Baris 217: | ||
align-items:center; | align-items:center; | ||
margin-bottom: | margin-bottom:15px; | ||
} | } | ||
| Baris 209: | Baris 223: | ||
.featured-image img{ | /* gambar */ | ||
.mw-parser-output .featured-image img{ | |||
max-width:120px; | max-width:120px; | ||
max-height:120px; | max-height:120px; | ||
width:auto; | |||
height:auto; | |||
object-fit:contain; | object-fit:contain; | ||
| Baris 223: | Baris 243: | ||
/* judul */ | /* judul */ | ||
.mw-parser-output .featured-item h3{ | |||
.featured-item h3{ | |||
color:#006b54; | color:#006b54; | ||
| Baris 236: | Baris 255: | ||
/* deskripsi */ | /* deskripsi otomatis */ | ||
.mw-parser-output .featured-item p{ | |||
max-width:240px; | |||
margin:0 auto; | |||
margin:auto; | |||
font-size:14px; | font-size:14px; | ||
| Baris 253: | Baris 271: | ||
/* | /* tombol */ | ||
.mw-parser-output .featured-item a{ | |||
.featured-item a{ | |||
display:inline-block; | display:inline-block; | ||
| Baris 267: | Baris 284: | ||
text-decoration:none; | text-decoration:none; | ||
} | |||
.mw-parser-output .featured-item a:hover{ | |||
color:#006b54; | |||
} | } | ||
| Baris 279: | Baris 303: | ||
@media(max-width:900px){ | @media(max-width:900px){ | ||
.featured-grid{ | |||
flex-wrap:wrap; | |||
} | |||
} | } | ||
@media(max-width:700px){ | |||
.me-hero-image, | |||
.me-hero-image img{ | |||
height:160px; | |||
} | |||
.me-hero-content{ | |||
padding:25px 20px; | |||
} | |||
.me-hero h1{ | |||
font-size:38px; | |||
} | |||
.me-hero .tagline{ | .me-hero .tagline{ | ||
font-size:20px; | |||
} | } | ||
.featured-item{ | .featured-item{ | ||
width:100%; | |||
} | } | ||
} | } | ||
Revisi per 9 September 2026 20.57
/* =====================================
MALIKI ENCYCLOPEDIA
Common.css FINAL v9.0
World History Inspired
===================================== */
/* =========================
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 BANNER
===================================== */
.me-hero{
background:#f8f6ef;
border:1px solid #ddd;
border-radius:16px;
overflow:hidden;
margin:30px auto 55px;
text-align:center;
}
/* banner gambar */
.me-hero-image{
width:100%;
height:220px;
overflow:hidden;
}
.me-hero-image img{
width:100%;
height:220px;
object-fit:cover;
display:block;
}
/* teks hero */
.me-hero-content{
padding:35px 40px 45px;
}
/* judul */
.me-hero h1{
font-family:Georgia,serif;
font-size:56px;
font-weight:normal;
color:#006b54;
line-height:1.2;
margin:0 auto 20px;
padding-bottom:15px;
border-bottom:1px solid #ccc;
max-width:900px;
}
/* tagline */
.me-hero .tagline{
font-size:25px;
color:#24343b;
margin:25px auto;
}
/* deskripsi */
.me-hero p{
font-size:18px;
line-height:1.7;
max-width:900px;
margin:15px auto;
}
/* =====================================
FEATURED CONTENT
===================================== */
.mw-parser-output .featured-grid{
display:flex;
justify-content:center;
align-items:flex-start;
gap:15px;
width:100%;
margin:40px auto;
}
/* kartu */
.mw-parser-output .featured-item{
width:300px;
flex:none;
text-align:center;
}
/* gambar saja */
.mw-parser-output .featured-image{
height:150px;
background:#f8f6ef;
border:1px solid #ddd;
border-radius:8px;
display:flex;
justify-content:center;
align-items:center;
margin-bottom:15px;
}
/* gambar */
.mw-parser-output .featured-image img{
max-width:120px;
max-height:120px;
width:auto;
height:auto;
object-fit:contain;
}
/* judul */
.mw-parser-output .featured-item h3{
color:#006b54;
font-size:20px;
margin:12px 0;
}
/* deskripsi otomatis */
.mw-parser-output .featured-item p{
max-width:240px;
margin:0 auto;
font-size:14px;
line-height:1.6;
}
/* tombol */
.mw-parser-output .featured-item a{
display:inline-block;
margin-top:20px;
color:#c79b2b;
font-weight:bold;
text-decoration:none;
}
.mw-parser-output .featured-item a:hover{
color:#006b54;
}
/* =====================================
RESPONSIVE
===================================== */
@media(max-width:900px){
.featured-grid{
flex-wrap:wrap;
}
}
@media(max-width:700px){
.me-hero-image,
.me-hero-image img{
height:160px;
}
.me-hero-content{
padding:25px 20px;
}
.me-hero h1{
font-size:38px;
}
.me-hero .tagline{
font-size:20px;
}
.featured-item{
width:100%;
}
}