Lompat ke isi

MediaWiki:Common.css: Perbedaan antara revisi

Dari Maliki Encyclopedia
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
Baris 1: Baris 1:
/* =====================================
/* =====================================
   MALIKI ENCYCLOPEDIA
   MALIKI ENCYCLOPEDIA
   Common.css Stable v2.0
   Common.css FINAL CLEAN v3.0
===================================== */
===================================== */




/* =========================
/* 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 */
  MALIKI HOME CONTAINER
========================= */


.me-home{
.me-home{
    max-width:1200px;
max-width:1200px;
    margin:auto;
margin:auto;
}
}






/* =========================
/* HERO */
  HERO
========================= */


.me-hero{
.me-hero{
 
background:#f8f6ef;
    background:#f8f6ef;
padding:45px;
 
border-radius:16px;
    padding:50px;
border:1px solid #ddd;
 
text-align:center;
    border-radius:15px;
margin:30px 0 50px;
 
    border:1px solid #ddd;
 
    text-align:center;
 
    margin:30px 0 45px 0;
 
}
}




.me-hero h1{
.me-hero h1{
 
font-family:Georgia,serif;
    font-family:Georgia,serif;
font-size:42px;
 
color:#006b5b;
    font-size:38px;
margin-bottom:15px;
 
    color:#006b5b;
 
    margin-bottom:15px;
 
}
}




.me-hero p{
.me-hero p{
 
font-size:18px;
    font-size:18px;
line-height:1.7;
 
margin:10px auto;
    line-height:1.7;
 
    max-width:800px;
 
    margin:10px auto;
 
}
}






/* =========================
/* CATEGORY MENU */
  EXPLORE MENU
========================= */
 


.me-explore{
.me-explore{


    display:grid;
display:grid;


    grid-template-columns:repeat(5,1fr);
grid-template-columns:repeat(5,1fr);


    gap:25px;
gap:25px;


    margin-bottom:50px;
margin-bottom:60px;


}
}
Baris 111: Baris 84:
.me-explore-card{
.me-explore-card{


    background:#006b5b;
background:#006b54;


    min-height:140px;
height:170px;


    border-radius:12px;
border-radius:15px;


    color:white;
padding:20px;


    display:flex;
box-sizing:border-box;


    flex-direction:column;
display:flex;


    justify-content:center;
flex-direction:column;


    align-items:center;
justify-content:center;


    text-align:center;
align-items:center;


    transition:.3s;
text-align:center;


}
color:white;


 
transition:.3s;
 
.me-explore-card:hover{
 
    background:#c79b2b;
 
    transform:translateY(-6px);


}
}
Baris 145: Baris 112:




.me-explore-card a{
.me-explore-card:hover{


    color:white;
background:#c79b2b;


    font-size:18px;
transform:translateY(-5px);
 
    font-weight:bold;
 
    text-decoration:none;


}
}
Baris 161: Baris 124:
.me-icon{
.me-icon{


    font-size:35px;
font-size:38px;


    margin-bottom:12px;
margin-bottom:10px;


}
}
Baris 169: Baris 132:




/* =========================
.me-explore-card h3{
  SECTION TITLE
========================= */


color:white;


.me-home h2{
margin:8px 0;
 
    color:#006b5b;
 
    border-bottom:1px solid #ddd;
 
    padding-bottom:10px;
 
    margin-top:50px;


}
}
Baris 188: Baris 142:




/* =========================
.me-explore-card p{
  CARD GRID
========================= */


color:white;


.me-grid{
font-size:14px;


    display:grid;
line-height:1.5;


    grid-template-columns:repeat(3,1fr);
margin:5px 0;
 
    gap:30px;
 
    margin:30px 0;


}
}
Baris 207: Baris 156:




/* =========================
.me-explore-card a{
  CARD
========================= */


color:white;


