X-Git-Url: https://juplo.de/gitweb/?p=website;a=blobdiff_plain;f=src%2Fmain%2Fwebapp%2Fless%2Fphone%2Flayout.less;h=f2c4a2387c3e91c46e0744005b8da0b8e81003da;hp=a106ad594b640d029a88ca5917f0bead8cb93be0;hb=7967465800f4235b769e7151d5986ca92fc2a0ff;hpb=02dfc8d7c054fa2c3f89eae7594f3262817d62f2 diff --git a/src/main/webapp/less/phone/layout.less b/src/main/webapp/less/phone/layout.less index a106ad59..f2c4a238 100644 --- a/src/main/webapp/less/phone/layout.less +++ b/src/main/webapp/less/phone/layout.less @@ -21,7 +21,6 @@ body .menu .content > .main { border-top-style: none; - margin-top: -.4375em; /** -8px + 1px (für den entfernten Rahmen) -- nur damit es exakt so positioniert ist, wie im Tablet-Layout */ } @@ -30,7 +29,7 @@ body #header { - margin: .5em 1em 0 1.25em; + margin: .5em 1em 1em 1.25em; } #header > hr.h { @@ -60,6 +59,10 @@ body #menu > li.m { float: left; + @media (max-width: 359px) + { + float: none; + } list-style-type: none; padding: .25em 1em 0 0; } @@ -122,6 +125,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 +135,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