MediaWiki:Common.css: Perbedaan antara revisi
Tampilan
Tidak ada ringkasan suntingan |
Tidak ada ringkasan suntingan |
||
Baris 1: | Baris 1: | ||
/* CSS yang ada di sini akan diterapkan pada semua kulit. */ | /* CSS yang ada di sini akan diterapkan pada semua kulit. */ | ||
/* Dropdown header menu */ | |||
.custom-sites-dropdown { | |||
position: relative; | |||
} | |||
.custom-sites-dropdown .dropdown-toggle { | |||
cursor: pointer; | |||
font-weight: 600; | |||
color: #0073aa; | |||
text-decoration: none; | |||
padding: 0 0.5em; | |||
} | |||
.custom-sites-dropdown .dropdown-toggle:hover { | |||
text-decoration: underline; | |||
} | |||
.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; | |||
} | |||
.custom-sites-dropdown.open .dropdown-menu { | |||
display: block; | |||
} | |||
.custom-sites-dropdown .dropdown-menu li { | |||
margin: 0; | |||
} | |||
.custom-sites-dropdown .dropdown-menu li a { | |||
display: block; | |||
padding: 0.5em 1em; | |||
color: #202122; | |||
text-decoration: none; | |||
white-space: nowrap; | |||
} | |||
.custom-sites-dropdown .dropdown-menu li a:hover { | |||
background-color: #f0f0f0; | |||
color: #0073aa; | |||
} |
Revisi per 19 Oktober 2025 07.39
/* CSS yang ada di sini akan diterapkan pada semua kulit. */
/* Dropdown header menu */
.custom-sites-dropdown {
position: relative;
}
.custom-sites-dropdown .dropdown-toggle {
cursor: pointer;
font-weight: 600;
color: #0073aa;
text-decoration: none;
padding: 0 0.5em;
}
.custom-sites-dropdown .dropdown-toggle:hover {
text-decoration: underline;
}
.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;
}
.custom-sites-dropdown.open .dropdown-menu {
display: block;
}
.custom-sites-dropdown .dropdown-menu li {
margin: 0;
}
.custom-sites-dropdown .dropdown-menu li a {
display: block;
padding: 0.5em 1em;
color: #202122;
text-decoration: none;
white-space: nowrap;
}
.custom-sites-dropdown .dropdown-menu li a:hover {
background-color: #f0f0f0;
color: #0073aa;
}