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 SIMPLE v2
   Common.css FINAL STABLE
===================================== */
===================================== */




/* 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 {
    color: #006b54;
}
}




/* HOME */
/* =========================
  HOME
========================= */


.maliki-home {
.mw-parser-output .me-home {
     max-width:1200px;
     max-width: 1200px;
     margin:0 auto;
     margin: 0 auto;
}
}




/* HERO */
/* =========================
  HERO
========================= */
 
.mw-parser-output .me-hero {
    background: #f8f6ef;
    padding: 45px;
    margin: 30px 0 50px 0;
    border: 1px solid #ddd;
    border-radius: 16px;
    text-align: center;
    box-sizing: border-box;
}
 
.mw-parser-output .me-hero h1 {
    font-family: Georgia, serif;
    font-size: 42px;
    color: #006b5b;
    margin: 0 0 15px 0;
}


.maliki-hero {
.mw-parser-output .me-hero p {
     background:#f8f6ef;
     font-size: 18px;
    border:1px solid #ddd;
     line-height: 1.7;
     border-radius:16px;
     margin: 10px auto;
    padding:45px;
     margin:30px 0 50px;
    text-align:center;
}
}


.maliki-hero h1 {
 
     font-family:Georgia,serif;
/* =========================
     font-size:40px;
  JELAJAH PENGETAHUAN
     color:#006b5b;
========================= */
     margin:0 0 15px;
 
.mw-parser-output .me-explore {
     display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 25px;
     width: 100%;
     margin: 30px 0 50px 0;
}
}


.maliki-hero p {
 
     font-size:17px;
/* =========================
    line-height:1.7;
  ITEM
    margin:10px auto;
========================= */
 
.mw-parser-output .me-item {
     text-align: center;
}
}




/* =====================================
/* =========================
  KATEGORI
  CARD
===================================== */
========================= */
 
.mw-parser-output .me-explore-card {
    width: 100%;
    height: 330px;
    box-sizing: border-box;
 
    background: #006b54;
    border-radius: 15px;
 
    padding: 20px;
 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 
    text-align: center;
    color: white;
}
 
 
/* =========================
  GAMBAR DALAM CARD
========================= */
 
.mw-parser-output .me-explore-card img {
    display: block;
 
    width: 160px;
    height: 140px;
 
    object-fit: contain;


.maliki-category-grid {
     margin: 0 auto 15px auto;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:30px;
     margin:40px auto;
}
}




/* ITEM */
/* =========================
  JUDUL CARD
========================= */


.maliki-category-item {
.mw-parser-output .me-explore-card h3 {
     width:220px;
     color: white;
     text-align:center;
     font-size: 20px;
    margin: 10px 0;
}
}




/* CARD */
/* =========================
  DESKRIPSI CARD
========================= */


.maliki-category-card {
.mw-parser-output .me-explore-card p {
     background:#006b54;
     color: white;
     border-radius:15px;
     font-size: 14px;
     min-height:190px;
     line-height: 1.5;
    padding:30px 20px;
     margin: 5px 0;
    box-sizing:border-box;
     color:white;
}
}




/* JUDUL */
/* =========================
  LINK DI BAWAH CARD
========================= */
 
.mw-parser-output .me-item > a {
    display: inline-block;


.maliki-category-card h3 {
    margin-top: 12px;
     color:white;
 
     font-size:20px;
     color: #006b54;
     margin:0 0 15px;
    background: transparent;
 
     font-weight: bold;
     text-decoration: none;
}
}




/* DESKRIPSI */
/* =========================
  HOVER LINK
========================= */


.maliki-category-card p {
.mw-parser-output .me-item > a:hover {
     color:white;
     color: #b8860b;
    font-size:15px;
    line-height:1.6;
    margin:0;
}
}




/* LINK DI BAWAH CARD */
/* =========================
  SECTION TITLE
========================= */


.maliki-category-link {
.mw-parser-output .me-home h2 {
     margin-top:12px;
    color: #006b5b;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
     margin-top: 50px;
}
}


.maliki-category-link a {
 
    color:#006b54;
/* =========================
     font-weight:bold;
  RESPONSIVE
    text-decoration:none;
========================= */
 
@media (max-width: 900px) {
 
    .mw-parser-output .me-explore {
        grid-template-columns: repeat(2, minmax(0, 1fr));
     }
 
}
}




/* RESPONSIVE */
@media (max-width: 600px) {
 
    .mw-parser-output .me-explore {
        grid-template-columns: 1fr;
    }
 
    .mw-parser-output .me-hero {
        padding: 25px;
    }


@media(max-width:750px) {
    .mw-parser-output .me-hero h1 {
        font-size: 30px;
    }


     .maliki-category-grid {
     .mw-parser-output .me-explore-card {
         flex-direction:column;
         height: 300px;
        align-items:center;
     }
     }


}
}

Revisi per 9 September 2026 18.11

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


/* =========================
   GLOBAL
========================= */

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

.firstHeading {
    color: #004f40;
}

a {
    color: #1f5f8b;
}

a:hover {
    color: #006b54;
}


/* =========================
   HOME
========================= */

.mw-parser-output .me-home {
    max-width: 1200px;
    margin: 0 auto;
}


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

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

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

.mw-parser-output .me-hero p {
    font-size: 18px;
    line-height: 1.7;
    margin: 10px auto;
}


/* =========================
   JELAJAH PENGETAHUAN
========================= */

.mw-parser-output .me-explore {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
    margin: 30px 0 50px 0;
}


/* =========================
   ITEM
========================= */

.mw-parser-output .me-item {
    text-align: center;
}


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

.mw-parser-output .me-explore-card {
    width: 100%;
    height: 330px;
    box-sizing: border-box;

    background: #006b54;
    border-radius: 15px;

    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;
}


/* =========================
   GAMBAR DALAM CARD
========================= */

.mw-parser-output .me-explore-card img {
    display: block;

    width: 160px;
    height: 140px;

    object-fit: contain;

    margin: 0 auto 15px auto;
}


/* =========================
   JUDUL CARD
========================= */

.mw-parser-output .me-explore-card h3 {
    color: white;
    font-size: 20px;
    margin: 10px 0;
}


/* =========================
   DESKRIPSI CARD
========================= */

.mw-parser-output .me-explore-card p {
    color: white;
    font-size: 14px;
    line-height: 1.5;
    margin: 5px 0;
}


/* =========================
   LINK DI BAWAH CARD
========================= */

.mw-parser-output .me-item > a {
    display: inline-block;

    margin-top: 12px;

    color: #006b54;
    background: transparent;

    font-weight: bold;
    text-decoration: none;
}


/* =========================
   HOVER LINK
========================= */

.mw-parser-output .me-item > a:hover {
    color: #b8860b;
}


/* =========================
   SECTION TITLE
========================= */

.mw-parser-output .me-home h2 {
    color: #006b5b;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-top: 50px;
}


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

@media (max-width: 900px) {

    .mw-parser-output .me-explore {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .mw-parser-output .me-explore {
        grid-template-columns: 1fr;
    }

    .mw-parser-output .me-hero {
        padding: 25px;
    }

    .mw-parser-output .me-hero h1 {
        font-size: 30px;
    }

    .mw-parser-output .me-explore-card {
        height: 300px;
    }

}