]> juplo.de Git - website/commitdiff
Layout für Smartphones und sehr kleine Bildschirmgrößen überarbeitet
authorKai Moritz <kai@juplo.de>
Fri, 17 Jan 2014 09:38:27 +0000 (10:38 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 19 Jan 2016 16:45:41 +0000 (17:45 +0100)
35 files changed:
src/main/webapp/WEB-INF/templates/html5page.jsp
src/main/webapp/WEB-INF/templates/navigation.jsp
src/main/webapp/WEB-INF/templates/test/navigation.jsp
src/main/webapp/WEB-INF/views/blog.jsp
src/main/webapp/WEB-INF/views/blog/article.jsp
src/main/webapp/WEB-INF/views/blog/comments.jsp
src/main/webapp/WEB-INF/views/projects.jsp
src/main/webapp/WEB-INF/views/projects/fix-swf.jsp
src/main/webapp/WEB-INF/views/projects/fix-swf/getting-started.jsp
src/main/webapp/WEB-INF/views/projects/fix-swf/overview.jsp
src/main/webapp/WEB-INF/views/projects/html-experimente.jsp
src/main/webapp/WEB-INF/views/projects/typo.jsp
src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-marginalinhalt.jsp
src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig.jsp
src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-marginalinhalt.jsp
src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig.jsp
src/main/webapp/WEB-INF/wro.xml
src/main/webapp/less/phone.less
src/main/webapp/less/phone/footer.less [new file with mode: 0644]
src/main/webapp/less/phone/head.less [new file with mode: 0644]
src/main/webapp/less/phone/layout.less [new file with mode: 0644]
src/main/webapp/less/phone/navigation.less
src/main/webapp/less/phone/typo.less
src/main/webapp/less/screen.less
src/main/webapp/less/screen/footer-sticky.less [new file with mode: 0644]
src/main/webapp/less/screen/footer.less
src/main/webapp/less/screen/layout.less
src/main/webapp/less/screen/navigation-submenu.less [new file with mode: 0644]
src/main/webapp/less/screen/navigation.less
src/main/webapp/less/tablet/layout.less
src/main/webapp/less/tiny.less
src/main/webapp/less/tiny/layout.less [new file with mode: 0644]
src/main/webapp/less/tiny/navigation.less [deleted file]
src/main/webapp/less/tiny/typo.less [deleted file]
src/main/webapp/less/variables.less

index 2e5cc80ac46084fb7f98d00952d383019153bee9..3169c65f74c469f523ac701142a7e307a0dc9785 100644 (file)
@@ -23,7 +23,7 @@
         <ol class="b">
           <t:insertAttribute name="breadcrumb"/>
         </ol>
-        <a class="hide" href="#navigation">Jump to navigation</a>
+        <a class="hide" href="#navigation" title="Show navigation menu">Jump to navigation</a>
         <hr class="b" />
       </div>
       <main class="content cf">
         </article>
         <div class="marginal">
           <nav id="nav">
-            <hr />
+            <hr class="n"/>
             <a id="navigation"></a>
             <t:insertAttribute name="navigation"/>
-            <hr />
+            <hr class="n"/>
           </nav>
           <t:insertAttribute name="marginalcontent" ignore="true"/>
         </div>
       </main>
       <footer id="footer">
-        <hr />
+        <hr class="f" />
         <ul id="footerlinks">
           <li class="f" id="copyright">© <strong>mo</strong> 2013</li>
           <li class="f"><a class="f" href="${base}contact.html">Contact</a></li>
index 385d09fc699c56b72e9055cef2e92263cad51c23..42ad581e2c6b16df15c8fcdd2c4480e5ecd0cbd4 100644 (file)
@@ -5,7 +5,7 @@
 <s:url var="base" value="/" />
 <h1 class="nav">Navigation</h1>
 <h2 class="nav menu">Section-Menu</h2>
-<ul id="menu">
+<ul id="menu" class="cf">
   <li class="m blog"><a href="${base}blog.html" class="m">Blog</a></li>
   <li class="m projects"><a href="${base}projects.html" class="m">Projects</a></li>
 </ul>
index 453d61db49baff6d63338802d97b1b925b2c3c6b..a21a3fe7a7f5a74fa4207cb9a897bd96ae00c7dc 100644 (file)
@@ -5,7 +5,7 @@
 <s:url var="base" value="/" />
 <h1 class="nav">Navigation</h1>
 <h2 class="nav menu">Section-Menu</h2>
-<ul id="menu">
+<ul id="menu" class="cf">
   <li class="m blog"><a href="${base}blog.html" class="m">Blog</a></li>
   <li class="m projects"><a href="${base}projects.html" class="m selected">Projects</a></li>
 </ul>
index b0721b1746ae1f89b36a61ed9ffe2b74b00e2e3b..3cb963a6856c598be39f07053bfa6c3cd0697f8b 100644 (file)
@@ -13,7 +13,7 @@
   <t:putAttribute name="navigation" type="string">
     <h1 class="nav">Navigation</h1>
     <h2 class="nav menu">Section-Menu</h2>
-    <ul id="menu">
+    <ul id="menu" class="cf">
       <li class="m blog"><strong class="m">Blog</strong></li>
       <li class="m projects"><a href="${base}projects.html" class="m">Projects</a></li>
     </ul>
index 96f49dc408ac1a7f07cdd4a57794d57baa562f4a..66927f74238b40c0951f9299c7e05f3b09347a11 100644 (file)
@@ -13,7 +13,7 @@
   <t:putAttribute name="navigation" type="string">
     <h1 class="nav">Navigation</h1>
     <h2 class="nav menu">Section-Menu</h2>
-    <ul id="menu">
+    <ul id="menu" class="cf">
       <li class="m blog"><strong class="m">Blog</strong></li>
       <li class="m projects"><a href="${base}projects.html" class="m">Projects</a></li>
     </ul>
index 79deaac2f5c9cedef146ffbfda567b85073680ae..aab1e618fcda781505238788c379f820e74da403 100644 (file)
@@ -13,7 +13,7 @@
   <t:putAttribute name="navigation" type="string">
     <h1 class="nav">Navigation</h1>
     <h2 class="nav menu">Section-Menu</h2>
-    <ul id="menu">
+    <ul id="menu" class="cf">
       <li class="m blog"><strong class="m">Blog</strong></li>
       <li class="m projects"><a href="${base}projects.html" class="m">Projects</a></li>
     </ul>
index 2161e9d4d0a89b43c8d95b90342f50c139b3426a..97244c0f55f12636b6eb664e519efb449a57f023 100644 (file)
@@ -13,7 +13,7 @@
   <t:putAttribute name="navigation" type="string">
     <h1 class="nav">Navigation</h1>
     <h2 class="nav menu">Section-Menu</h2>
-    <ul id="menu" class="s active">
+    <ul id="menu" class="s active cf">
       <li class="m blog"><a href="${base}blog.html" class="m">Blog</a></li>
       <li class="m projects"><strong class="m">Projects</strong></li>
     </ul>
index bcd68e89f5dacd591db8f770e84ed616d0190e99..aa1fc3c1d71af37469a1705199f53dca948d973b 100644 (file)
@@ -14,7 +14,7 @@
   <t:putAttribute name="navigation" type="string">
     <h1 class="nav">Navigation</h1>
     <h2 class="nav menu">Section-Menu</h2>
-    <ul id="menu">
+    <ul id="menu" class="cf">
       <li class="m blog"><a href="${base}blog.html" class="m">Blog</a></li>
       <li class="m projects"><a href="${base}projects.html" class="m selected">Projects</a></li>
     </ul>
index a74f2426b097a77f747b480913224f9e3111a4d4..c46f813d903221ff307b7793b02ffda7aa892dd7 100644 (file)
@@ -15,7 +15,7 @@
   <t:putAttribute name="navigation" type="string">
     <h1 class="nav">Navigation</h1>
     <h2 class="nav menu">Section-Menu</h2>
-    <ul id="menu">
+    <ul id="menu" class="cf">
       <li class="m blog"><a href="${base}blog.html" class="m">Blog</a></li>
       <li class="m projects"><a href="${base}projects.html" class="m selected">Projects</a></li>
     </ul>
index 84c9473602f12c189443a9626ae8a13e75c74745..d4490e8bab4e541d91ad418da8ae644f846faaf4 100644 (file)
@@ -15,7 +15,7 @@
   <t:putAttribute name="navigation" type="string">
     <h1 class="nav">Navigation</h1>
     <h2 class="nav menu">Section-Menu</h2>
-    <ul id="menu">
+    <ul id="menu" class="cf">
       <li class="m blog"><a href="${base}blog.html" class="m">Blog</a></li>
       <li class="m projects"><a href="${base}projects.html" class="m selected">Projects</a></li>
     </ul>
index 0adc55d95469e7890ba12380006d9ff2dafb2fe4..58d43d2eb4c396cc3abd6fb02b7ce2c32bfb94fe 100644 (file)
@@ -14,7 +14,7 @@
   <t:putAttribute name="navigation" type="string">
     <h1 class="nav">Navigation</h1>
     <h2 class="nav menu">Section-Menu</h2>
-    <ul id="menu">
+    <ul id="menu" class="cf">
       <li class="m blog"><a href="${base}blog.html" class="m">Blog</a></li>
       <li class="m projects"><a href="${base}projects.html" class="m selected">Projects</a></li>
     </ul>
index a42ff91c06b96222805194e9c42f4b17df82f185..b9092a6d21225b7523aab2abfe8294b66aae200a 100644 (file)
@@ -14,7 +14,7 @@
   <t:putAttribute name="navigation" type="string">
     <h1 class="nav">Navigation</h1>
     <h2 class="nav menu">Section-Menu</h2>
-    <ul id="menu">
+    <ul id="menu" class="cf">
       <li class="m blog"><a href="${base}blog.html" class="m">Blog</a></li>
       <li class="m projects"><a href="${base}projects.html" class="m selected">Projects</a></li>
     </ul>
index c719c8bc0964b4c757c740df5deadc28019d84b4..08d4d54cf0bb69863f47ee94f44792ea3abb88d6 100644 (file)
@@ -10,7 +10,7 @@
   <t:putAttribute name="navigation" type="string">
     <h1 class="nav">Navigation</h1>
     <h2 class="nav menu">Section-Menu</h2>
-    <ul id="menu">
+    <ul id="menu" class="cf">
       <li class="m blog"><a href="${base}blog.html" class="m">Blog</a></li>
       <li class="m projects"><a href="${base}projects.html" class="m">Projects</a></li>
     </ul>
index 795a29a47bd92dd70099b795922e67219733341d..ca8c22371de750ea5f5adbe1b29a344240d3ad1e 100644 (file)
@@ -10,7 +10,7 @@
   <t:putAttribute name="navigation" type="string">
     <h1 class="nav">Navigation</h1>
     <h2 class="nav menu">Section-Menu</h2>
-    <ul id="menu">
+    <ul id="menu" class="cf">
       <li class="m blog"><a href="${base}blog.html" class="m">Blog</a></li>
       <li class="m projects"><a href="${base}projects.html" class="m">Projects</a></li>
     </ul>
index 902f390d04063db1d88e8019f344bcdfa795c576..8f9bd6b697bf49684c358accbb3e1086e470844c 100644 (file)
@@ -9,7 +9,7 @@
   <t:putAttribute name="navigation" type="string">
     <h1 class="nav">Navigation</h1>
     <h2 class="nav menu">Section-Menu</h2>
-    <ul id="menu">
+    <ul id="menu" class="cf">
       <li class="m blog"><a href="${base}blog.html" class="m">Blog</a></li>
       <li class="m projects"><a href="${base}projects.html" class="m">Projects</a></li>
     </ul>
index 521b673c8f5d2969d29843371d0f829e11cefb33..83a74ded1b13cbede6908daeb0634b52cf23ea3d 100644 (file)
@@ -9,7 +9,7 @@
   <t:putAttribute name="navigation" type="string">
     <h1 class="nav">Navigation</h1>
     <h2 class="nav menu">Section-Menu</h2>
-    <ul id="menu">
+    <ul id="menu" class="cf">
       <li class="m blog"><a href="${base}blog.html" class="m">Blog</a></li>
       <li class="m projects"><a href="${base}projects.html" class="m">Projects</a></li>
     </ul>
index 465050747062239ce79517afd39d27b972466680..e4e5f541838226a88be15168c0339fc127eb59be 100644 (file)
     <css>/less/screen/layout.less</css>
     <css>/less/screen/head.less</css>
     <css>/less/screen/navigation.less</css>
+    <css>/less/screen/navigation-submenu.less</css>
     <css>/less/screen/marginal.less</css>
     <css>/less/screen/footer.less</css>
+    <css>/less/screen/footer-sticky.less</css>
+    <css>/less/tablet/typo.less</css>
     <css>/less/tablet/layout.less</css>
     <css>/less/tablet/head.less</css>
     <css>/less/tablet/navigation.less</css>
   </group>
   <group name="phone">
     <css>/less/variables.less</css>
+    <css>/less/screen/head.less</css>
+    <css>/less/screen/navigation-submenu.less</css>
+    <css>/less/screen/footer-sticky.less</css>
+    <css>/less/tablet/head.less</css>
     <css>/less/phone/typo.less</css>
+    <css>/less/phone/layout.less</css>
+    <css>/less/phone/head.less</css>
     <css>/less/phone/navigation.less</css>
+    <css>/less/phone/footer.less</css>
   </group>
   <group name="tiny">
     <css>/less/variables.less</css>
-    <css>/less/tiny/typo.less</css>
-    <css>/less/tiny/navigation.less</css>
+    <css>/less/screen/head.less</css>
+    <css>/less/screen/navigation-submenu.less</css>
+    <css>/less/screen/footer-sticky.less</css>
+    <css>/less/tablet/head.less</css>
+    <css>/less/phone/typo.less</css>
+    <css>/less/phone/layout.less</css>
+    <css>/less/phone/head.less</css>
+    <css>/less/phone/navigation.less</css>
+    <css>/less/phone/footer.less</css>
+    <css>/less/tiny/layout.less</css>
   </group>
   <group name="seitenaufteilung">
     <css>/less/variables.less</css>
index 7d4aed38963de92d951e7de2ff1f59037449bd5c..9016b7cafc7e3abc66b27c2305da48234060d5a9 100644 (file)
@@ -1,5 +1,12 @@
 @media (max-width: @maxphone)
 {
+  @import 'screen/head.less';
+  @import 'screen/navigation-submenu.less';
+  @import 'screen/footer-sticky.less';
+  @import 'tablet/head.less';
   @import 'phone/typo.less';
+  @import 'phone/layout.less';
+  @import 'phone/head.less';
   @import 'phone/navigation.less';
+  @import 'phone/footer.less';
 }
diff --git a/src/main/webapp/less/phone/footer.less b/src/main/webapp/less/phone/footer.less
new file mode 100644 (file)
index 0000000..a613c50
--- /dev/null
@@ -0,0 +1,40 @@
+#footer
+{
+  padding: 0 1em .5em 2.5em;
+  background-color: @heller;
+}
+#footer > hr.f
+{
+  border-color: @hintergrund;
+}
+#footer > #footerlinks
+{
+  position: static;
+  border-style: none;
+}
+#footer > #footerlinks > li.f
+{
+  line-height: 1em;
+  margin: 0 1em 0 0;
+  padding: 0 0 .5em 0;
+}
+#footer > #footerlinks > li.f > a.f
+{
+  color: @hintergrund;
+  border-color: @hintergrund;
+}
+#footer > #footerlinks > li#copyright
+{
+  position: static;
+  float: right;
+  width: auto;
+  color: @hintergrund;
+  font-size: 137.5%;
+  margin: 0;
+  @media (max-width: 250px)
+  {
+    color: @schrift;
+    flow: none;
+    width: 100%;
+  }
+}
diff --git a/src/main/webapp/less/phone/head.less b/src/main/webapp/less/phone/head.less
new file mode 100644 (file)
index 0000000..22d8101
--- /dev/null
@@ -0,0 +1,7 @@
+@media (max-width: 410px)
+{
+  #slogan
+  {
+    color: @normal;
+  }
+}
diff --git a/src/main/webapp/less/phone/layout.less b/src/main/webapp/less/phone/layout.less
new file mode 100644 (file)
index 0000000..026583e
--- /dev/null
@@ -0,0 +1,19 @@
+#page
+{
+  overflow: hidden;
+}
+
+#header
+{
+  margin: 0 1em 0 1.25em;
+}
+
+.content > .main
+{
+  margin: 0 1em 0 2.5em;
+}
+.cols_2 > .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 */
+}
index 2db2b0a0141805777d0888fe4006f4f8be592549..06a5833c8c1433f898c2544b2ce5582ce3becf24 100644 (file)
@@ -1,4 +1,58 @@
+#page
+{
+  position: relative;
+}
 #breadcrumb
