Lompat ke isi

MediaWiki:Common.css: Perbedaan antara revisi

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


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


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


 
.firstHeading {
 
    color: #004f40;
 
 
.firstHeading{
 
color:#004f40;
 
}
}


 
a {
 
    color: #1f5f8b;
 
 
a{
 
color:#1f5f8b;
 
}
}


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


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


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


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


 
.me-hero-image {
 
    width: 100%;
 
    margin: 25px auto 0;
 
    text-align: center;
.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;
 
.me-hero-image img{
 
 
 
width:100%;
 
 
 
height:220px;
 
 
 
object-fit:cover;
 
 
 
display:block;
 
 
 
}
}


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


 
.me-hero {
 
    background: #f8f6ef;
 
    border: 1px solid #ddd;
 
    border-radius: 12px;
.me-hero{
    text-align: center;
 
    margin: 0 auto 45px;
 
    padding: 25px 40px 35px;
 
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;
.me-hero h1{
    padding-bottom: 10px;
 
    border-bottom: 1px solid #ccc;
 
    max-width: 850px;
 
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 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;
 
.me-hero p{
 
 
 
font-size:17px;
 
 
 
line-height:1.6;
 
 
 
max-width:850px;
 
 
 
margin:15px auto;
 
 
 
}
}


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


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


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


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


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


 
.featured-image {
 
    height: 130px;
 
    background: #f8f6ef;
 
    border: 1px solid #ddd;
.featured-image{
    border-radius: 8px;
 
    display: flex;
 
    justify-content: center;
 
    align-items: center;
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;
.featured-image img{
 
 
 
max-width:120px;
 
 
 
max-height:120px;
 
 
 
width:auto;
 
 
 
height:auto;
 
 
 
object-fit:contain;
 
 
 
}
}


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


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


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


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


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


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


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


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


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


/* =====================================
/* =====================================
RESPONSIVE
===================================== */
@media(max-width:900px){
.featured-grid{
flex-wrap:wrap;
}
}
@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%;
}
}
/* =====================================
MALIKI ARTICLE STYLE
MALIKI ARTICLE STYLE
===================================== */
===================================== */


 
.me-article {
 
    max-width: 900px;
 
    margin: auto;
 
.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-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{
 
 
 
text-align:center;
 
 
 
margin:25px 0;
 
 
 
}
}


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


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


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


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


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


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


.me-navigation h2{
.me-navigation h2 {
color:#006b54;
    color: #006b54;
font-size:24px;
    font-size: 24px;
 
    margin-bottom: 25px;
 
    border-bottom: 1px solid #ddd;
 
    padding-bottom: 10px;
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{
 
 
 
width:100%;
 
 
 
border-collapse:collapse;
 
 
 
margin-top:20px;
 
 
 
}
}


 
.me-navigation-table th {
 
    width: 180px;
 
    text-align: left;
 
    background: #f5f3eb;
.me-navigation-table th{
    padding: 12px;
 
    border: 1px solid #ddd;
 
    font-weight: bold;
 
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 td{
 
 
 
padding:12px;
 
 
 
border:1px solid #ddd;
 
 
 
}
}


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


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


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


/* =====================================
/* =====================================
Baris 1.053: Baris 278:
===================================== */
===================================== */


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


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


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


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


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


@media(max-width:900px){
/* =====================================
 
RESPONSIVE (Ditaruh di bagian paling bawah)
.me-grid{
===================================== */
grid-template-columns:repeat(2, minmax(0,1fr));
}


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


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


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


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


/* =====================================
    .me-hero-image img {
MENU JELAJAH PENGETAHUAN
        height: 160px;
===================================== */
    }


.me-explore-grid{
    .featured-item {
display:grid;
        width: 100%;
grid-template-columns:repeat(5, minmax(0,1fr));
    }
gap:18px;
width:100%;
margin:25px 0 40px;
}
}


.me-explore-card{
@media (max-width: 600px) {
border:1px solid #d9e2df;
    .me-grid {
background:#fff;
        grid-template-columns: 1fr;
padding:20px 12px;
    }
box-sizing:border-box;
border-radius:10px;
box-shadow:0 2px 6px rgba(0,0,0,0.05);
text-align:center;
min-width:0;
}
}


.me-explore-card .me-icon{
/* =========================================
display:block;
  Maliki Encyclopedia
font-size:28px;
  WikiEditor - Isi Artikel
margin-bottom:10px;
  ========================================= */
}


.me-explore-card a{
.me-free-text,
color:#006b54;
.me-free-text textarea,
text-decoration:none;
.wikiEditor-ui-text,
font-weight:bold;
.wikiEditor-ui-text textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}
}


.me-explore-card a:hover{
.wikiEditor-ui {
color:#c79b2b;
    width: 100% !important;
    max-width: none !important;
}
}


@media(max-width:900px){
.wikiEditor-ui-text {
 
    width: 100% !important;
.me-explore-grid{
grid-template-columns:repeat(3,minmax(0,1fr));
}
}


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


@media(max-width:600px){
/* =========================================
 
  FLAGGEDREVS - Sembunyikan Review Form
.me-explore-grid{
  Sementara sampai extension dinonaktifkan
grid-template-columns:repeat(2,minmax(0,1fr));
  ========================================= */
}


#mw-fr-reviewform {
    display: none !important;
}
}

Revisi terkini sejak 26 September 2026 14.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;
}

/* =========================================
   FLAGGEDREVS - Sembunyikan Review Form
   Sementara sampai extension dinonaktifkan
   ========================================= */

#mw-fr-reviewform {
    display: none !important;
}