MediaWiki:Common.css

From HandWiki Stage
Revision as of 16:52, 9 May 2026 by Harold (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* HandWiki Stage top roll-down navigation */
body {
    border-top: 8px solid red !important;
}
#handwiki-topnav {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0 0 12px 0;
    padding: 8px 10px;
    border-bottom: 1px solid #c8ccd1;
    background: #fff8cc;
    font-size: 14px;
}

.handwiki-dropdown {
    position: relative;
    display: inline-block;
}

.handwiki-dropdown-button {
    border: 1px solid #a2a9b1;
    background: #ffffff;
    padding: 6px 12px;
    cursor: pointer;
    min-width: 170px;
    text-align: left;
    font-weight: bold;
}

.handwiki-dropdown-content {
    display: none;
    position: absolute;
    z-index: 9999;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid #a2a9b1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    padding: 8px 0;
}

.handwiki-dropdown:hover .handwiki-dropdown-content {
    display: block;
}

.handwiki-dropdown-content a {
    display: block;
    padding: 6px 12px;
    text-decoration: none;
}

.handwiki-dropdown-content a:hover {
    background: #eaecf0;
}