+{
+  position: absolute;
+  top: .8em;
+  right: 1.5em;
+}
+#breadcrumb > strong.b,
+#breadcrumb > ol.b,
+#breadcrumb > hr.b
+{
+  display: none;
+}
+#breadcrumb > a.hide
+{
+  display: block;
+  overflow: hidden;
+  width: 3em;
+  height: 3em;
+  line-height: 3em;
+  color: @normal;
+  border-style: none;
+}
+#breadcrumb > a.hide:before
+{
+  content: "";
+  font-family: 'symbols';
+  font-size: 300%;
+  padding: 0 0 1em 0;
+}
+#breadcrumb > a.hide:hover,
+#breadcrumb > a.hide:focus,
+#breadcrumb > a.hide:active
+{
+  color: @dunkler;
+}
+
+.marginal
+{
+  margin-top: 4em;
+  margin-bottom: -993em;
+  padding: 1em 1em 999em 2.5em;
+  background-color: @heller;
+}
+.marginal h1,
+.marginal h2,
+.marginal h3,
+.marginal h4
+{
+  color: @hintergrund;
+}
+#nav > hr.n
 {
   display: none;
 }
@@ -6,6 +60,47 @@
 #menu,
 #submenu
 {
-  font-size: 150%; /** 18px */
+  border-style: none;
+  font-size: 125%;
   line-height: 1.5em;
 }
