MediaWiki:Gadget-toplinksDropdown.css

After saving, you may need to bypass your browser's cache to see the changes. For further information, see Wikipedia:Bypass your cache.

  • In most Windows and Linux browsers: Hold down Ctrl and press F5.
  • In Safari: Hold down ⇧ Shift and click the Reload button.
  • In Chrome and Firefox for Mac: Hold down both ⌘ Cmd+⇧ Shift and press R.
body:not(.mw-special-Preferences) #pt-mytalk,
body:not(.mw-special-Preferences) #pt-preferences,
body:not(.mw-special-Preferences) #pt-watchlist,
body:not(.mw-special-Preferences) #pt-mycontris,
body:not(.mw-special-Preferences) #pt-logout {
    display: none;
}

body:not(.mw-special-Preferences) #p-personal #pt-userpage {
    float: right;
    position: relative;
    padding-bottom: 1.4em;
    background-position: left center;
}

body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown {
    display: none;
    background: var(--body-light);
    border: 1px solid var(--body-border);
    padding: 1em;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 2.5em;
    right: 0;
    z-index: 10;
    transition: opacity 100ms;
}

body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown::before {
    content: '';
    position: absolute;
    border: 8px solid transparent;
    border-top: 0;
    border-bottom: 8px solid var(--body-border);
    top: -8px;
    right: 10px;
}

body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown::after {
    content: '';
    position: absolute;
    border: 11px solid transparent;
    border-top: 0;
    border-bottom: 11px solid var(--body-light);
    top: -6.5px;
    right: 7px;
}

body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown ul {
    padding: 0;
    list-style: none;
}

body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown li {
    display: block;
    width: 100%;
    font-size: 1.08333em;
    margin: 0;
    padding: 0;
}

body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown li a {
    color: var(--link-color);
    display: block;
    padding: 0.625em;
    box-sizing: border-box;
    background-image: none;
}

body:not(.mw-special-Preferences) #pt-userpage:hover .pt-userpage-dropdown {
    display: block;
}

body:not(.mw-special-Preferences) #pt-mytalk .mw-echo-alert {
    color: #6bc71f;
    background: none;
    font-weight: bold;
}