MediaWiki:Common.css: Perbedaan antara revisi
Tampilan
ADMIN-ency (bicara | kontrib) Tidak ada ringkasan suntingan |
ADMIN-ency (bicara | kontrib) Tidak ada ringkasan suntingan |
||
| Baris 1: | Baris 1: | ||
/* ===================================== | /* ===================================== | ||
MALIKI ENCYCLOPEDIA | MALIKI ENCYCLOPEDIA | ||
Common.css | Common.css v18 | ||
Full-width Knowledge Portal | Full-width Knowledge Portal | ||
Typography & Spacing Refinement | Hero Typography & Spacing Refinement | ||
Vector 2022 | Vector 2022 | ||
===================================== */ | ===================================== */ | ||
| Baris 32: | Baris 32: | ||
/* ===================================== | /* ===================================== | ||
MALIKI TOP NAVIGATION | MALIKI TOP NAVIGATION | ||
Sementara | |||
===================================== */ | ===================================== */ | ||
| Baris 281: | Baris 281: | ||
margin-top: 0; | margin-top: 0; | ||
margin-bottom: | margin-bottom: 38px; | ||
margin-left: 50%; | margin-left: 50%; | ||
| Baris 293: | Baris 293: | ||
border: 0 !important; | border: 0 !important; | ||
border-radius: 0; | border-radius: 0 !important; | ||
box-shadow: none; | box-shadow: none !important; | ||
overflow: hidden; | overflow: hidden; | ||
| Baris 313: | Baris 313: | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: | padding: 42px 35px 38px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
| Baris 329: | Baris 329: | ||
display: block; | display: block; | ||
margin: 0 0 | margin: 0 0 10px 0; | ||
padding: 0; | padding: 0; | ||
| Baris 335: | Baris 335: | ||
border: 0 !important; | border: 0 !important; | ||
background: transparent !important; | |||
box-shadow: none !important; | |||
color: #019d9a; | color: #019d9a; | ||
| Baris 346: | Baris 346: | ||
sans-serif; | sans-serif; | ||
font-size: | font-size: 11px; | ||
font-weight: 700; | font-weight: 700; | ||
letter-spacing: 0. | letter-spacing: 0.15em; | ||
line-height: 1.5; | line-height: 1.5; | ||
| Baris 364: | Baris 364: | ||
.me-home-hero h1 { | .me-home-hero h1 { | ||
margin: 0 auto | display: block; | ||
margin: 0 auto 13px !important; | |||
padding: 0 !important; | padding: 0 !important; | ||
border: 0 !important; | border: 0 !important; | ||
border-top: 0 !important; | |||
border-right: 0 !important; | |||
border-bottom: 0 !important; | border-bottom: 0 !important; | ||
border-left: 0 !important; | |||
box-shadow: none !important; | |||
background: transparent !important; | |||
color: #006b68; | color: #006b68; | ||
| Baris 379: | Baris 391: | ||
serif; | serif; | ||
font-size: | font-size: 44px; | ||
font-weight: 500; | font-weight: 500; | ||
letter-spacing: -0. | letter-spacing: -0.012em; | ||
line-height: 1. | line-height: 1.15; | ||
text-align: center; | text-align: center; | ||
} | |||
/* ===================================== | |||
REMOVE POSSIBLE MEDIAWIKI HEADING LINE | |||
===================================== */ | |||
.me-home-hero h1::before, | |||
.me-home-hero h1::after { | |||
display: none !important; | |||
content: none !important; | |||
border: 0 !important; | |||
background: none !important; | |||
} | } | ||
| Baris 397: | Baris 426: | ||
.me-home-hero-institution { | .me-home-hero-institution { | ||
margin: 0 auto | margin: 0 auto 12px; | ||
color: #24343b; | color: #24343b; | ||
| Baris 410: | Baris 439: | ||
font-weight: 600; | font-weight: 600; | ||
letter-spacing: 0 | letter-spacing: 0; | ||
line-height: 1. | line-height: 1.55; | ||
} | } | ||
| Baris 422: | Baris 451: | ||
.me-home-hero-description { | .me-home-hero-description { | ||
max-width: | max-width: 700px; | ||
margin: 0 auto; | margin: 0 auto; | ||
| Baris 437: | Baris 466: | ||
font-weight: 400; | font-weight: 400; | ||
line-height: 1.65; | |||
line-height: 1. | |||
} | } | ||
| Baris 451: | Baris 478: | ||
width: 100%; | width: 100%; | ||
max-width: | max-width: 700px; | ||
margin: | margin: 25px auto 0; | ||
padding: 0; | padding: 0; | ||
background: transparent; | background: transparent !important; | ||
border: 0 !important; | border: 0 !important; | ||
border-radius: 0; | border-radius: 0 !important; | ||
box-shadow: none; | box-shadow: none !important; | ||
} | } | ||
| Baris 497: | Baris 524: | ||
min-width: 0; | min-width: 0; | ||
height: | height: 46px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
padding: 0 | padding: 0 15px; | ||
border: 1px solid #c4d4d2; | border: 1px solid #c4d4d2; | ||
| Baris 549: | Baris 576: | ||
.me-home-search input[type="submit"] { | .me-home-search input[type="submit"] { | ||
height: | height: 46px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
padding: 0 | padding: 0 21px; | ||
border: 1px solid #019d9a; | border: 1px solid #019d9a; | ||
| Baris 603: | Baris 630: | ||
.me-home-hero-links { | .me-home-hero-links { | ||
margin-top: | margin-top: 17px; | ||
color: #7a8589; | color: #7a8589; | ||
| Baris 614: | Baris 641: | ||
font-size: 13px; | font-size: 13px; | ||
line-height: 1. | line-height: 1.5; | ||
} | } | ||
| Baris 700: | Baris 727: | ||
border-bottom: 0 !important; | border-bottom: 0 !important; | ||
} | } | ||
| Baris 1.100: | Baris 1.125: | ||
.me-home-hero-inner { | .me-home-hero-inner { | ||
padding: | padding: 46px 28px 38px; | ||
} | } | ||
| Baris 1.106: | Baris 1.131: | ||
.me-home-hero h1 { | .me-home-hero h1 { | ||
font-size: | font-size: 40px; | ||
} | } | ||
| Baris 1.227: | Baris 1.252: | ||
.me-home-hero-inner { | .me-home-hero-inner { | ||
padding: | padding: 40px 20px 34px; | ||
} | } | ||
| Baris 1.233: | Baris 1.258: | ||
.me-home-hero h1 { | .me-home-hero h1 { | ||
font-size: | font-size: 34px; | ||
line-height: 1.2; | line-height: 1.2; | ||
| Baris 1.255: | Baris 1.280: | ||
.me-home-search { | .me-home-search { | ||
margin-top: | margin-top: 23px; | ||
} | } | ||
| Baris 1.306: | Baris 1.331: | ||
.me-home-hero h1 { | .me-home-hero h1 { | ||
font-size: | font-size: 30px; | ||
} | } | ||
| Baris 1.312: | Baris 1.337: | ||
.me-home-hero-inner { | .me-home-hero-inner { | ||
padding: | padding: 34px 18px 30px; | ||
} | } | ||
Revisi per 27 September 2026 08.12
/* =====================================
MALIKI ENCYCLOPEDIA
Common.css v18
Full-width Knowledge Portal
Hero Typography & Spacing Refinement
Vector 2022
===================================== */
/* =====================================
GLOBAL
===================================== */
body {
background: #ffffff;
color: #24343b;
}
.firstHeading {
color: #006b68;
}
a {
color: #1f5f8b;
}
a:hover {
color: #006b68;
}
/* =====================================
MALIKI TOP NAVIGATION
Sementara
===================================== */
#maliki-top-navigation {
display: block;
width: 100%;
box-sizing: border-box;
margin: 0;
padding: 0;
background: #ffffff;
border-top: 1px solid #eaecf0;
border-bottom: 1px solid #d8dee4;
position: relative;
z-index: 1000;
}
#maliki-top-navigation .maliki-nav-inner {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
align-items: stretch;
justify-content: center;
box-sizing: border-box;
}
#maliki-top-navigation .maliki-nav-item {
position: relative;
display: flex;
align-items: stretch;
}
#maliki-top-navigation .maliki-nav-button {
appearance: none;
-webkit-appearance: none;
border: 0;
background: transparent;
color: #24343b;
font-family: inherit;
font-size: 14px;
font-weight: 600;
line-height: 1.4;
padding: 14px 16px;
margin: 0;
cursor: pointer;
white-space: nowrap;
transition:
background-color 0.18s ease,
color 0.18s ease;
}
#maliki-top-navigation .maliki-nav-arrow {
display: inline-block;
margin-left: 6px;
font-size: 11px;
color: #72777d;
transform: translateY(-1px);
transition:
transform 0.18s ease,
color 0.18s ease;
}
#maliki-top-navigation
.maliki-nav-item:hover
.maliki-nav-button {
background: #e7f5f4;
color: #006b68;
}
#maliki-top-navigation
.maliki-nav-button:focus {
background: #e7f5f4;
color: #006b68;
outline: none;
}
#maliki-top-navigation
.maliki-nav-item.is-open
.maliki-nav-button {
background: #e7f5f4;
color: #006b68;
}
#maliki-top-navigation
.maliki-nav-item:hover
.maliki-nav-arrow,
#maliki-top-navigation
.maliki-nav-item.is-open
.maliki-nav-arrow {
color: #006b68;
transform: rotate(180deg);
}
/* =====================================
DROPDOWN
===================================== */
#maliki-top-navigation
.maliki-nav-dropdown {
position: absolute;
top: 100%;
left: 0;
min-width: 225px;
padding: 8px 0;
background: #ffffff;
border: 1px solid #d8dee4;
border-radius: 0 0 8px 8px;
box-shadow:
0 8px 22px rgba(0, 0, 0, 0.10);
display: none;
z-index: 2000;
}
#maliki-top-navigation
.maliki-nav-item.is-open
.maliki-nav-dropdown {
display: block;
}
@media (min-width: 801px) {
#maliki-top-navigation
.maliki-nav-item:hover
.maliki-nav-dropdown {
display: block;
}
}
#maliki-top-navigation
.maliki-nav-dropdown a {
display: block;
padding: 10px 18px;
color: #24343b;
font-size: 14px;
line-height: 1.45;
text-decoration: none;
white-space: nowrap;
border-left: 3px solid transparent;
transition:
background-color 0.16s ease,
color 0.16s ease,
border-color 0.16s ease;
}
#maliki-top-navigation
.maliki-nav-dropdown a:hover {
background: #e7f5f4;
color: #006b68;
border-left-color: #019d9a;
text-decoration: none;
}
/* =====================================
HOME CONTAINER
===================================== */
.me-home {
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
/* =====================================
FULL-WIDTH HERO
===================================== */
.me-home-hero {
width: 100vw;
max-width: none;
box-sizing: border-box;
margin-top: 0;
margin-bottom: 38px;
margin-left: 50%;
transform: translateX(-50%);
padding: 0;
background: #f7f9f9;
border: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
overflow: hidden;
}
/* =====================================
HERO INNER
===================================== */
.me-home-hero-inner {
width: 100%;
max-width: 1120px;
margin: 0 auto;
padding: 42px 35px 38px;
box-sizing: border-box;
text-align: center;
}
/* =====================================
HERO LABEL
===================================== */
.me-home-hero-label {
display: block;
margin: 0 0 10px 0;
padding: 0;
border: 0 !important;
background: transparent !important;
box-shadow: none !important;
color: #019d9a;
font-family:
Arial,
Helvetica,
sans-serif;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.15em;
line-height: 1.5;
text-transform: uppercase;
}
/* =====================================
HERO TITLE
===================================== */
.me-home-hero h1 {
display: block;
margin: 0 auto 13px !important;
padding: 0 !important;
border: 0 !important;
border-top: 0 !important;
border-right: 0 !important;
border-bottom: 0 !important;
border-left: 0 !important;
box-shadow: none !important;
background: transparent !important;
color: #006b68;
font-family:
Georgia,
"Times New Roman",
serif;
font-size: 44px;
font-weight: 500;
letter-spacing: -0.012em;
line-height: 1.15;
text-align: center;
}
/* =====================================
REMOVE POSSIBLE MEDIAWIKI HEADING LINE
===================================== */
.me-home-hero h1::before,
.me-home-hero h1::after {
display: none !important;
content: none !important;
border: 0 !important;
background: none !important;
}
/* =====================================
HERO INSTITUTION
===================================== */
.me-home-hero-institution {
margin: 0 auto 12px;
color: #24343b;
font-family:
Arial,
Helvetica,
sans-serif;
font-size: 16px;
font-weight: 600;
letter-spacing: 0;
line-height: 1.55;
}
/* =====================================
HERO DESCRIPTION
===================================== */
.me-home-hero-description {
max-width: 700px;
margin: 0 auto;
color: #5b666b;
font-family:
Arial,
Helvetica,
sans-serif;
font-size: 15px;
font-weight: 400;
line-height: 1.65;
}
/* =====================================
HERO SEARCH
===================================== */
.me-home-search {
width: 100%;
max-width: 700px;
margin: 25px auto 0;
padding: 0;
background: transparent !important;
border: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
}
/* =====================================
SEARCH FORM
===================================== */
.me-home-search form {
display: flex;
align-items: stretch;
justify-content: center;
gap: 7px;
width: 100%;
margin: 0;
}
/* =====================================
SEARCH INPUT
===================================== */
.me-home-search input[type="search"] {
flex: 1 1 auto;
min-width: 0;
height: 46px;
box-sizing: border-box;
padding: 0 15px;
border: 1px solid #c4d4d2;
border-radius: 4px;
background: #ffffff;
color: #24343b;
font-family:
Arial,
Helvetica,
sans-serif;
font-size: 14px;
outline: none;
box-shadow: none;
transition:
border-color 0.18s ease,
box-shadow 0.18s ease;
}
.me-home-search input[type="search"]::placeholder {
color: #8a9498;
}
.me-home-search input[type="search"]:focus {
border-color: #019d9a;
box-shadow:
0 0 0 2px rgba(1, 157, 154, 0.10);
}
/* =====================================
SEARCH BUTTON
===================================== */
.me-home-search input[type="submit"] {
height: 46px;
box-sizing: border-box;
padding: 0 21px;
border: 1px solid #019d9a;
border-radius: 4px;
background: #019d9a;
color: #ffffff;
font-family:
Arial,
Helvetica,
sans-serif;
font-size: 14px;
font-weight: 700;
cursor: pointer;
transition:
background-color 0.18s ease,
border-color 0.18s ease;
}
.me-home-search input[type="submit"]:hover {
background: #006b68;
border-color: #006b68;
}
.me-home-search input[type="submit"]:focus {
outline: none;
box-shadow:
0 0 0 2px rgba(1, 157, 154, 0.15);
}
/* =====================================
HERO LINKS
===================================== */
.me-home-hero-links {
margin-top: 17px;
color: #7a8589;
font-family:
Arial,
Helvetica,
sans-serif;
font-size: 13px;
line-height: 1.5;
}
.me-home-hero-links a {
color: #006b68;
font-weight: 600;
text-decoration: none;
}
.me-home-hero-links a:hover {
color: #019d9a;
text-decoration: underline;
}
/* =====================================
EXISTING HERO IMAGE
===================================== */
.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;
}
/* =====================================
EXISTING HERO CONTENT
===================================== */
.me-hero {
background: #ffffff;
border: 0;
border-radius: 0;
text-align: center;
margin: 0 auto 45px;
padding: 25px 40px 35px;
}
.me-hero h1 {
font-family:
Georgia,
"Times New Roman",
serif;
font-size: 54px;
font-weight: normal;
color: #006b68;
margin: 0 auto 15px;
padding-bottom: 10px;
border-bottom: 0 !important;
}
.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
===================================== */
.featured-grid {
display: flex;
justify-content: center;
align-items: flex-start;
gap: 24px;
margin: 25px auto 55px;
}
.featured-item {
width: 300px;
flex: none;
text-align: center;
}
.featured-image {
height: 130px;
background: #f7f9f9;
border: 0;
border-radius: 0;
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-item h3 {
color: #006b68;
font-size: 21px;
margin: 15px 0 10px;
}
.featured-item p {
max-width: 240px;
margin: 0 auto;
font-size: 14px;
line-height: 1.55;
}
.featured-item a {
display: inline-block;
margin-top: 15px;
color: #006b68;
font-weight: bold;
text-decoration: none;
}
.featured-item a:hover {
color: #019d9a;
}
/* =====================================
ARTICLE
===================================== */
.me-article {
max-width: 900px;
margin: auto;
}
.me-article-header h1 {
font-family:
Georgia,
"Times New Roman",
serif;
font-size: 42px;
color: #006b68;
border-bottom: 0 !important;
padding-bottom: 15px;
}
.me-article-image {
text-align: center;
margin: 25px 0;
}
.me-article-image img {
max-width: 350px;
height: auto;
}
.me-summary {
background: #e7f5f4;
border-left: 4px solid #019d9a;
padding: 20px;
margin: 30px 0;
}
.me-section {
margin: 35px 0;
}
.me-section h2 {
color: #006b68;
border-bottom: 0 !important;
padding-bottom: 8px;
}
/* =====================================
NAVIGASI PENGETAHUAN
===================================== */
.me-navigation {
margin: 35px 0;
}
.me-navigation h2 {
color: #006b68;
font-size: 24px;
margin-bottom: 25px;
border-bottom: 0 !important;
padding-bottom: 10px;
}
.me-navigation-table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
.me-navigation-table th {
width: 180px;
text-align: left;
background: #e7f5f4;
padding: 12px;
border: 0;
font-weight: bold;
}
.me-navigation-table td {
padding: 12px;
border: 0;
}
.me-navigation-table a {
color: #1f5f8b;
}
.me-navigation-table a:hover {
color: #006b68;
}
.me-knowledge-navigation {
margin-top: 35px;
margin-bottom: 35px;
}
/* =====================================
JELAJAH PENGETAHUAN
===================================== */
.me-grid {
display: grid;
grid-template-columns:
repeat(3, minmax(0, 1fr));
gap: 24px;
width: 100%;
margin: 20px 0 45px;
align-items: stretch;
}
.me-card {
border: 1px solid #e1e8e7;
background: #ffffff;
padding: 20px;
box-sizing: border-box;
border-radius: 6px;
box-shadow: none;
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: #006b68;
text-decoration: none;
font-weight: bold;
}
.me-card a:hover {
color: #019d9a;
}
/* =====================================
RESPONSIVE
===================================== */
@media (max-width: 1000px) {
#maliki-top-navigation
.maliki-nav-inner {
justify-content: flex-start;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
#maliki-top-navigation
.maliki-nav-button {
padding: 13px 13px;
font-size: 13px;
}
}
@media (max-width: 900px) {
.featured-grid {
flex-wrap: wrap;
}
.me-grid {
grid-template-columns:
repeat(2, minmax(0, 1fr));
}
.me-home-hero-inner {
padding: 46px 28px 38px;
}
.me-home-hero h1 {
font-size: 40px;
}
}
@media (max-width: 800px) {
#maliki-top-navigation {
overflow: visible;
}
#maliki-top-navigation
.maliki-nav-inner {
padding: 0 10px;
justify-content: flex-start;
overflow-x: auto;
}
#maliki-top-navigation
.maliki-nav-button {
padding: 12px 10px;
font-size: 13px;
}
#maliki-top-navigation
.maliki-nav-dropdown {
position: fixed;
left: 10px;
right: auto;
top: auto;
min-width: 0;
width: calc(100vw - 20px);
max-width: 360px;
border-radius: 8px;
box-shadow:
0 10px 30px rgba(0, 0, 0, 0.15);
}
.me-home-search form {
flex-direction: column;
}
.me-home-search input[type="search"],
.me-home-search input[type="submit"] {
width: 100%;
}
}
@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%;
}
.me-home-hero {
width: 100vw;
margin-left: 50%;
transform: translateX(-50%);
margin-top: 0;
border-radius: 0;
}
.me-home-hero-inner {
padding: 40px 20px 34px;
}
.me-home-hero h1 {
font-size: 34px;
line-height: 1.2;
}
.me-home-hero-institution {
font-size: 15px;
}
.me-home-hero-description {
font-size: 14px;
line-height: 1.7;
}
.me-home-search {
margin-top: 23px;
}
}
@media (max-width: 600px) {
.me-grid {
grid-template-columns: 1fr;
}
#maliki-top-navigation
.maliki-nav-inner {
overflow-x: auto;
padding: 0 6px;
}
#maliki-top-navigation
.maliki-nav-button {
font-size: 12px;
padding: 11px 9px;
}
#maliki-top-navigation
.maliki-nav-dropdown {
left: 8px;
width: calc(100vw - 16px);
}
.me-home-hero-label {
font-size: 10px;
letter-spacing: 0.12em;
}
.me-home-hero h1 {
font-size: 30px;
}
.me-home-hero-inner {
padding: 34px 18px 30px;
}
}
/* =========================================
WIKIEDITOR — ISI ARTIKEL
========================================= */
.me-free-text,
.me-free-text textarea,
.wikiEditor-ui-text,
.wikiEditor-ui-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
========================================= */
#mw-fr-reviewform {
display: none !important;
}