+#menu
+{
+  font-size: 150%;
+  border-bottom: .125em solid @hintergrund;
+  margin-top: 0;
+  padding: .25em .25em 1em 1.5em;
+}
+#menu > li.m
+{
+  float: left;
+  list-style-type: none;
+  padding: .25em 1em 0 0;
+}
+#menu > li.m > a.m
+{
+  color: @dunkel;
+}
+#menu > li.m > strong.m
+{
+  color: @hintergrund;
+  border-bottom: .0625em solid @hintergrund;
+}
+#menu > li.m > a.m:hover,
+#menu > li.m > a.m:focus,
+#menu > li.m > a.m:active
+{
+  color: @dunkler;
+  border-bottom: .0625em solid @dunkler;
+}
+#menu > li.m > a.m.selected
+{
+  color: @hintergrund;
+  border-bottom: .0625em dashed @hintergrund;
+}
+#menu > li.m > a.m.selected:hover,
+#menu > li.m > a.m.selected:focus,
+#menu > li.m > a.m.selected:active
+{
+  border-style: solid;
+}
index 88943c2a58894edee01a397f462c9b0c93439525..b8d0e67fec80f8550e961b94127e3157a6007812 100644 (file)
@@ -1,4 +1,10 @@
 body
 {
   font-size: 87.5%; /** 14px */
+  padding: 0;
+}
+
+h1
+{
+  font-size: 150%; /** 24 px */
 }
