MediaWiki:Common.css: Difference between revisions

From HandWiki Stage
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* HandWiki Stage top roll-down navigation */
/* HandWiki Stage top roll-down navigation */
body {
    border-top: 8px solid red !important;
}
#handwiki-topnav {
#handwiki-topnav {
     display: flex;
     display: flex;

Revision as of 16:52, 9 May 2026

/* 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;
}