X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.css;h=52179a616c2615a5a2400e0c45e28a6fd5fc1f8d;hb=555fafa2e76b5c1a146e13529d398ee6c3e50287;hp=a8bdfbcea9b355b7bdb00487dc8de0f1db4eeb22;hpb=3635f9733d5834a9fe46b762a59292273494da3e;p=shellwiki diff --git a/themes/default.css b/themes/default.css index a8bdfbc..52179a6 100644 --- a/themes/default.css +++ b/themes/default.css @@ -37,13 +37,30 @@ footer .menu { header .menu, footer .menu { list-style: none; } -header .menu li, -footer .menu li { +header .menu > ul > li, +header .menu > ol > li, +footer .menu > ul > li, +footer .menu > ol > li { display: inline-block; margin-right: .5em; vertical-align: top; } +header .menu.dropdown li > ul, +header .menu.dropdown li > ol { + display: none; + position: absolute; + background-color: #FFF; + margin: 0; + padding: .25em .5em; + padding-left: 1.5em; + box-shadow: 0 0 .75em; +} +header .menu.dropdown li:hover > ul, +header .menu.dropdown li:hover > ol { + display: table; +} + main .pagemenu { list-style: none; background-color: #666;