index da8a458fa16a105105d5ae7c960f248f9a6ef1f1..5e0c701d26f82d4de4a4dcaf0aac6cfbac86c03e 100644 (file)
@@ -4,6 +4,8 @@
   @import 'screen/layout.less';
   @import 'screen/head.less';
   @import 'screen/navigation.less';
+  @import 'screen/navigation-submenu.less';
   @import 'screen/marginal.less';
   @import 'screen/footer.less';
+  @import 'screen/footer-sticky.less';
 }
diff --git a/src/main/webapp/less/screen/footer-sticky.less b/src/main/webapp/less/screen/footer-sticky.less
new file mode 100644 (file)
index 0000000..2ff65bd
--- /dev/null
@@ -0,0 +1,17 @@
+/** Make the footer sticky */
+html, body
+{
+  height: 100%;
+}
+#page
+{
+  position: relative;
+  min-height: 100%;
+}
+#footer
+{
+  position: absolute;
+  left: 0;
+  right: 0;
+  bottom: 0;
+}
index a9e0577117ac38a07a27d0a4bf403aade2e998ec..02f72ad0c694e9637639528c8c1f2dc54d0e0534 100644 (file)
@@ -6,7 +6,7 @@
 {
   padding-top: 0;
 }
-#footer > hr
+#footer > hr.f
 {
   display: none;
 }
