Jump to content

MediaWiki:Common.css: Difference between revisions

From English Mippedia, general encyclopedia
No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
 
(12 intermediate revisions by the same user not shown)
Line 97: Line 97:
}
}


/*
/* ====== INFOBOX STYLE ====== */
* This is the CSS common to all desktop skins on en.Wikipedia.
* Styling inside .mw-parser-output should generally use TemplateStyles.
*/
/* Reset italic styling set by user agent */
cite,
dfn {
font-style: inherit;
}


/* Straight quote marks for <q> */
.infobox {
q {
    border: 1px solid #a2a9b1;
quotes: '"' '"' "'" "'";
    border-collapse: collapse;
    background-color: #f8f9fa;
    color: #000;
    margin: 1em 0 1em 1em;
    padding: 0;
    width: 100%;
    max-width: 330px; /* biar mobile rapi */
    float: right;
    clear: right;
    font-size: 65%;/* ukuran HP */
}
}


/* Avoid collision of blockquote with floating elements by swapping margin and padding */
/* HEADER ATAS (TITLE) */
blockquote {
/* Warna biru muda + teks rata tengah */
overflow: hidden;
.infobox-title, .infobox .infobox-above {
margin: 1em 0;
    background: #cedff2;
padding: 0 40px;
    text-align: center;
    font-size: 120%;
    font-weight: bold;
    padding: 8px;
    border-bottom: 1px solid #a2a9b1;
}
}


/* Consistent size for <small>, <sub> and <sup> */
/* ====== GARIS SETIAP BARIS ====== */
small {
.infobox td, .infobox th {
font-size: 85%;
    border-top: 1px solid #a2a9b1 !important;
    padding: 6px;
}
}


.mw-body-content sub,
/* LABEL KIRI */
.mw-body-content sup {
.infobox-label {
font-size: 80%;
    font-weight: bold;
    width: 40%;
    vertical-align: top;
}
}


/* Same spacing for indented and unindented paragraphs on talk pages */
/* Data infobox rata tengah */
.ns-talk .mw-body-content dd {
.infobox-label {
margin-top: 0.4em;
    text-align: center !important;
margin-bottom: 0.4em;
}
}


/* Reduce page jumps by hiding collapsed/dismissed content */
/* DATA KANAN */
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),
.infobox-data {
 
    width: 50%;
/* Avoid FOUC/reflows on collapsed elements. */
/* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */
/* TODO: Use :is() selector at some reasonable future when support is good for Most Clients */
/* Reference: https://gerrit.wikimedia.org/g/mediawiki/core/+/ecda06cb2aef55b77c4b4d7ecda492d634419ead/resources/src/jquery/jquery.makeCollapsible.styles.less#75 */
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > p,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > table,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > thead + tbody,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) tr:not( :first-child ),
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) .mw-collapsible-content,
 
/* Hide charinsert base for those not using the gadget */
#editpage-specialchars {
display: none;
}
}


/* Different margin on references */
/* Data infobox rata tengah */
.references {
.infobox-data {
margin-bottom: 0.5em;
    text-align: center !important;
}
}


/* Cite customizations */
/* BAGIAN HEADING DALAM (seperti “Informasi latar belakang”) */
span[ rel="mw:referencedBy" ] {
.infobox-header, .infobox-subheader {
counter-reset: mw-ref-linkback 0;
    background: #e2e6ea;
    font-weight: bold;
    text-align: center;
    padding: 6px;
    border-top: 1px solid #a2a9b1;
    border-bottom: 1px solid #a2a9b1;
}
}


span[ rel='mw:referencedBy' ] > a::before {
/* GAMBAR */
content: counter( mw-ref-linkback, lower-alpha );
.infobox img {
font-size: 80%;
    width: 100%;
font-weight: bold;
    height: auto;
font-style: italic;
    display: block;
}
}


a[ rel="mw:referencedBy" ]::before {
/* MOBILE FIX */
font-weight: bold;
@media screen and (max-width: 600px) {
content: "^";
    .infobox {
        float: none;
        margin: 0 auto 1em;
        width: 100%;
    }
}
}


span[ rel="mw:referencedBy" ]::before {
/* ============================================
content: "^ ";
  FIX #1 — HEADER BIRU TIDAK RATA TENGAH
  ============================================ */
.infobox-title,
.infobox .infobox-above {
    text-align: center !important; /* paksa center */
    font-size: 100% !important;   /* biar besar seperti Wikipedia mobile */
}
}


