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 v11.0
World History Inspired
===================================== */
/* =========================
GLOBAL
========================= */
body{
background:#ffffff;
color:#24343b;
}
.firstHeading{
color:#004f40;
}
a{
color:#1f5f8b;
}
a:hover{
color:#006b54;
}
/* =========================
HOME CONTAINER
========================= */
.me-home{
max-width:1200px;
margin:0 auto;
}
/* =====================================
HERO SECTION
===================================== */
.me-hero{
background:#f8f6ef;
border:1px solid #ddd;
border-radius:12px;
overflow:hidden;
margin:25px auto 45px;
text-align:center;
}
/* =========================
HERO 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
========================= */
.me-hero-content{
padding:20px 50px 35px;
}
/* Nama Ensiklopedia */
.me-hero h1{
font-family:Georgia,serif;
font-size:58px;
font-weight:400;
color:#006b54;
line-height:1.15;
margin:0 auto 10px;
padding-bottom:10px;
border-bottom:1px solid #ccc;
max-width:850px;
}
/* tagline */
.me-hero .tagline{
font-size:25px;
color:#24343b;
margin:18px auto 12px;
}
/* deskripsi */
.me-hero-content p{
font-size:18px;
line-height:1.6;
max-width:850px;
margin:10px auto;
}
/* =====================================
FEATURED / PENGETAHUAN PILIHAN
===================================== */
.mw-parser-output .featured-grid{
display:flex !important;
justify-content:center;
align-items:flex-start;
gap:18px;
margin:30px auto;
}
/* item */
.mw-parser-output .featured-item{
width:300px;
flex:none;
text-align:center;
background:transparent;
}
/* =========================
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:15px;
}
/* image */
.mw-parser-output .featured-image img{
max-width:120px;
max-height:120px;
object-fit:contain;
}
/* title */
.mw-parser-output .featured-item h3{
font-size:20px;
color:#006b54;
margin:10px 0 10px;
}
/* description */
.mw-parser-output .featured-item p{
max-width:250px;
margin:0 auto;
font-size:14px;
line-height:1.5;
}
/* link */
.mw-parser-output .featured-item a{
display:inline-block;
margin-top:18px;
color:#c79b2b;
font-weight:bold;
text-decoration:none;
}
/* =====================================
JELAJAH PENGETAHUAN
===================================== */
.me-explore{
display:flex;
justify-content:center;
gap:18px;
margin:35px auto;
}
.me-item{
width:300px;
text-align:center;
}
.me-explore-card{
height:150px;
background:#f8f6ef;
border:1px solid #ddd;
border-radius:8px;
display:flex;
justify-content:center;
align-items:center;
}
.me-explore-card img{
max-width:120px;
max-height:120px;
object-fit:contain;
}
.me-item h3{
color:#006b54;
}
/* =====================================
RESPONSIVE
===================================== */
@media(max-width:900px){
.mw-parser-output .featured-grid,
.me-explore{
flex-wrap:wrap;
}
}
@media(max-width:700px){
.me-hero-image,
.me-hero-image img{
height:150px;
}
.me-hero-content{
padding:20px;
}
.me-hero h1{
font-size:38px;
}
.me-hero .tagline{
font-size:20px;
}
.mw-parser-output .featured-item,
.me-item{
width:100%;
}
}