MediaWiki:Common.css: Perbedaan antara revisi
Tampilan
Tidak ada ringkasan suntingan |
Tidak ada ringkasan suntingan |
||
(3 revisi perantara oleh pengguna yang sama tidak ditampilkan) | |||
Baris 16: | Baris 16: | ||
cursor: pointer; | cursor: pointer; | ||
font-weight: 600; | font-weight: 600; | ||
text-decoration: none; | text-decoration: none; | ||
padding: 0 0.5em; | padding: 0 0.5em; | ||
Baris 57: | Baris 56: | ||
display: block; | display: block; | ||
padding: 0.5em 1em; | padding: 0.5em 1em; | ||
text-decoration: none; | text-decoration: none; | ||
white-space: nowrap; | white-space: nowrap; | ||
Baris 64: | Baris 62: | ||
.custom-sites-dropdown .dropdown-menu li a:hover { | .custom-sites-dropdown .dropdown-menu li a:hover { | ||
background: #f0f0f0; | background: #f0f0f0; | ||
text-decoration: underline; | |||
} | } | ||
Revisi terkini sejak 19 Oktober 2025 20.22
/* ================================
🌐 Dropdown Header Menu (Fix Bullet)
================================ */
/* Hilangkan bullet marker pada dropdown custom */
li.vector-menu-content-item.vector-dropdown.custom-sites-dropdown::marker {
content: none;
}
/* Tombol dropdown */
.custom-sites-dropdown .dropdown-toggle {
display: inline-flex;
align-items: center;
cursor: pointer;
font-weight: 600;
text-decoration: none;
padding: 0 0.5em;
}
.custom-sites-dropdown .dropdown-toggle:hover {
text-decoration: underline;
}
/* Isi dropdown */
.custom-sites-dropdown .dropdown-menu {
display: none;
position: absolute;
right: 0;
top: 100%;
background: #fff;
list-style: none;
margin: 0;
padding: 0.5em 0;
min-width: 280px;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
border-radius: 8px;
z-index: 999;
opacity: 0;
transform: translateY(-5px);
transition: opacity 0.15s ease, transform 0.15s ease;
}
.custom-sites-dropdown.open .dropdown-menu {
display: block;
opacity: 1;
transform: translateY(0);
}
.custom-sites-dropdown .dropdown-menu li {
margin: 0;
}
.custom-sites-dropdown .dropdown-menu li a {
display: block;
padding: 0.5em 1em;
text-decoration: none;
white-space: nowrap;
}
.custom-sites-dropdown .dropdown-menu li a:hover {
background: #f0f0f0;
text-decoration: underline;
}
/* Tampilkan kembali link login/user */
li#pt-login,
li#pt-userpage,
li#pt-anonlogin {
display: list-item !important;
list-style: none;
font-size: initial !important;
}