X-Git-Url: https://juplo.de/gitweb/?p=website;a=blobdiff_plain;f=src%2Fmain%2Fwebapp%2Fless%2Fphone%2Flayout.less;h=405aa5ff6783e3e44217ece800381bb0bd8ef8cb;hp=a106ad594b640d029a88ca5917f0bead8cb93be0;hb=6482c022bf5777165d20d1cfe58f3668f8699dba;hpb=02dfc8d7c054fa2c3f89eae7594f3262817d62f2 diff --git a/src/main/webapp/less/phone/layout.less b/src/main/webapp/less/phone/layout.less index a106ad59..405aa5ff 100644 --- a/src/main/webapp/less/phone/layout.less +++ b/src/main/webapp/less/phone/layout.less @@ -60,6 +60,10 @@ body #menu > li.m { float: left; + @media (max-width: 359px) + { + float: none; + } list-style-type: none; padding: .25em 1em 0 0; } @@ -122,6 +126,7 @@ body font-family: 'symbols'; font-size: 378%; /** Vielfaches von 14px */ padding: 0 0 1em 0; + font-weight: normal; } #breadcrumb > a.hide:hover, #breadcrumb > a.hide:focus, @@ -131,6 +136,54 @@ body } +/** Inhalts-Sprunglink reaktivieren und stylen */ + +#nav:target +{ + position: absolute; + top: 0; + right: 0; + left: 0; + padding: .6em 1em 999em 2.5em; + margin-bottom: -993em; + z-index: 5; + background-color: @heller; + #menu + { + padding-top: 0; + padding-bottom: .75em; + } + > a.hide + { + position: absolute; + left: auto; + top: .8em; + right: 1.5em; + display: block; + overflow: hidden; + width: 3.5em; + height: 3em; + line-height: 3em; + color: @hintergrund; + border-style: none; + } + > a.hide:before + { + content: ""; + font-family: 'symbols'; + font-size: 378%; /** Vielfaches von 14px */ + padding: 0 0 1em 0; + margin: 0 1em 0 0; + } + > a.hide:hover, + > a.hide:focus, + > a.hide:active + { + color: @dunkler; + } +} + + /** Footer positionieren */ #footer