X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.css;h=52179a616c2615a5a2400e0c45e28a6fd5fc1f8d;hb=713a39f5e2b8f99d824273d49e64edb977333f69;hp=e21c919f4e465614ec21000c5993a27788bdfb62;hpb=8a93d4ef20815df18bfc1a580d3cffb8c6a31ea2;p=shellwiki diff --git a/themes/default.css b/themes/default.css index e21c919..52179a6 100644 --- a/themes/default.css +++ b/themes/default.css @@ -17,6 +17,7 @@ header, footer { } footer { + padding-top: .5em; position: absolute; bottom: 0; } @@ -26,16 +27,38 @@ main > :last-child { margin-bottom: 0; } +header h1, header h2, -header .menu { +header .menu, +footer .menu { display: inline-block; } -header .menu { list-style: none; } +header .menu, +footer .menu { list-style: none; } -header .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 {