/* Styling for jQuery makeCollapsible, matching that of collapseButton */
/* ============================================
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {
  FIX #2 — INFOBOX TERLALU KECIL DI HP
font-weight: normal;
  BIKIN LEBARNYA 100% SEPERTI DI WIKIPEDIA MOBILE
padding-right: 0.2em;
  ============================================ */
padding-left: 0.2em;
@media screen and (max-width: 600px) {
}
    .infobox {
        width: 100% !important;      /* full width */
        max-width: 100% !important; /* hilangin batas 330px */
        margin: 0 auto 1em !important;
        float: none !important;     /* biar tidak mengecil ke kanan */
        font-size: 100% !important; /* otomatis sesuai layar */
    }


.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
    /* gambar jangan mepet kiri-kanan */
/* @noflip */
    .infobox img {
float: left;
        width: 100% !important;
        height: auto !important;
    }
}
}


/* Lists in wikitable data cells are always left-aligned */
/* ============================================
.wikitable td ul,
  FIX #3 — JARAK ANTAR BORDER TERLALU BESAR
.wikitable td ol,
  ============================================ */
.wikitable td dl {
.infobox td, .infobox th {
/* @noflip */
    padding: 8px 10px !important;
text-align: left;
}
}


/* Change the external link icon to a PDF icon for all PDF files */
/* Mppedia Secret Key Hider */
.mw-parser-output a[href$=".pdf"].external,
.mippedia-hidden-key {
.mw-parser-output a[href*=".pdf?"].external,
    display: none !important;
.mw-parser-output a[href*=".pdf#"].external,
    visibility: hidden !important;
.mw-parser-output a[href$=".PDF"].external,
.mw-parser-output a[href*=".PDF?"].external,
.mw-parser-output a[href*=".PDF#"].external {
background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat right;
/* @noflip */
padding: 8px 18px 8px 0;
}
}


/* System messages styled similarly to fmbox */
/* Container Utama Ambox */
/* for .mw-warning-with-logexcerpt, behavior of this line differs between
table.ambox {
* the edit-protected notice and the special:Contribs for blocked users
    width: 100% !important;
* The latter has specificity of 3 classes so we have to triple up here.
    margin: 1px 0 !important;
*/
    border: 1px solid #a2a9b1;
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt,
    border-left: 10px solid #f28500 !important;
div.mw-lag-warn-high,
    background-color: #fbfbfb;
div.mw-cascadeprotectedwarning,
    display: table;
div#mw-protect-cascadeon {
    position: relative; /* Wajib ada buat naruh elemen di pojok */
clear: both;
    border-collapse: collapse;
margin: 0.2em 0;
border: 1px solid #bb7070;
background-color: var(--background-color-error-subtle, #ffdbdb);
padding: 0.25em 0.9em;
box-sizing: border-box;
}
}


/* default colors for partial block message */
/* Area Teks Utama */
/* gotta get over the hump introduced by the triple class above */
.ambox .mbox-text {
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt {
    padding: 12px 15px 40px 10px !important; /* Padding bawah gede buat ruang link */
border-color: var(--border-color-warning, #ab7f2a);
    font-size: 14px;
background-color: var(--background-color-warning-subtle, #fef6e7);
    line-height: 1.5;
}
}


/* Minimum thumb width */
/* Link 'Pelajari selengkapnya' - PAKSA KE KANAN BAWAH */
@media (min-width: 640px) {
.ambox-learn-more {
figure[typeof~='mw:File/Thumb'],
    display: block !important;
figure[typeof~='mw:File/Frame'],
    position: absolute; /* Jurus rahasia buat pojokan */
.thumbinner {
    bottom: 8px;
min-width: 100px;
    right: 15px; /* Pindah ke kanan */
}
    color: #36c !important;
    font-weight: normal;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
}
}


/* Prevent floating boxes from overlapping any category listings,
.ambox-learn-more:hover {
  file histories, edit previews, and edit [Show changes] views. */
    text-decoration: underline;
#mw-subcategories,
#mw-pages,
#mw-category-media,
#filehistory,
#wikiPreview,
#wikiDiff {
clear: both;
}
}


/* Hide stuff meant for accounts with special permissions. Made visible again in
/* Sembunyikan teks panjang secara default */
  [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-abusefilter.css]],
