Lompat ke isi

MediaWiki:Common.css

Dari Maliki Encyclopedia
Revisi sejak 9 September 2026 18.48 oleh ADMIN-ency (bicara | kontrib)

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
   JELAJAHI PENGETAHUAN
===================================== */


/* =========================
   CONTAINER
========================= */

.mw-parser-output .me-explore {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    width: 100%;
    margin: 30px 0 50px 0;
    align-items: flex-start;
}


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

.mw-parser-output .me-item {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
    text-align: center;
    box-sizing: border-box;
}


/* =========================
   IMAGE BOX
========================= */

.mw-parser-output .me-explore-card {
    width: 100%;
    height: 220px;

    background: #ffffff;

    border: 1px solid #ddd;
    border-radius: 12px;

    box-sizing: border-box;

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

    padding: 15px;

    margin-bottom: 15px;
}


/* =========================
   IMAGE
========================= */

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

    max-width: 180px;
    max-height: 180px;

    width: auto;
    height: auto;

    object-fit: contain;

    margin: auto;
}


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

.mw-parser-output .me-item h3 {
    color: #006b54;

    font-size: 20px;

    margin: 10px 0;
}


/* =========================
   DESCRIPTION
========================= */

.mw-parser-output .me-item p {
    font-size: 14px;

    line-height: 1.6;

    margin: 8px auto 12px auto;

    max-width: 320px;
}


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

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

    margin-top: 5px;

    color: #006b54;

    font-weight: bold;

    text-decoration: none;
}


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


/* =========================
   TABLET
========================= */

@media (max-width: 800px) {

    .mw-parser-output .me-explore {
        flex-wrap: wrap;
    }

    .mw-parser-output .me-item {
        flex: 0 0 calc((100% - 30px) / 2);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .mw-parser-output .me-explore {
        flex-direction: column;
        align-items: center;
    }

    .mw-parser-output .me-item {
        width: 100%;
        max-width: 400px;
    }

}