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 v10.0 | ||
World History Inspired | World History Inspired Layout | ||
===================================== */ | ===================================== */ | ||
/* ========================= | /* ===================================== | ||
GLOBAL | GLOBAL | ||
========================= */ | ===================================== */ | ||
body{ | body{ | ||
background:#f5f8f7; | background:#f5f8f7; | ||
color:#24343b; | color:#24343b; | ||
} | } | ||
.firstHeading{ | .firstHeading{ | ||
color:#004f40; | color:#004f40; | ||
} | } | ||
a{ | a{ | ||
color:#1f5f8b; | color:#1f5f8b; | ||
} | } | ||
a:hover{ | a:hover{ | ||
color:#006b54; | color:#006b54; | ||
} | } | ||
/* ========================= | /* ===================================== | ||
HOME CONTAINER | HOME CONTAINER | ||
========================= */ | ===================================== */ | ||
.me-home{ | .me-home{ | ||
| Baris 48: | Baris 59: | ||
/* ===================================== | /* ===================================== | ||
HERO BANNER | HERO BANNER | ||
World History Style | |||
===================================== */ | ===================================== */ | ||
.me-hero{ | .me-hero{ | ||
width:100%; | |||
background:#f8f6ef; | background:#f8f6ef; | ||
| Baris 57: | Baris 71: | ||
border:1px solid #ddd; | border:1px solid #ddd; | ||
border-radius: | border-radius:12px; | ||
overflow:hidden; | overflow:hidden; | ||
margin: | margin:35px auto 60px; | ||
text-align:center; | text-align:center; | ||
| Baris 69: | Baris 83: | ||
/* banner | /* banner image */ | ||
.me-hero-image{ | .me-hero-image{ | ||
| Baris 96: | Baris 110: | ||
/* | /* hero text area */ | ||
.me-hero-content{ | .me-hero-content{ | ||
| Baris 106: | Baris 120: | ||
/* | /* main title */ | ||
.me-hero h1{ | .me-hero h1{ | ||
| Baris 112: | Baris 126: | ||
font-family:Georgia,serif; | font-family:Georgia,serif; | ||
font-size: | font-size:58px; | ||
font-weight:normal; | font-weight:normal; | ||
line-height:1.2; | |||
color:#006b54; | color:#006b54; | ||
margin:0 auto 20px; | margin:0 auto 20px; | ||
| Baris 132: | Baris 146: | ||
/* | /* subtitle */ | ||
.me-hero .tagline{ | .me-hero .tagline{ | ||
font-size: | font-size:26px; | ||
color:#24343b; | color:#24343b; | ||
| Baris 146: | Baris 160: | ||
/* | /* description */ | ||
.me-hero-content p{ | |||
max-width:900px; | |||
margin:15px auto; | |||
font-size:18px; | font-size:18px; | ||
line-height:1.7; | line-height:1.7; | ||
} | } | ||
| Baris 164: | Baris 178: | ||
/* ===================================== | /* ===================================== | ||
FEATURED CONTENT | FEATURED CONTENT | ||
Pengetahuan Pilihan | |||
===================================== */ | ===================================== */ | ||
| Baris 175: | Baris 190: | ||
align-items:flex-start; | align-items:flex-start; | ||
gap: | gap:20px; | ||
width: | max-width:1000px; | ||
margin:40px auto; | margin:40px auto; | ||
| Baris 185: | Baris 200: | ||
/* | /* item */ | ||
.mw-parser-output .featured-item{ | .mw-parser-output .featured-item{ | ||
| Baris 199: | Baris 214: | ||
/* | /* image box only */ | ||
.mw-parser-output .featured-image{ | .mw-parser-output .featured-image{ | ||
| Baris 217: | Baris 232: | ||
align-items:center; | align-items:center; | ||
margin-bottom: | margin-bottom:18px; | ||
} | } | ||
| Baris 223: | Baris 238: | ||
/* | /* image */ | ||
.mw-parser-output .featured-image img{ | .mw-parser-output .featured-image img{ | ||
| Baris 241: | Baris 256: | ||
/* | /* title */ | ||
.mw-parser-output .featured-item h3{ | .mw-parser-output .featured-item h3{ | ||
| Baris 247: | Baris 262: | ||
color:#006b54; | color:#006b54; | ||
font-size: | font-size:21px; | ||
margin: | font-weight:bold; | ||
margin:15px 0; | |||
} | } | ||
| Baris 255: | Baris 272: | ||
/* | /* description */ | ||
.mw-parser-output .featured-item p{ | .mw-parser-output .featured-item p{ | ||
max-width: | max-width:250px; | ||
margin:0 auto; | margin:0 auto; | ||
| Baris 271: | Baris 288: | ||
/* | /* explore button */ | ||
.mw-parser-output .featured-item a{ | .mw-parser-output .featured-item a{ | ||
| Baris 277: | Baris 294: | ||
display:inline-block; | display:inline-block; | ||
margin-top: | margin-top:22px; | ||
color:#c79b2b; | color:#c79b2b; | ||
| Baris 291: | Baris 308: | ||
color:#006b54; | color:#006b54; | ||
} | |||
/* ===================================== | |||
SECTION TITLE | |||
===================================== */ | |||
.mw-parser-output h2{ | |||
margin-top:45px; | |||
border-bottom:1px solid #ccc; | |||
padding-bottom:8px; | |||
} | } | ||
| Baris 303: | Baris 337: | ||
@media(max-width:900px){ | @media(max-width:900px){ | ||
.featured-grid{ | |||
.mw-parser-output .featured-grid{ | |||
flex-wrap:wrap; | flex-wrap:wrap; | ||
} | } | ||
} | } | ||
| Baris 322: | Baris 358: | ||
} | } | ||
| Baris 329: | Baris 366: | ||
} | } | ||
| Baris 336: | Baris 374: | ||
} | } | ||
| Baris 345: | Baris 384: | ||
.featured-item{ | |||
.mw-parser-output .featured-item{ | |||
width:100%; | width:100%; | ||
Revisi per 9 September 2026 21.04
/* =====================================
MALIKI ENCYCLOPEDIA
Common.css FINAL v10.0
World History Inspired Layout
===================================== */
/* =====================================
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
World History Style
===================================== */
.me-hero{
width:100%;
background:#f8f6ef;
border:1px solid #ddd;
border-radius:12px;
overflow:hidden;
margin:35px auto 60px;
text-align:center;
}
/* banner image */
.me-hero-image{
width:100%;
height:220px;
overflow:hidden;
}
.me-hero-image img{
width:100%;
height:220px;
object-fit:cover;
display:block;
}
/* hero text area */
.me-hero-content{
padding:35px 40px 45px;
}
/* main title */
.me-hero h1{
font-family:Georgia,serif;
font-size:58px;
font-weight:normal;
line-height:1.2;
color:#006b54;
margin:0 auto 20px;
padding-bottom:15px;
border-bottom:1px solid #ccc;
max-width:900px;
}
/* subtitle */
.me-hero .tagline{
font-size:26px;
color:#24343b;
margin:25px auto;
}
/* description */
.me-hero-content p{
max-width:900px;
margin:15px auto;
font-size:18px;
line-height:1.7;
}
/* =====================================
FEATURED CONTENT
Pengetahuan Pilihan
===================================== */
.mw-parser-output .featured-grid{
display:flex;
justify-content:center;
align-items:flex-start;
gap:20px;
max-width:1000px;
margin:40px auto;
}
/* item */
.mw-parser-output .featured-item{
width:300px;
flex:none;
text-align:center;
}
/* image box only */
.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:18px;
}
/* image */
.mw-parser-output .featured-image img{
max-width:120px;
max-height:120px;
width:auto;
height:auto;
object-fit:contain;
}
/* title */
.mw-parser-output .featured-item h3{
color:#006b54;
font-size:21px;
font-weight:bold;
margin:15px 0;
}
/* description */
.mw-parser-output .featured-item p{
max-width:250px;
margin:0 auto;
font-size:14px;
line-height:1.6;
}
/* explore button */
.mw-parser-output .featured-item a{
display:inline-block;
margin-top:22px;
color:#c79b2b;
font-weight:bold;
text-decoration:none;
}
.mw-parser-output .featured-item a:hover{
color:#006b54;
}
/* =====================================
SECTION TITLE
===================================== */
.mw-parser-output h2{
margin-top:45px;
border-bottom:1px solid #ccc;
padding-bottom:8px;
}
/* =====================================
RESPONSIVE
===================================== */
@media(max-width:900px){
.mw-parser-output .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;
}
.mw-parser-output .featured-item{
width:100%;
}
}