MediaWiki:Common.css: Perbedaan antara revisi
Tampilan
ADMIN-ency (bicara | kontrib) Tidak ada ringkasan suntingan |
ADMIN-ency (bicara | kontrib) Tidak ada ringkasan suntingan |
||
| Baris 335: | Baris 335: | ||
/* ===================================== | /* ===================================== | ||
MALIKI FEATURED | MALIKI FEATURED CONTENT FINAL | ||
===================================== */ | ===================================== */ | ||
.mw-parser-output .featured-grid{ | .mw-parser-output .featured-grid{ | ||
| Baris 344: | Baris 345: | ||
flex-direction:row !important; | flex-direction:row !important; | ||
justify-content:space-between !important; | |||
align-items:flex-start; | |||
flex-wrap:nowrap !important; | |||
width:100%; | width:100%; | ||
margin: | gap:20px; | ||
margin:30px 0; | |||
} | } | ||
.mw-parser-output .featured-item{ | .mw-parser-output .featured-item{ | ||
width: | flex:1 1 0; | ||
max-width:none; | |||
background:white; | background:white; | ||
| Baris 365: | Baris 371: | ||
border:1px solid #ddd; | border:1px solid #ddd; | ||
border-radius: | border-radius:12px; | ||
overflow:hidden; | |||
text-align:center; | text-align:center; | ||
box-sizing:border-box; | box-sizing:border-box; | ||
| Baris 380: | Baris 386: | ||
height:180px; | height:180px; | ||
background:#f8f6ef; | |||
display:flex; | display:flex; | ||
| Baris 393: | Baris 401: | ||
.mw-parser-output .featured-image img{ | .mw-parser-output .featured-image img{ | ||
max-height: | max-height:150px; | ||
max-width: | max-width:90%; | ||
object-fit:contain; | |||
} | } | ||
| Baris 406: | Baris 416: | ||
font-size:20px; | font-size:20px; | ||
margin:20px 10px 10px; | |||
} | } | ||
| Baris 412: | Baris 424: | ||
.mw-parser-output .featured-item p{ | .mw-parser-output .featured-item p{ | ||
padding:0 20px; | |||
font-size:14px; | font-size:14px; | ||
| Baris 422: | Baris 436: | ||
.mw-parser-output .featured-item a{ | .mw-parser-output .featured-item a{ | ||
display:block; | |||
margin:20px; | |||
color:#c79b2b; | color:#c79b2b; | ||
| Baris 431: | Baris 449: | ||
@media(max-width: | @media(max-width:800px){ | ||
.mw-parser-output .featured-grid{ | .mw-parser-output .featured-grid{ | ||
flex-wrap:wrap !important; | flex-wrap:wrap !important; | ||
} | |||
.mw-parser-output .featured-item{ | |||
flex:1 1 100%; | |||
} | } | ||
} | } | ||
Revisi per 9 September 2026 19.32
/* =====================================
MALIKI ENCYCLOPEDIA
Common.css FINAL CLEAN v5.0
===================================== */
/* =========================
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-bottom:15px;
}
.me-hero p{
font-size:18px;
line-height:1.7;
}
/* =====================================
KNOWLEDGE CARD AREA
===================================== */
/* container kartu */
.me-explore{
display:flex;
justify-content:center;
align-items:flex-start;
gap:30px;
flex-wrap:nowrap;
margin:40px auto;
}
/* setiap item */
.me-item{
width:300px;
text-align:center;
}
/* kotak gambar */
.me-explore-card{
width:300px;
height:220px;
background:#ffffff;
border:1px solid #ddd;
border-radius:15px;
display:flex;
justify-content:center;
align-items:center;
padding:15px;
box-sizing:border-box;
}
/* gambar */
.me-explore-card img{
max-width:180px;
max-height:180px;
width:auto;
height:auto;
object-fit:contain;
}
/* judul */
.me-item h3{
color:#006b54;
font-size:20px;
margin:15px 0 8px;
}
/* deskripsi */
.me-item p{
font-size:14px;
line-height:1.6;
margin:8px auto;
}
/* tombol */
.me-item > a{
display:inline-block;
margin-top:10px;
color:#006b54;
font-weight:bold;
text-decoration:none;
}
.me-item > a:hover{
color:#b8860b;
}
/* =========================
FEATURED SECTION
========================= */
.me-featured{
display:grid;
grid-template-columns:2fr 1fr;
gap:30px;
margin:40px 0;
}
.me-feature-main{
background:white;
border:1px solid #ddd;
border-radius:15px;
padding:30px;
text-align:center;
}
.me-feature-main img{
max-width:350px;
height:auto;
}
/* =========================
RESPONSIVE
========================= */
@media(max-width:1000px){
.me-explore{
flex-wrap:wrap;
}
.me-item{
width:280px;
}
}
@media(max-width:700px){
.me-explore{
flex-direction:column;
align-items:center;
}
.me-item{
width:100%;
max-width:320px;
}
.me-hero{
padding:25px;
}
.me-hero h1{
font-size:30px;
}
}
/* =====================================
MALIKI FEATURED CONTENT FINAL
===================================== */
.mw-parser-output .featured-grid{
display:flex !important;
flex-direction:row !important;
justify-content:space-between !important;
align-items:flex-start;
flex-wrap:nowrap !important;
width:100%;
gap:20px;
margin:30px 0;
}
.mw-parser-output .featured-item{
flex:1 1 0;
max-width:none;
background:white;
border:1px solid #ddd;
border-radius:12px;
overflow:hidden;
text-align:center;
box-sizing:border-box;
}
.mw-parser-output .featured-image{
height:180px;
background:#f8f6ef;
display:flex;
justify-content:center;
align-items:center;
}
.mw-parser-output .featured-image img{
max-height:150px;
max-width:90%;
object-fit:contain;
}
.mw-parser-output .featured-item h3{
color:#006b54;
font-size:20px;
margin:20px 10px 10px;
}
.mw-parser-output .featured-item p{
padding:0 20px;
font-size:14px;
line-height:1.6;
}
.mw-parser-output .featured-item a{
display:block;
margin:20px;
color:#c79b2b;
font-weight:bold;
}
@media(max-width:800px){
.mw-parser-output .featured-grid{
flex-wrap:wrap !important;
}
.mw-parser-output .featured-item{
flex:1 1 100%;
}
}