Lompat ke isi

MediaWiki:Common.css: Perbedaan antara revisi

Dari Maliki Encyclopedia
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
Baris 9: Baris 9:
========================= */
========================= */


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


.firstHeading{
.firstHeading {
color:#004f40;
    color: #004f40;
}
}
a{
color:#1f5f8b;


a {
    color: #1f5f8b;
}
}


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


Baris 31: Baris 30:
========================= */
========================= */


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


Baris 40: Baris 39:
===================================== */
===================================== */


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


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


Baris 57: Baris 56:
===================================== */
===================================== */


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


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


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


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


Baris 96: Baris 95:
===================================== */
===================================== */


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


Baris 108: Baris 107:
===================================== */
===================================== */


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


Baris 119: Baris 118:
===================================== */
===================================== */


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


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


Baris 141: Baris 140:
===================================== */
===================================== */


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


Baris 151: Baris 150:
===================================== */
===================================== */


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


Baris 162: Baris 161:
===================================== */
===================================== */


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


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


Baris 178: Baris 177:
===================================== */
===================================== */


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


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


@media(max-width:900px){
.me-article {
    max-width: 900px;
    margin: auto;
}


.featured-grid{
.me-article-header h1 {
flex-wrap:wrap;
    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;
}
}


@media(max-width:700px){
.me-article-image img {
    max-width: 350px;
    height: auto;
}


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


.me-hero h1{
.me-section {
font-size:36px;
    margin: 35px 0;
}
}


.me-hero h3.tagline{
.me-section h2 {
font-size:20px;
    color: #006b54;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}
}


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


.featured-item{
.me-navigation {
width:100%;
    margin: 35px 0;
}
}
}


/* =====================================
.me-navigation h2 {
MALIKI ARTICLE STYLE
    color: #006b54;
===================================== */
    font-size: 24px;
 
    margin-bottom: 25px;
.me-article{
    border-bottom: 1px solid #ddd;
max-width:900px;
    padding-bottom: 10px;
margin:auto;
}
}


.me-article-header h1{
.me-navigation-table {
font-family:Georgia,serif;
    width: 100%;
font-size:42px;
    border-collapse: collapse;
color:#006b54;
    margin-top: 20px;
border-bottom:1px solid #ddd;
padding-bottom:15px;
}
}


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


.me-article-image img{
.me-navigation-table td {
max-width:350px;
    padding: 12px;
height:auto;
    border: 1px solid #ddd;
}
}


.me-summary{
.me-navigation-table a {
background:#f8f6ef;
    color: #1f5f8b;
border-left:4px solid #c79b2b;
padding:20px;
margin:30px 0;
}
}


.me-section{
.me-navigation-table a:hover {
margin:35px 0;
    color: #006b54;
}
}


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


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


/* ================================
.me-grid {
NAVIGASI PENGETAHUAN
    display: grid;
================================ */
    grid-template-columns: repeat(3, minmax(0, 1fr));
 
    gap: 20px;
.me-navigation{
    width: 100%;
margin:35px 0;
    margin: 20px 0 35px;
}
    align-items: stretch;
 
.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{
.me-card {
padding:12px;
    border: 1px solid #d9e2df;
border:1px solid #ddd;
    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-navigation-table a{
.me-card img {
color:#1f5f8b;
    width: 100%;
    max-width: 250px;
    height: 180px;
    object-fit: contain;
    display: block;
    margin: 0 auto 14px;
}
}


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


.me-knowledge-navigation{
.me-card a:hover {
margin-top:35px;
    color: #c79b2b;
margin-bottom:35px;
}
}


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


.me-grid{
@media (max-width: 900px) {
display:grid;
    .featured-grid {
grid-template-columns:repeat(3, minmax(0, 1fr));
        flex-wrap: wrap;
gap:20px;
    }
width:100%;
   
margin:20px 0 35px;
    .me-grid {
align-items:stretch;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
}


.me-card{
@media (max-width: 700px) {
border:1px solid #d9e2df;
    .me-hero {
background:#fff;
        padding: 20px;
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{
    .me-hero h1 {
width:100%;
        font-size: 36px;
max-width:250px;
    }
height:180px;
object-fit:contain;
display:block;
margin:0 auto 14px;
}


.me-card a{
    .me-hero h3.tagline {
color:#006b54;
        font-size: 20px;
text-decoration:none;
    }
font-weight:bold;
}


.me-card a:hover{
    .me-hero-image img {
color:#c79b2b;
        height: 160px;
}
    }


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


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

Revisi per 18 September 2026 14.49

/* =====================================
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;
    }
}