Lompat ke isi

MediaWiki:Common.css: Perbedaan antara revisi

Dari Maliki Encyclopedia
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
 
(69 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 1: Baris 1:
/* =====================================
/* =====================================
  MALIKI ENCYCLOPEDIA
MALIKI ENCYCLOPEDIA
  Common.css Minimal Stabil v1.0
Common.css v12 FINAL
World History Inspired Style
===================================== */
===================================== */


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


/* Warna dasar */
body {
body {
     background:#f5f8f7;
     background: #f5f8f7;
     color:#24343b;
     color: #24343b;
}
}


/* Judul halaman */
.firstHeading {
.firstHeading {
     color:#004f40;
     color: #004f40;
}
}


/* Link */
a {
a {
     color:#1f5f8b;
     color: #1f5f8b;
}
}


a:hover {
a:hover {
     color:#006b54;
     color: #006b54;
}
}


/* =========================
HOME CONTAINER
========================= */
.me-home {
    max-width: 1200px;
    margin: 0 auto;
}


/* =====================================
/* =====================================
  MALIKI HEADER MENU
HERO BANNER
===================================== */
===================================== */


#maliki-header-menu {
.me-hero-image {
     width:100%;
     width: 100%;
     box-sizing:border-box;
     margin: 25px auto 0;
     text-align:center;
     text-align: center;
    padding:12px;
    margin-top:10px;
    margin-bottom:20px;
    border-top:1px solid #e5e5e5;
    border-bottom:1px solid #e5e5e5;
}
 
#maliki-header-menu a {
    color:#00695c;
    text-decoration:none;
    font-weight:600;
    margin:0 10px;
}
}


#maliki-header-menu a:hover {
.me-hero-image img {
     color:#b8860b;
    width: 100%;
    height: 220px;
    object-fit: cover;
     display: block;
}
}


/* =====================================
/* =====================================
  KNOWLEDGE CARD
HERO CONTENT
===================================== */
===================================== */


.knowledge-card {
.me-hero {
     border:1px solid #ddd;
    background: #f8f6ef;
     padding:20px;
     border: 1px solid #ddd;
     box-sizing:border-box;
     border-radius: 12px;
    background:#ffffff;
     text-align: center;
     margin:15px 0;
     margin: 0 auto 45px;
     border-radius:12px;
     padding: 25px 40px 35px;
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
}
}


.me-hero h1 {
    font-family: Georgia, serif;
    font-size: 54px;
    font-weight: normal;
    color: #006b54;
    margin: 0 auto 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    max-width: 850px;
}


.knowledge-card-title {
.me-hero h3.tagline {
     font-size:22px;
     font-size: 24px;
     font-weight:700;
     font-weight: bold;
     color:#00695c;
     color: #24343b;
    margin: 25px 0 15px;
}
}


 
.me-hero p {
.knowledge-card-type {
     font-size: 17px;
     color:#b8860b;
     line-height: 1.6;
     font-weight:600;
    max-width: 850px;
    margin: 15px auto;
}
}


/* =====================================
FEATURED GRID
Pengetahuan Pilihan
===================================== */


.knowledge-card-description {
.featured-grid {
     line-height:1.6;
    display: flex;
    justify-content: center;
     align-items: flex-start;
    gap: 12px;
    margin: 25px auto 45px;
}
}


/* =====================================
/* =====================================
  INFOBOX KNOWLEDGE
FEATURED ITEM
===================================== */
===================================== */


.infobox {
.featured-item {
     border:1px solid #ddd;
     width: 300px;
    flex: none;
    text-align: center;
}
}
/* =====================================
/* =====================================
  KNOWLEDGE CARD LINK
IMAGE BOX
Border hanya gambar
===================================== */
===================================== */


.knowledge-card-link a {
.featured-image {
     color:#00695c;
    height: 130px;
     font-weight:bold;
    background: #f8f6ef;
     text-decoration:none;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}
 
.featured-image img {
     max-width: 120px;
     max-height: 120px;
    width: auto;
    height: auto;
     object-fit: contain;
}
}


/* =====================================
/* =====================================
  JELAJAH PENGETAHUAN LAYOUT
TITLE
===================================== */
===================================== */


.knowledge-grid {
.featured-item h3 {
     display:grid;
     color: #006b54;
     grid-template-columns:repeat(3, 1fr);
     font-size: 21px;
    gap:25px;
     margin: 15px 0 10px;
     width:100%;
}
}


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