index 16dcfb23f325509a80f8858e7dc463ff4825425d..4e6c331f187a54fef0070cc96285da7b6a46c81b 100644 (file)
@@ -94,24 +94,6 @@ body { overflow-y: scroll; }
   margin: 0 auto;
 }
 
-/** Make the footer sticky */
-html, body
-{
-  height: 100%;
-}
-#page
-{
-  position: relative;
-  min-height: 100%;
-}
-#footer
-{
-  position: absolute;
-  left: 0;
-  right: 0;
-  bottom: 0;
-}
-
 /** Faux-Column-Hack-Eigengewächs */
 #page.cols_2
 {
diff --git a/src/main/webapp/less/screen/navigation-submenu.less b/src/main/webapp/less/screen/navigation-submenu.less
new file mode 100644 (file)
index 0000000..36f1634
--- /dev/null
@@ -0,0 +1,89 @@
+#nav > h1.nav,
+#nav > h2.nav.menu
+{
+  display: none;
+}
+#nav > h2.nav.submenu
+{
+  font-size: 125%; /** 20px */
+  line-height: 1em; /** 20px */
+  margin: 1.5em 0 .5em 0; /** 30px 0 10px 0 */
+  padding: 0 0 0 1.65em; /** 0 0 0 33px */
+  border: none;
+}
+#nav > h2.nav.submenu:before
+{
+  content: 'V ';
+  margin: 0 .75em 0 -1.7em; /** 0 15em 0 -34px */
+}
+#nav > h2.nav.submenu > span.s
+{
+  display: none;
+}
+#nav > h2.nav.submenu > a.s
+{
+  color: @hintergrund;
+  border-style: dashed;
+  border-color: @hintergrund;
+}
+#nav > h2.nav.submenu > a.s:hover,
+#nav > h2.nav.submenu > a.s:focus,
+#nav > h2.nav.submenu > a.s:active
+{
+  border-style: solid;
+}
+
+#submenu
+{
+  font-size: 125%; /** 20 px */
+  list-style-type: none;
+  margin: 1em 0 4em 0;
+  padding: 0 0 0 1.65em; /** 0 0 0 33px */
+  border-style: none;
+}
+#submenu ul.s
+{
+  margin: 1em 0 0 0; /** 16px 0 0 0 */
+  padding: 0;
+  list-style-type: none;
+}
+#submenu li.s
+{
+  margin: 0 0 .5em 0; /** 0 0 10px 0 */
+  padding: 0;
+}
+#submenu li.s.off
+{
+  display: none;
+}
+#submenu li.s > a.s
+{
+  color: @dunkler;
+}
+#submenu li.s > a.s.selected,
+#submenu li.s > strong.s
+{
+  color: @hintergrund;
+  border-color: @hintergrund;
+}
+#submenu li.s > strong.s
+{
+  border-bottom: 1px solid @hintergrund;
+}
+#submenu li.s > a.s.selected:before,
+#submenu li.s > a.s:hover:before,
+#submenu li.s > a.s:focus:before,
+#submenu li.s > a.s:active:before,
+#submenu li.s > strong.s:before
+{
+  content: '> ';
+  margin: 0 .75em 0 -1.7em; /** 0 15px 0 -34px = Warum auch immer?!? */
+}
+#submenu li.s.sub > a.s.selected:before,
+#submenu li.s.sub > a.s:hover:before,
+#submenu li.s.sub > a.s:focus:before,
+#submenu li.s.sub > a.s:active:before,
+#submenu li.s.sub > strong.s:before
+{
+  content: 'V ';
+}
index b970440085e8dd8d835d5ecf0b8b9bc29dcd7b26..0e5c245214dbf07c5d821b9ed686579e24f33146 100644 (file)
@@ -1,4 +1,4 @@
-#nav > hr
+#nav > hr.n
 {
   display: none;
 }
 {
   display: none;
 }
-
-#nav > h1.nav,
-#nav > h2.nav.menu
-{
-  display: none;
-}
-#nav > h2.nav.submenu
-{
-  font-size: 125%; /** 20px */
-  line-height: 1em; /** 20px */
-  margin: 1.5em 0 .5em 0; /** 30px 0 10px 0 */
-  padding: 0 0 0 1.65em; /** 0 0 0 33px */
-  border: none;
-}
-#nav > h2.nav.submenu:before
-{
-  content: 'V ';
-  margin: 0 .75em 0 -1.7em; /** 0 15em 0 -34px */
-}
-#nav > h2.nav.submenu > span.s
-{
-  display: none;
-}
-#nav > h2.nav.submenu > a.s
-{
-  color: @hintergrund;
-  border-style: dashed;
-  border-color: @hintergrund;
-}
-#nav > h2.nav.submenu > a.s:hover,
-#nav > h2.nav.submenu > a.s:focus,
-#nav > h2.nav.submenu > a.s:active
-{
-  border-style: solid;
-}
-
-#submenu
-{
-  font-size: 125%; /** 20 px */
-  list-style-type: none;
-  margin: 1em 0 4em 0;
-  padding: 0 0 0 1.65em; /** 0 0 0 33px */
-  border-style: none;
-}
-#submenu ul.s
-{
-  margin: 1em 0 0 0; /** 16px 0 0 0 */
-  padding: 0;
-  list-style-type: none;
-}
-#submenu li.s
-{
-  margin: 0 0 .5em 0; /** 0 0 10px 0 */
-  padding: 0;
-}
-#submenu li.s.off
-{
-  display: none;
-}
-#submenu li.s > a.s
-{
-  color: @dunkler;
-}
-#submenu li.s > a.s.selected,
-#submenu li.s > strong.s
-{
-  color: @hintergrund;
-  border-color: @hintergrund;
-}
-#submenu li.s > strong.s
-{
-  border-bottom: 1px solid @hintergrund;
-}
-#submenu li.s > a.s.selected:before,
-#submenu li.s > a.s:hover:before,
-#submenu li.s > a.s:focus:before,
-#submenu li.s > a.s:active:before,
-#submenu li.s > strong.s:before
-{
-  content: '> ';
-  margin: 0 .75em 0 -1.7em; /** 0 15px 0 -34px = Warum auch immer?!? */
-}
-#submenu li.s.sub > a.s.selected:before,
-#submenu li.s.sub > a.s:hover:before,
-#submenu li.s.sub > a.s:focus:before,
-#submenu li.s.sub > a.s:active:before,
-#submenu li.s.sub > strong.s:before
-{
-  content: 'V ';
-}
index 030cb53052d6cbf9eaf427d3b12317b5e2b39d40..47d71ba0ce3ad413dc241eef37ce5d6cfbafb923 100644 (file)
@@ -37,7 +37,15 @@ body
 }
 .cols_1 > .content
 {
-  padding-bottom: 5.5em;
+  padding-bottom: 5em;
+  @media (max-width: @maxsmalltablet)
+  {
+    padding-bottom: 4em;
+  }
+  @media (max-width: @maxsmallertablet)
+  {
+    padding-bottom: 3.25em;
+  }
 }
 .cols_2 > .content
 {
index c5d3ecf21b6ac658a2b99c6f84f560147a070527..13132b050e8dac0a3bc8e88edb05b05750d812c9 100644 (file)
@@ -1,5 +1,4 @@
 @media (max-width: @maxtiny)
 {
-  @import 'tiny/typo.less';
-  @import 'tiny/navigation.less';
+  @import 'tiny/layout.less';
 }
diff --git a/src/main/webapp/less/tiny/layout.less b/src/main/webapp/less/tiny/layout.less
new file mode 100644 (file)
index 0000000..ede7f87
--- /dev/null
@@ -0,0 +1,47 @@
+body
+{
+  font-size: 75%; /** 12px */
+}
+.marginal
+{
+  margin-bottom: -991em;
+}
+
+@media (max-width: 210px)
+{
+  #header
+  {
+    font-size: 75%;
+    margin: 0 .5em 0 1em;
+  }
+  .content > .marginal
+  {
+    padding: 1em .5em 999em .5em;
+  }
+  .content > .main,
+  #footer
+  {
+    margin: 0;
+    padding: 0 .5em;
+  }
+  #breadcrumb
+  {
+    top: .3em;
+    right: .3em;
+  }
+}
+@media (max-width: 150px)
+{
+  #header
+  {
+    font-size: 50%;
+  }
+  #header > hr.h
+  {
+    display: block;
+  }
+  #slogan
+  {
+    display: none;
+  }
+}
diff --git a/src/main/webapp/less/tiny/navigation.less b/src/main/webapp/less/tiny/navigation.less
deleted file mode 100644 (file)
index 1fd01b4..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#menu,
-#submenu
-{
-  font-size: 150%; /** 18px */
-  line-height: 1.5em;
-}
diff --git a/src/main/webapp/less/tiny/typo.less b/src/main/webapp/less/tiny/typo.less
deleted file mode 100644 (file)
index aa0b207..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-body
-{
-  font-size: 75%; /** 12px */
-}
index a577cf493437eed944b75be0d1ada4318666fae9..8203843533a6bf97d5eacbcfd3314357c412887a 100644 (file)
@@ -24,7 +24,8 @@
 @maxsmalltablet: 800px;
 @maxsmallertablet: 700px;
 @maxphone:       @minscreen - 1;
-@maxtiny:        399px;
+@minphone:       300px;
+@maxtiny:        @minphone - 1;
 
 
 /** Schriften */