.me-card{
font-weight:bold;


    background:white;
text-decoration:none;


    border:1px solid #ddd;
margin-top:10px;


    border-radius:12px;
}


    padding:20px;


    box-shadow:0 3px 8px rgba(0,0,0,.08);


    transition:.3s;
/* SECTION */


}
.me-home h2{


color:#006b5b;


border-bottom:1px solid #ddd;


.me-card:hover{
padding-bottom:10px;


    transform:translateY(-5px);
margin-top:50px;
 
    box-shadow:0 8px 18px rgba(0,0,0,.15);


}
}
Baris 240: Baris 186:




.me-card img{
/* FEATURED */


    width:100%;
.me-featured{


    height:180px;
display:grid;


    object-fit:cover;
grid-template-columns:2fr 1fr;


    border-radius:10px;
gap:30px;


}
margin:40px 0;
 
 
 
.me-card a{
 
    text-decoration:none;


}
}
Baris 262: Baris 202:




/* =========================
.me-feature-main{
  FEATURED KNOWLEDGE
  (World History Style)
========================= */


background:white;


.me-featured{
border:1px solid #ddd;


    display:grid;
border-radius:15px;


    grid-template-columns:2fr 1fr;
padding:30px;


    gap:30px;
display:flex;


    margin:40px 0;
flex-direction:column;


}
align-items:center;
 
 
 
.me-feature-main{
 
    background:white;
 
    border:1px solid #ddd;
 
    border-radius:15px;
 
    padding:25px;


}
}
Baris 298: Baris 224:
.me-feature-main img{
.me-feature-main img{


    width:100%;
max-width:350px;


    max-height:420px;
height:auto;


    object-fit:cover;
border-radius:12px;
 
    border-radius:12px;


}
}
Baris 312: Baris 236:
.me-feature-side{
.me-feature-side{


    display:flex;
display:flex;


    flex-direction:column;
flex-direction:column;


    gap:20px;
gap:20px;


}
}
Baris 324: Baris 248:
.me-feature-side div{
.me-feature-side div{


    background:#f8f6ef;
background:#f8f6ef;


    border:1px solid #ddd;
border:1px solid #ddd;


    border-radius:12px;
border-radius:12px;


    padding:25px;
padding:25px;


}
}
Baris 336: Baris 260:




/* =========================
/* CARD */
  KNOWLEDGE CARD
========================= */


.me-grid{


.knowledge-card{
display:grid;


    background:white;
grid-template-columns:repeat(3,1fr);


    border:1px solid #ddd;
gap:30px;


    border-radius:12px;
margin:30px 0;


    padding:20px;
}


    margin-bottom:20px;


}
.me-card{
 
background:white;
 
border:1px solid #ddd;


border-radius:12px;


padding:20px;


.knowledge-card-title{
box-shadow:0 3px 8px rgba(0,0,0,.08);


    font-size:22px;
}


    font-weight:bold;


    color:#00695c;


}
.me-card img{


width:100%;


height:180px;


.knowledge-card-description{
object-fit:cover;


    line-height:1.7;
border-radius:10px;


}
}
Baris 377: Baris 305:




/* =========================
/* RESPONSIVE */
  RESPONSIVE
========================= */




@media(max-width:900px){
@media(max-width:900px){


.me-explore{
.me-explore{
grid-template-columns:repeat(2,1fr);
}
.me-grid{


grid-template-columns:repeat(2,1fr);
grid-template-columns:repeat(2,1fr);
Baris 404: Baris 322:


}
}


}
}
Baris 411: Baris 328:


