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 FINAL CLEAN v4.0
   Common.css FINAL SIMPLE
===================================== */
===================================== */




/* =========================
/* 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{
/* HOME */
    color:#006b54;
}
 
 
 
/* =========================
  HOME CONTAINER
========================= */
 
 
.me-home{
 
    max-width:1200px;
 
    margin:0 auto;


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




/* HERO */


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


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


 
.maliki-hero p {
 
     font-size: 17px;
.me-hero p{
     line-height: 1.7;
 
     margin: 10px auto;
     font-size:18px;
 
     line-height:1.7;
 
     margin:10px auto;
 
}
}




/* =====================================
  KATEGORI UTAMA
===================================== */


/* =================================
.maliki-category-grid {
  MALIKI CATEGORY GRID FINAL
    display: grid;
================================= */
    grid-template-columns: repeat(3, 1fr);
 
    gap: 30px;
 
    max-width: 900px;
.me-explore{
    margin: 40px auto;
 
display:grid;
 
grid-template-columns:repeat(5,180px);
 
justify-content:center;
 
gap:35px;
 
margin:50px auto;
 
}
 
 
 
/* wrapper setiap kategori */
 
.me-item{
 
text-align:center;
 
}
 
 
 
/* kartu */
 
.me-explore-card{
 
background:#006b54;
 
height:260px;
 
width:180px;
 
border-radius:15px;
 
padding:20px;
 
box-sizing:border-box;
 
color:white;
 
display:flex;
 
flex-direction:column;
 
justify-content:center;
 
align-items:center;
 
text-align:center;
 
}
}




/* CARD */


/* gambar */
.maliki-category-card {
 
    background: #006b54;
.me-explore-card img{
    border-radius: 15px;
 
    min-height: 190px;
width:130px;
    padding: 30px 25px;
 
    box-sizing: border-box;
height:120px;
    text-align: center;
 
    color: white;
object-fit:cover;
 
border-radius:10px;
 
margin-bottom:15px;
 
}
}




/* JUDUL */


/* judul */
.maliki-category-card h3 {
 
    color: white;
.me-explore-card h3{
    font-size: 20px;
 
    margin: 0 0 15px;
color:white;
 
font-size:18px;
 
margin:10px 0;
 
}
}




/* DESKRIPSI */


/* deskripsi */
.maliki-category-card p {
 
    color: white;
.me-explore-card p{
    font-size: 15px;
 
    line-height: 1.6;
color:white;
    margin: 0;
 
font-size:14px;
 
line-height:1.5;
 
}
}




/* LINK DI BAWAH CARD */


/* tombol di bawah kartu */
.maliki-category-link {
 
    text-align: center;
.me-item>a{
    margin-top: 12px;
 
display:inline-block;
 
margin-top:12px;
 
background:#c79b2b;
 
color:white;
 
padding:7px 15px;
 
border-radius:5px;
 
font-weight:bold;
 
text-decoration:none;
 
}
}


 
.maliki-category-link a {
 
    color: #006b54;
.me-item>a:hover{
    font-weight: bold;
 
    text-decoration: none;
background:#006b54;
 
}
}




/* RESPONSIVE */


/* responsive */
@media (max-width: 700px) {


    .maliki-category-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }


@media(max-width:1000px){
    .maliki-hero {
 
        padding: 25px;
.me-explore{
    }
 
grid-template-columns:repeat(3,180px);
 
}
 
}
 
 
 
@media(max-width:700px){
 
.me-explore{
 
grid-template-columns:180px;
 
}


    .maliki-hero h1 {
        font-size: 30px;
    }
}
}

Revisi per 9 September 2026 18.02

/* =====================================
   MALIKI ENCYCLOPEDIA
   Common.css FINAL SIMPLE
===================================== */


/* GLOBAL */

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

.firstHeading {
    color: #004f40;
}

a {
    color: #1f5f8b;
}


/* HOME */

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


/* HERO */

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

.maliki-hero h1 {
    font-family: Georgia, serif;
    font-size: 40px;
    color: #006b5b;
    margin: 0 0 15px;
}

.maliki-hero p {
    font-size: 17px;
    line-height: 1.7;
    margin: 10px auto;
}


/* =====================================
   KATEGORI UTAMA
===================================== */

.maliki-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 40px auto;
}


/* CARD */

.maliki-category-card {
    background: #006b54;
    border-radius: 15px;
    min-height: 190px;
    padding: 30px 25px;
    box-sizing: border-box;
    text-align: center;
    color: white;
}


/* JUDUL */

.maliki-category-card h3 {
    color: white;
    font-size: 20px;
    margin: 0 0 15px;
}


/* DESKRIPSI */

.maliki-category-card p {
    color: white;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}


/* LINK DI BAWAH CARD */

.maliki-category-link {
    text-align: center;
    margin-top: 12px;
}

.maliki-category-link a {
    color: #006b54;
    font-weight: bold;
    text-decoration: none;
}


/* RESPONSIVE */

@media (max-width: 700px) {

    .maliki-category-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .maliki-hero {
        padding: 25px;
    }

    .maliki-hero h1 {
        font-size: 30px;
    }
}