Jump to content

MediaWiki:Common.css: Difference between revisions

From Made Juli
No edit summary
No edit summary
Line 4: Line 4:
     max-height: 150px; /* Ubah angka ini sesuai keinginan Anda */
     max-height: 150px; /* Ubah angka ini sesuai keinginan Anda */
     width: auto;      /* Lebar otomatis mengikuti proporsi gambar */
     width: auto;      /* Lebar otomatis mengikuti proporsi gambar */
}
/* Menambahkan teks di bawah logo */
#p-logo::after {
    content: "Nama Web Anda"; /* Ganti dengan nama web Anda */
    display: block;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #333333;
    margin-top: 5px;
}
/* Menyesuaikan kontainer agar teks tidak tertutup sidebar */
#p-logo {
    height: auto !important;
    margin-bottom: 20px;
}
}

Revision as of 10:03, 9 September 2026

/* CSS placed here will be applied to all skins */
/* Mengatur tinggi maksimum logo di header bar */
.mw-logo-container .mw-logo-icon {
    max-height: 150px; /* Ubah angka ini sesuai keinginan Anda */
    width: auto;      /* Lebar otomatis mengikuti proporsi gambar */
}

/* Menambahkan teks di bawah logo */
#p-logo::after {
    content: "Nama Web Anda"; /* Ganti dengan nama web Anda */
    display: block;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #333333;
    margin-top: 5px;
}

/* Menyesuaikan kontainer agar teks tidak tertutup sidebar */
#p-logo {
    height: auto !important;
    margin-bottom: 20px;
}