.knowledge-grid .knowledge-card {
.featured-item p {
     width:100%;
     max-width: 240px;
     margin:0;
     margin: 0 auto;
    font-size: 14px;
    line-height: 1.55;
}
}


/* =====================================
/* =====================================
  KNOWLEDGE CARD PLACEHOLDER
LINK
===================================== */
===================================== */


.knowledge-card {
.featured-item a {
     min-height:420px;
     display: inline-block;
    margin-top: 15px;
    color: #c79b2b;
    font-weight: bold;
    text-decoration: none;
}
}


.knowledge-card-image {
.featured-item a:hover {
     width:calc(100% + 40px);
     color: #006b54;
    height:180px;
    margin:-20px -20px 20px -20px;
    overflow:hidden;
}
}


.knowledge-card-image img {
/* =====================================
     width:100%;
SECOND SECTION
    height:180px;
===================================== */
    object-fit:cover;
 
    display:block;
.featured-grid + h2 {
     margin-top: 30px;
}
}


/* =====================================
/* =====================================
  KNOWLEDGE SECTION
MALIKI ARTICLE STYLE
===================================== */
===================================== */


.knowledge-section {
.me-article {
     margin-bottom:40px;
    max-width: 900px;
     margin: auto;
}
}


.knowledge-section h2 {
.me-article-header h1 {
     color:#00695c;
    font-family: Georgia, serif;
     border-bottom:1px solid #ddd;
    font-size: 42px;
     padding-bottom:8px;
     color: #006b54;
     border-bottom: 1px solid #ddd;
     padding-bottom: 15px;
}
}


.me-article-image {
    text-align: center;
    margin: 25px 0;
}


/* Maliki Encyclopedia Card Layout */
.me-article-image img {
 
    max-width: 350px;
.me-grid {
    height: auto;
display:grid;
grid-template-columns:repeat(3, 1fr);
gap:24px;
margin:20px 0;
}
}


.me-card {
.me-summary {
width:220px;
    background: #f8f6ef;
min-height:320px;
    border-left: 4px solid #c79b2b;
border:1px solid #ddd;
    padding: 20px;
border-radius:10px;
    margin: 30px 0;
background:#ffffff;
padding:15px;
box-shadow:0 2px 6px rgba(0,0,0,0.08);
}
}


.me-grid {
.me-section {
display:flex;
    margin: 35px 0;
gap:24px;
flex-wrap:wrap;
}
}


 
.me-section h2 {
.me-card {
    color: #006b54;
width:220px;
    border-bottom: 1px solid #ddd;
border:1px solid #ddd;
    padding-bottom: 8px;
border-radius:10px;
background:#fff;
padding:15px;
box-shadow:0 2px 6px rgba(0,0,0,.08);
}
}


/* ================================
NAVIGASI PENGETAHUAN
================================ */


.me-card img {
.me-navigation {
width:100%;
    margin: 35px 0;
height:150px;
object-fit:cover;
border-radius:8px;
}
}


/* Maliki Encyclopedia Hero */
.me-navigation h2 {
 
    color: #006b54;
.me-hero {
    font-size: 24px;
background:#f7f5ef;
    margin-bottom: 25px;
padding:40px;
    border-bottom: 1px solid #ddd;
margin:30px 0;
    padding-bottom: 10px;
border-radius:12px;
text-align:center;
border:1px solid #ddd;
}
}


.me-hero h1 {
.me-navigation-table {
font-size:38px;
    width: 100%;
color:#006b54;
    border-collapse: collapse;
margin-bottom:15px;
    margin-top: 20px;
}
}


.me-hero p {
.me-navigation-table th {
font-size:18px;
    width: 180px;
line-height:1.6;
    text-align: left;
max-width:800px;
    background: #f5f3eb;
margin:auto;
    padding: 12px;
    border: 1px solid #ddd;
    font-weight: bold;
}
}


/* Maliki Explore Navigation */
.me-navigation-table td {
 
    padding: 12px;
.me-explore {
    border: 1px solid #ddd;
display:flex;
gap:20px;
flex-wrap:wrap;
margin:30px 0;
}
}


.me-explore-card {
.me-navigation-table a {
flex:1;
    color: #1f5f8b;
min-width:180px;
background:#006b54;
padding:25px;
border-radius:12px;
text-align:center;
}
}


