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 v7.0
Clean World History Style
===================================== */
/* =========================
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;
}
/* =====================================
FEATURED / PENGETAHUAN PILIHAN
===================================== */
/* baris kartu */
.mw-parser-output .featured-grid{
display:flex;
justify-content:center;
align-items:flex-start;
gap:25px;
margin:40px auto;
width:100%;
}
/* kartu */
.mw-parser-output .featured-item{
width:300px;
flex:none;
text-align:center;
background:transparent;
border:none;
}
/* =========================
GAMBAR
========================= */
.mw-parser-output .featured-image{
height:150px;
background:#f8f6ef;
border:1px solid #ddd;
border-radius:10px;
display:flex;
justify-content:center;
align-items:center;
margin-bottom:18px;
}
/* ukuran 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:15px 0 10px;
}
/* =========================
DESKRIPSI
========================= */
.mw-parser-output .featured-item p{
max-width:250px;
margin:0 auto;
font-size:14px;
line-height:1.6;
}
/* =========================
LINK
========================= */
.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;
}
/* =====================================
JELAJAH PENGETAHUAN
===================================== */
.me-explore{
display:flex;
justify-content:center;
gap:25px;
flex-wrap:wrap;
margin:40px auto;
}
.me-item{
width:300px;
text-align:center;
}
.me-explore-card{
height:220px;
background:#ffffff;
border:1px solid #ddd;
border-radius:15px;
display:flex;
justify-content:center;
align-items:center;
}
.me-explore-card img{
max-width:160px;
max-height:160px;
object-fit:contain;
}
.me-item h3{
color:#006b54;
font-size:20px;
}
.me-item p{
font-size:14px;
line-height:1.6;
}
.me-item > a{
color:#c79b2b;
font-weight:bold;
}
/* =====================================
RESPONSIVE
===================================== */
@media(max-width:900px){
.featured-grid{
flex-wrap:wrap;
}
}
@media(max-width:700px){
.featured-item{
width:100%;
}
.me-hero{
padding:25px;
}
.me-hero h1{
font-size:30px;
}
}
/* =====================================
FINAL MICRO ADJUSTMENT
WORLD HISTORY STYLE
===================================== */
.mw-parser-output .featured-grid{
gap:15px;
}
.mw-parser-output .featured-image{
height:130px;
margin-bottom:10px;
}
.mw-parser-output .featured-image img{
max-width:110px;
max-height:110px;
}
.mw-parser-output .featured-item h3{
margin-top:10px;
}
.mw-parser-output .featured-item p{
max-width:230px;
}