@media(max-width:600px){
@media(max-width:600px){


.me-explore{
.me-explore{
Baris 420: Baris 336:




.me-grid{
.me-hero{


grid-template-columns:1fr;
}
.me-hero{
padding:25px;
padding:25px;


Baris 434: Baris 344:


.me-hero h1{
.me-hero h1{
font-size:28px;
font-size:28px;


}
}
}
.me-explore-card h3{
color:white;
margin:10px 0;
}
.me-explore-card p{
color:white;
font-size:15px;
line-height:1.5;
}
.me-explore-card a{
margin-top:10px;
color:#ffffff;
font-weight:bold;
}
.me-feature-main{
display:flex;
flex-direction:column;
align-items:flex-start;
}
.me-feature-main img{
max-width:350px;
margin:auto;
}
/* =================================
MALIKI HOMEPAGE FINAL OVERRIDE
================================= */
.me-home{
max-width:1200px;
margin:auto;
}
/* HERO */
.me-hero{
background:#f8f6ef;
padding:45px;
border-radius:16px;
border:1px solid #ddd;
text-align:center;
margin-bottom:50px;
}
.me-hero h1{
font-family:Georgia,serif;
font-size:42px;
color:#006b5b;
}
.me-hero p{
font-size:18px;
line-height:1.7;
}
/* ===============================
  MALIKI CATEGORY MENU FINAL
================================ */
.me-explore{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:25px;
margin:40px 0;
}
.me-explore-card{
background:#006b54;
border-radius:15px;
height:170px;
padding:20px;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
color:white;
}
.me-explore-card h3{
color:white;
margin:10px 0;
}
.me-explore-card p{
color:white;
font-size:14px;
}
.me-explore-card a{
color:white;
font-weight:bold;
}
.me-icon{
font-size:38px;


}
}

Revisi per 9 September 2026 16.26

/* =====================================
   MALIKI ENCYCLOPEDIA
   Common.css FINAL CLEAN v3.0
===================================== */


/* GLOBAL */

body{
background:#f5f8f7;
color:#24343b;
}


.firstHeading{
color:#004f40;
}


a{
color:#1f5f8b;
}


a:hover{
color:#006b54;
}



/* HOME */

.me-home{
max-width:1200px;
margin:auto;
}



/* HERO */

.me-hero{
background:#f8f6ef;
padding:45px;
border-radius:16px;
border:1px solid #ddd;
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;
margin:10px auto;
}



/* CATEGORY MENU */

.me-explore{

display:grid;

grid-template-columns:repeat(5,1fr);

gap:25px;

margin-bottom:60px;

}



.me-explore-card{

background:#006b54;

height:170px;

border-radius:15px;

padding:20px;

box-sizing:border-box;

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

text-align:center;

color:white;

transition:.3s;

}



.me-explore-card:hover{

background:#c79b2b;

transform:translateY(-5px);

}



.me-icon{

font-size:38px;

margin-bottom:10px;

}



.me-explore-card h3{

color:white;

margin:8px 0;

}



.me-explore-card p{

color:white;

font-size:14px;

line-height:1.5;

margin:5px 0;

}



.me-explore-card a{

color:white;

font-weight:bold;

text-decoration:none;

margin-top:10px;

}



/* SECTION */

.me-home h2{

color:#006b5b;

border-bottom:1px solid #ddd;

padding-bottom:10px;

margin-top:50px;

}



/* FEATURED */

.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;

display:flex;

flex-direction:column;

align-items:center;

}



.me-feature-main img{

max-width:350px;

height:auto;

border-radius:12px;

}



.me-feature-side{

display:flex;

flex-direction:column;

gap:20px;

}



.me-feature-side div{

background:#f8f6ef;

border:1px solid #ddd;

border-radius:12px;

padding:25px;

}



/* CARD */

.me-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

margin:30px 0;

}


.me-card{

background:white;

border:1px solid #ddd;

border-radius:12px;

padding:20px;

box-shadow:0 3px 8px rgba(0,0,0,.08);

}



.me-card img{

width:100%;

height:180px;

object-fit:cover;

border-radius:10px;

}



/* RESPONSIVE */


@media(max-width:900px){

.me-explore{

grid-template-columns:repeat(2,1fr);

}


.me-featured{

grid-template-columns:1fr;

}

}



@media(max-width:600px){

.me-explore{

grid-template-columns:1fr;

}


.me-hero{

padding:25px;

}


.me-hero h1{

font-size:28px;

}

}