.ambox-text-long, .hide-when-compact {
  [[MediaWiki:Group-abusefilter-helper.css]], [[MediaWiki:Group-patroller.css]],
    display: none;
  [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
  [[MediaWiki:Group-extendedconfirmed.css]], [[Mediawiki:Group-autoconfirmed.css]], and [[MediaWiki:Group-user.css]] */
.checkuser-show,
.sysop-show,
.abusefilter-show,
.abusefilter-helper-show,
.patroller-show,
.templateeditor-show,
.extendedmover-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.user-show {
display: none;
}
}


/* Hide the redlink generated by {{Editnotice}},
/* Tampilan pas teks lengkap muncul (setelah diklik) */
  this overrides the ".sysop-show { display: none; }" above that applies
.ambox-active .ambox-text-long {
  to the same link as well. See [[phab:T45013]]
    display: block !important;
 
    margin-top: 10px;
  Hide the images in editnotices to keep them readable in VE view.
    padding-top: 8px;
  Long term, editnotices should become a core feature so that they can be designed responsive. */
    border-top: 1px solid #eaecf0;
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
.ve-ui-mwNoticesPopupTool-item .mbox-image,
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
display: none !important;
}
}


/* Remove bullets when there are multiple edit page warnings */
/* Kalau mau bener-bener ilangin ikonnya biar kayak contoh lu */
ul.permissions-errors {
.ambox td.mbox-image {
margin: 0;
    display: none !important;
}
}


ul.permissions-errors > li {
/* ==========================================================
list-style: none;
  🏠 TATA LETAK HALAMAN UTAMA (MAIN PAGE LAYOUT OPTIMIZATION)
}
  ========================================================== */


/* larger inline math */
/* Menghilangkan padding bawaan container utama khusus di Halaman Utama */
span.mwe-math-mathml-inline {
.page-Halaman_Utama #content,
font-size: 118%;
.page-Halaman_Utama #mw-content-text .mw-parser-output {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
}


/* Make <math display="block"> be left aligned with one space indent for
/* Memaksa kotak selamat datang (tabel) naik serapat mungkin ke atas */
* compatibility with style conventions
.page-Halaman_Utama table.mp-box {
*/
    margin-top: -15px !important; /* Menarik kotak ke atas untuk memotong sisa margin bawaan skin */
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
margin-left: 1.6em !important;
margin-top: 0.6em;
margin-bottom: 0.6em;
}
}


.mwe-math-mathml-display math {
/* Memastikan elemen judul bawaan yang tersembunyi tidak memakan space ruang */
display: inline;
.page-Halaman_Utama #firstHeading,
.page-Halaman_Utama .page-heading {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    height: 0 !important;
    overflow: hidden;
}
}


@media screen {
#siteSub {
/* Put a chequered background behind images, only visible if they have transparency,
* except on main, user, and portal namespaces
*/
body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img {
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
 
/* Display "From Wikipedia, the free encyclopedia" in skins that support it,
  do not apply to print mode */
#siteSub {
display: block;
display: block;
}
}
/* Make the list of references smaller
* Keep in sync with Template:Refbegin/styles.css
* And Template:Reflist/styles.css
*/
.references {
font-size: 90%;
}
}
/* Hide FlaggedRevs notice UI when there are no pending changes */
.flaggedrevs_draft_synced,
.flaggedrevs_stable_synced,
/* "Temporary" to remove links in sidebar T255381 */
#t-upload,
/* Hide broken download box on Special:Book pending T285400 */
.mw-special-Book #coll-downloadbox {
display: none;
}
/*
* BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS;
* SEE [[MediaWiki talk:Common.css/to do]]
* CSS is separated by component (which is why media queries are not joined)
*/
/* Infoboxes */
.infobox {
border: 1px solid #a2a9b1;
color: black;
padding: 0.2em;
font-size: 88%;
line-height: 1.5em;
border-spacing: 3px;
margin: 0.5em 0;
}
@media screen {
.infobox {
background-color: var(--background-color-neutral-subtle, #f8f9fa);
    }
}
@media (max-width: 640px) {
.infobox {
width: 100%;
}
   
.infobox .nowrap {
white-space: normal;
}
}
@media (min-width: 640px) {
.infobox {
/* @noflip */
margin-left: 1em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
width: 22em;
}
}
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
vertical-align: top;
}
.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
/* @noflip */
text-align: left;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
padding: 0.2em;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}
/* Normal font styling for wikitable row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row],
.wikitable.plainrowheaders th[scope=rowgroup] {
font-weight: normal;
/* @noflip */
text-align: left;
}
/* Remove underlines from certain links */
.nounderlines a,
.IPA a:link,
.IPA a:visited {
text-decoration: none !important;
}
/* Prevent line breaks in silly places where desired (nowrap)
  and links when we don't want them to (nowraplinks a) */
