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 2e5cc80..3169c65 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 385d09f..42ad581 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 453d61d..a21a3fe 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 b0721b1..3cb963a 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 96f49dc..66927f7 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 79deaac..aab1e61 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 2161e9d..97244c0 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 bcd68e8..aa1fc3c 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 a74f242..c46f813 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 84c9473..d4490e8 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 0adc55d..58d43d2 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 a42ff91..b9092a6 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 c719c8b..08d4d54 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 795a29a..ca8c223 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 902f390..8f9bd6b 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 521b673..83a74de 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 4650507..e4e5f54 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 7d4aed3..9016b7c 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 2db2b0a..06a5833 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 88943c2..b8d0e67 100644 (file)
@@ -1,4 +1,10 @@
 body
 {
   font-size: 87.5%; /** 14px */
+  padding: 0;
+}
+
+h1
+{
+  font-size: 150%; /** 24 px */
 }
index da8a458..5e0c701 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 a9e0577..02f72ad 100644 (file)
@@ -6,7 +6,7 @@
 {
   padding-top: 0;
 }
-#footer > hr
+#footer > hr.f
 {
   display: none;
 }
index 16dcfb2..4e6c331 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 b970440..0e5c245 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 030cb53..47d71ba 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 c5d3ecf..13132b0 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 a577cf4..8203843 100644 (file)
@@ -24,7 +24,8 @@
 @maxsmalltablet: 800px;
 @maxsmallertablet: 700px;
 @maxphone:       @minscreen - 1;
-@maxtiny:        399px;
+@minphone:       300px;
+@maxtiny:        @minphone - 1;
 
 
 /** Schriften */