MediaWiki:Common.css: Difference between revisions

No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
Line 100: Line 100:
.infobox {
.infobox {
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
color: black;
color: #202122;
width: 100%;
padding: 0.2em;
padding: 0.2em;
font-size: 88%;
font-size: 88%;
line-height: 1.5em;
line-height: 1.5em;
border-spacing: 3px;
/* Mengubah border-collapse agar garis pemisah (border-bottom) bisa tersambung rapi */
border-collapse: collapse;  
margin: 0.5em 0;
margin: 0.5em 0;
}
}
Line 112: Line 112:
.infobox {
.infobox {
background-color: var(--background-color-neutral-subtle, #f8f9fa);
background-color: var(--background-color-neutral-subtle, #f8f9fa);
    }
}
}
}


Line 146: Line 146:
.infobox-image,
.infobox-image,
.infobox-navbar,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox th,
.infobox td {
.infobox td {
vertical-align: top;
vertical-align: top;
/* Menambahkan garis pemisah horizontal tipis di setiap baris data */
border-top: 1px solid #a2a9b1;
padding: 4px 6px;
}
/* Memastikan baris pertama (Judul/Foto) tidak memiliki garis pemisah di bagian atasnya */
.infobox tr:first-child th,
.infobox tr:first-child td {
border-top: 0;
}
}


.infobox-label,
.infobox-label,
.infobox-data,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox th,
.infobox td {
.infobox td {
/* @noflip */
/* @noflip */
text-align: center;
/* Mengembalikan text-align ke kiri agar susunan parameter data rapi lurus */
text-align: left;
}
 
/* Mengunci label kiri agar posisinya condong ke kiri atau kanan secara proporsional */
.infobox-label,
.infobox th {
font-weight: bold;
}
}


Line 164: Line 178:
.infobox .infobox-above,
.infobox .infobox-above,
.infobox .infobox-title,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
.infobox caption {
font-size: 125%;
font-size: 125%;
font-weight: bold;
font-weight: bold;
text-align: center;
text-align: center;
border-top: 0; /* Menghilangkan border atas untuk judul utama */
}
}


.infobox-title,
.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
.infobox caption {
padding: 0.2em;
padding: 0.4em;
}
}