.nowrap,
.nowraplinks a {
white-space: nowrap;
}
/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
white-space: normal;
}
/* texhtml class for inline math (based on generic times-serif class) */
/* remove spans when this is TemplateStyled */
span.texhtml {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
font-size: 118%;
line-height: 1;
/* Force tabular and lining display for texhtml */
font-variant-numeric: lining-nums tabular-nums;
font-kerning: none;
}
span.texhtml span.texhtml {
font-size: 100%;
}
@media (min-width: 640px) {
span.texhtml {
white-space: nowrap;
}
}
/* Prevent flags in tables from collapsing: Fix for T116318
* TODO: Remove when [[phab:T368469]] merges [[phab:T367463]] for the other skins
*/
@media (max-width: 640px) {
.flagicon a > img,
.flagicon noscript > img {
max-width: none !important;
}
}
@media screen {
.nochecker .gallerybox .thumb img {
background-image: none;
}
}
/*
* Put anything you mean to be a sitewide addition above the TemplateStyles
* comment above.
*/

Latest revision as of 17:04, 26 September 2026

/* --- FIX UKURAN DAN SKALA LOGO (UNTUK SEMUA SKIN) --- */

/* Menargetkan elemen wadah logo */
#p-logo {
    /* Memaksa elemen wadah memiliki ukuran standar */
    width: 135px;
    height: 135px;
}

/* Menargetkan elemen link di dalam wadah logo */
#p-logo a, .mw-wiki-logo {
    /* Memaksa ukuran area gambar agar sesuai */
    width: 135px !important;
    height: 135px !important;
    
    /* Memastikan gambar diskala (terutama untuk SVG) */
    background-size: contain !important;
    
    /* Memastikan gambar berada di tengah dan tidak berulang */
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* ---------- CAPTCHA STYLING ---------- */
.captcha-code {
  display: inline-block;
  padding: 10px 16px;
  font-size: 1.8em;
  font-weight: 700;
  font-family: monospace;
  border-radius: 10px;
  letter-spacing: 4px;
  user-select: none;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  margin: 10px auto;
  text-align: center;
  animation: fadeIn 0.4s ease-in-out;
}

