Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css

From Wikipedia, the free encyclopedia

/*

*/
#p-cactions ul
{
        overflow:visible;
}

#p-cactions li
{
        border: 2px solid lightgrey;
        position: relative;
        float: left;
        -moz-border-radius-topleft: .5em;
        -moz-border-radius-topright: .5em;
}

.tabmenu ul li
{
        display: block;
        width: 100% !important;
        min-width: 10em !important;
        border: 0px;
        margin: 0px;
        padding: .1em;
        border: 1px solid #aaaaaa !important;
        border-collapse: collapse;
        text-align: center;
        background-color: #F8FCFF !important;
        white-space: nowrap !important;
}

.tabmenu ul
{
        display: none;
        width: auto;
        z-index: 2;
        position: absolute;
        top: 1em;
        margin: 0px;
        background-color: grey;
}
.tabmenu * {
        -moz-border-radius: 0px !important;
}
.tabmenu:hover ul
{
        display: block;
}

.tabmenu ul li:hover
{
        background-color: #e8ecef !important;
}
.tabmenu ul a {
        background-color: transparent !important;
}
/*

*/