.me-explore-card a {
.me-navigation-table a:hover {
color:white;
    color: #006b54;
text-decoration:none;
font-size:18px;
font-weight:bold;
}
}


.me-explore-card:hover {
.me-knowledge-navigation {
background:#008060;
    margin-top: 35px;
    margin-bottom: 35px;
}
}


/* =====================================
/* =====================================
  MALIKI ENCYCLOPEDIA HOMEPAGE
JELAJAH PENGETAHUAN
  Hero Section
===================================== */
===================================== */


.me-hero {
.me-grid {
background:#f7f5ef;
    display: grid;
padding:40px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
margin:30px 0;
    gap: 20px;
border-radius:12px;
    width: 100%;
text-align:center;
    margin: 20px 0 35px;
border:1px solid #ddd;
    align-items: stretch;
}
 
.me-card {
    border: 1px solid #d9e2df;
    background: #fff;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    width: 100%;
    min-width: 0;
}
}


.me-hero h1 {
.me-card img {
font-size:38px;
    width: 100%;
color:#006b54;
    max-width: 250px;
margin-bottom:15px;
    height: 180px;
    object-fit: contain;
    display: block;
    margin: 0 auto 14px;
}
}


.me-hero p {
.me-card a {
font-size:18px;
    color: #006b54;
line-height:1.6;
    text-decoration: none;
max-width:800px;
    font-weight: bold;
margin:10px auto;
}
}


.me-card a:hover {
    color: #c79b2b;
}


/* =====================================
/* =====================================
  MENU JELAJAH PENGETAHUAN
RESPONSIVE (Ditaruh di bagian paling bawah)
===================================== */
===================================== */


.me-explore {
@media (max-width: 900px) {
display:flex;
    .featured-grid {
gap:20px;
        flex-wrap: wrap;
flex-wrap:wrap;
    }
justify-content:flex-start;
   
margin:30px 0;
    .me-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
}


@media (max-width: 700px) {
    .me-hero {
        padding: 20px;
    }


.me-explore-card {
    .me-hero h1 {
background:#006b54;
        font-size: 36px;
border-radius:12px;
    }
padding:25px;
width:200px;
text-align:center;
transition:0.3s;
}
 


.me-explore-card a {
    .me-hero h3.tagline {
color:white;
        font-size: 20px;
text-decoration:none;
    }
font-size:18px;
font-weight:bold;
display:block;
}


    .me-hero-image img {
        height: 160px;
    }


.me-explore-card:hover {
    .featured-item {
background:#008060;
        width: 100%;
transform:translateY(-5px);
    }
}
}


 
@media (max-width: 600px) {
/* =====================================
    .me-grid {
  KARTU ENSIKLOPEDIA
        grid-template-columns: 1fr;
===================================== */
    }
 
.me-grid {
display:flex;
flex-wrap:wrap;
gap:24px;
margin:20px 0;
}
}


/* =========================================
  Maliki Encyclopedia
  WikiEditor - Isi Artikel
  ========================================= */


.me-card {
.me-free-text,
width:220px;
.me-free-text textarea,
border:1px solid #ddd;
.wikiEditor-ui-text,
border-radius:10px;
.wikiEditor-ui-text textarea {
background:#fff;
    width: 100% !important;
padding:15px;
    max-width: none !important;
box-shadow:0 2px 6px rgba(0,0,0,0.08);
    box-sizing: border-box !important;
}
}


 
.wikiEditor-ui {
.me-card img {
    width: 100% !important;
width:100%;
    max-width: none !important;
height:150px;
object-fit:cover;
border-radius:8px;
}
}


 
.wikiEditor-ui-text {
.me-card a {
    width: 100% !important;
text-decoration:none;
}
}


 
.wikiEditor-ui-text textarea {
.me-card:hover {
    width: 100% !important;
box-shadow:0 4px 12px rgba(0,0,0,0.15);
    max-width: none !important;
    box-sizing: border-box !important;
}
}

Revisi terkini sejak 23 September 2026 01.52

/* =====================================
MALIKI ENCYCLOPEDIA
Common.css v12 FINAL
World History Inspired Style
===================================== */

/* =========================
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 BANNER
===================================== */

.me-hero-image {
    width: 100%;
    margin: 25px auto 0;
    text-align: center;
}