/* Bikin background captcha punya warna acak */
.captcha-code {
  background: linear-gradient(135deg, #f8f8f8, #e8e8e8);
  border: 1px solid #bbb;
  color: #2c3e50;
}

/* Variasi warna random */
.captcha-code:nth-child(3n) {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border-color: #90caf9;
  color: #0d47a1;
}
.captcha-code:nth-child(3n+1) {
  background: linear-gradient(135deg, #f1f8e9, #dcedc8);
  border-color: #aed581;
  color: #33691e;
}
.captcha-code:nth-child(3n+2) {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  border-color: #ffb74d;
  color: #e65100;
}

/* Label agar center di HP */
.mw-confirmedit-captcha label {
  display: block;
  text-align: center;
  margin: 12px 0;
  font-size: 1em;
  font-weight: 500;
  color: #444;
}

/* Responsif untuk seluler */
@media (max-width: 720px) {
  .captcha-code { font-size: 2.2em; padding: 12px 18px; }
}

/* Animasi halus saat muncul */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

/* === Hilangkan judul "Halaman Utama" di tampilan MobileFrontend === */
.page-Main_Page #section_0,
.page-Main_Page .content-header,
.page-Main_Page h1.firstHeading,
.page-Main_Page #firstHeading {
    display: none !important;
}

/* Opsional: rapikan jarak setelah header hilang */
.page-Main_Page .content {
    margin-top: 0 !important;
    padding-top: 0.5em !important;
}

/* ====== INFOBOX STYLE ====== */

.infobox {
    border: 1px solid #a2a9b1;
    border-collapse: collapse;
    background-color: #f8f9fa;
    color: #000;
    margin: 1em 0 1em 1em;
    padding: 0;
    width: 100%;
    max-width: 330px; /* biar mobile rapi */
    float: right;
    clear: right;
    font-size: 65%;/* ukuran HP */
}

/* HEADER ATAS (TITLE) */
/* Warna biru muda + teks rata tengah */
.infobox-title, .infobox .infobox-above {
    background: #cedff2;
    text-align: center;
    font-size: 120%;
    font-weight: bold;
    padding: 8px;
    border-bottom: 1px solid #a2a9b1;
}

/* ====== GARIS SETIAP BARIS ====== */
.infobox td, .infobox th {
    border-top: 1px solid #a2a9b1 !important;
    padding: 6px;
}

/* LABEL KIRI */
.infobox-label {
    font-weight: bold;
    width: 40%;
    vertical-align: top;
}

/* Data infobox rata tengah */
.infobox-label {
    text-align: center !important;
}

/* DATA KANAN */
.infobox-data {
    width: 50%;
}

/* Data infobox rata tengah */
.infobox-data {
    text-align: center !important;
}

/* BAGIAN HEADING DALAM (seperti “Informasi latar belakang”) */
.infobox-header, .infobox-subheader {
    background: #e2e6ea;
    font-weight: bold;
    text-align: center;
    padding: 6px;
    border-top: 1px solid #a2a9b1;
    border-bottom: 1px solid #a2a9b1;
}

/* GAMBAR */
.infobox img {
    width: 100%;
    height: auto;
    display: block;
}

/* MOBILE FIX */
@media screen and (max-width: 600px) {
    .infobox {
        float: none;
        margin: 0 auto 1em;
        width: 100%;
    }
}

/* ============================================
   FIX #1 — HEADER BIRU TIDAK RATA TENGAH
   ============================================ */
.infobox-title, 
.infobox .infobox-above {
    text-align: center !important; /* paksa center */
    font-size: 100% !important;    /* biar besar seperti Wikipedia mobile */
}

/* ============================================
   FIX #2 — INFOBOX TERLALU KECIL DI HP
   BIKIN LEBARNYA 100% SEPERTI DI WIKIPEDIA MOBILE
   ============================================ */
@media screen and (max-width: 600px) {
    .infobox {
        width: 100% !important;      /* full width */
        max-width: 100% !important;  /* hilangin batas 330px */
        margin: 0 auto 1em !important;
        float: none !important;      /* biar tidak mengecil ke kanan */
        font-size: 100% !important;  /* otomatis sesuai layar */
    }

    /* gambar jangan mepet kiri-kanan */
    .infobox img {
        width: 100% !important;
        height: auto !important;
    }
}

/* ============================================
   FIX #3 — JARAK ANTAR BORDER TERLALU BESAR
   ============================================ */
.infobox td, .infobox th {
    padding: 8px 10px !important;
}

/* Mppedia Secret Key Hider */
.mippedia-hidden-key {
    display: none !important;
    visibility: hidden !important;
}

/* Container Utama Ambox */
table.ambox {
    width: 100% !important;
    margin: 1px 0 !important;
    border: 1px solid #a2a9b1;
    border-left: 10px solid #f28500 !important;
    background-color: #fbfbfb;
    display: table;
    position: relative; /* Wajib ada buat naruh elemen di pojok */
    border-collapse: collapse;
}

/* Area Teks Utama */
.ambox .mbox-text {
    padding: 12px 15px 40px 10px !important; /* Padding bawah gede buat ruang link */
    font-size: 14px;
    line-height: 1.5;
}

/* Link 'Pelajari selengkapnya' - PAKSA KE KANAN BAWAH */
.ambox-learn-more {
    display: block !important;
    position: absolute; /* Jurus rahasia buat pojokan */
    bottom: 8px;
    right: 15px; /* Pindah ke kanan */
    color: #36c !important;
    font-weight: normal;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
}

.ambox-learn-more:hover {
    text-decoration: underline;
}

/* Sembunyikan teks panjang secara default */
.ambox-text-long, .hide-when-compact {
    display: none;
}

/* Tampilan pas teks lengkap muncul (setelah diklik) */
.ambox-active .ambox-text-long {
    display: block !important;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #eaecf0;
}

/* Kalau mau bener-bener ilangin ikonnya biar kayak contoh lu */
.ambox td.mbox-image {
    display: none !important;
}

/* ==========================================================
   🏠 TATA LETAK HALAMAN UTAMA (MAIN PAGE LAYOUT OPTIMIZATION)
   ========================================================== */

/* Menghilangkan padding bawaan container utama khusus di Halaman Utama */
.page-Halaman_Utama #content,
.page-Halaman_Utama #mw-content-text .mw-parser-output {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Memaksa kotak selamat datang (tabel) naik serapat mungkin ke atas */
.page-Halaman_Utama table.mp-box {
    margin-top: -15px !important; /* Menarik kotak ke atas untuk memotong sisa margin bawaan skin */
}

/* Memastikan elemen judul bawaan yang tersembunyi tidak memakan space ruang */
.page-Halaman_Utama #firstHeading,
.page-Halaman_Utama .page-heading {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    height: 0 !important;
    overflow: hidden;
}

#siteSub {
		display: block;
	}