.me-hero-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

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

.me-hero {
    background: #f8f6ef;
    border: 1px solid #ddd;
    border-radius: 12px;
    text-align: center;
    margin: 0 auto 45px;
    padding: 25px 40px 35px;
}

.me-hero h1 {
    font-family: Georgia, serif;
    font-size: 54px;
    font-weight: normal;
    color: #006b54;
    margin: 0 auto 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    max-width: 850px;
}

.me-hero h3.tagline {
    font-size: 24px;
    font-weight: bold;
    color: #24343b;
    margin: 25px 0 15px;
}

.me-hero p {
    font-size: 17px;
    line-height: 1.6;
    max-width: 850px;
    margin: 15px auto;
}

/* =====================================
FEATURED GRID
Pengetahuan Pilihan
===================================== */

.featured-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    margin: 25px auto 45px;
}

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

.featured-item {
    width: 300px;
    flex: none;
    text-align: center;
}

/* =====================================
IMAGE BOX
Border hanya gambar
===================================== */

.featured-image {
    height: 130px;
    background: #f8f6ef;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-image img {
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

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

.featured-item h3 {
    color: #006b54;
    font-size: 21px;
    margin: 15px 0 10px;
}

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

.featured-item p {
    max-width: 240px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.55;
}

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

.featured-item a {
    display: inline-block;
    margin-top: 15px;
    color: #c79b2b;
    font-weight: bold;
    text-decoration: none;
}

.featured-item a:hover {
    color: #006b54;
}

/* =====================================
SECOND SECTION
===================================== */

.featured-grid + h2 {
    margin-top: 30px;
}

/* =====================================
MALIKI ARTICLE STYLE
===================================== */

.me-article {
    max-width: 900px;
    margin: auto;
}

.me-article-header h1 {
    font-family: Georgia, serif;
    font-size: 42px;
    color: #006b54;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.me-article-image {
    text-align: center;
    margin: 25px 0;
}

.me-article-image img {
    max-width: 350px;
    height: auto;
}

.me-summary {
    background: #f8f6ef;
    border-left: 4px solid #c79b2b;
    padding: 20px;
    margin: 30px 0;
}

.me-section {
    margin: 35px 0;
}

.me-section h2 {
    color: #006b54;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

/* ================================
NAVIGASI PENGETAHUAN
================================ */

.me-navigation {
    margin: 35px 0;
}

.me-navigation h2 {
    color: #006b54;
    font-size: 24px;
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.me-navigation-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.me-navigation-table th {
    width: 180px;
    text-align: left;
    background: #f5f3eb;
    padding: 12px;
    border: 1px solid #ddd;
    font-weight: bold;
}

.me-navigation-table td {
    padding: 12px;
    border: 1px solid #ddd;
}

.me-navigation-table a {
    color: #1f5f8b;
}

.me-navigation-table a:hover {
    color: #006b54;
}

.me-knowledge-navigation {
    margin-top: 35px;
    margin-bottom: 35px;
}

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

.me-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin: 20px 0 35px;
    align-items: stretch;
}

.me-card {
    border: 1px solid #d9e2df;
    background: #fff;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    width: 100%;
    min-width: 0;
}

.me-card img {
    width: 100%;
    max-width: 250px;
    height: 180px;
    object-fit: contain;
    display: block;
    margin: 0 auto 14px;
}

.me-card a {
    color: #006b54;
    text-decoration: none;
    font-weight: bold;
}

.me-card a:hover {
    color: #c79b2b;
}

/* =====================================
RESPONSIVE (Ditaruh di bagian paling bawah)
===================================== */

@media (max-width: 900px) {
    .featured-grid {
        flex-wrap: wrap;
    }
    
    .me-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .me-hero {
        padding: 20px;
    }

    .me-hero h1 {
        font-size: 36px;
    }

    .me-hero h3.tagline {
        font-size: 20px;
    }

    .me-hero-image img {
        height: 160px;
    }

    .featured-item {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .me-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Maliki Encyclopedia
   WikiEditor - Isi Artikel
   ========================================= */

.me-free-text,
.me-free-text textarea,
.wikiEditor-ui-text,
.wikiEditor-ui-text textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

.wikiEditor-ui {
    width: 100% !important;
    max-width: none !important;
}

.wikiEditor-ui-text {
    width: 100% !important;
}

.wikiEditor-ui-text textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}