Basis-Layout im Hinblick auf kleine Bildschirme überarbeitet
authorKai Moritz <kai@juplo.de>
Mon, 13 Jan 2014 13:04:09 +0000 (14:04 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 19 Jan 2016 16:45:40 +0000 (17:45 +0100)
src/main/webapp/WEB-INF/templates/html5page.jsp
src/main/webapp/WEB-INF/wro.xml
src/main/webapp/less/base/footer.less
src/main/webapp/less/base/head.less
src/main/webapp/less/base/navigation.less
src/main/webapp/less/base/typo.less
src/main/webapp/less/phone/navigation.less
src/main/webapp/less/phone/typo.less
src/main/webapp/less/screen/footer.less
src/main/webapp/less/screen/navigation.less
src/main/webapp/less/screen/typo.less [new file with mode: 0644]

index de699e2..2e5cc80 100644 (file)
@@ -24,7 +24,7 @@
           <t:insertAttribute name="breadcrumb"/>
         </ol>
         <a class="hide" href="#navigation">Jump to navigation</a>
           <t:insertAttribute name="breadcrumb"/>
         </ol>
         <a class="hide" href="#navigation">Jump to navigation</a>
-        <div class="b"></div>
+        <hr class="b" />
       </div>
       <main class="content cf">
         <article id="content" class="main">
       </div>
       <main class="content cf">
         <article id="content" class="main">
index 9e8990b..db20270 100644 (file)
@@ -16,6 +16,7 @@
   </group>
 
   <group name="screen">
   </group>
 
   <group name="screen">
+    <css>/less/screen/typo.less</css>
     <css>/less/screen/layout.less</css>
     <css>/less/screen/head.less</css>
     <css>/less/screen/navigation.less</css>
     <css>/less/screen/layout.less</css>
     <css>/less/screen/head.less</css>
     <css>/less/screen/navigation.less</css>
index 10ba196..16d95a8 100644 (file)
 {
   font-size: 137.5%; /** 22 px */
   float: left;
 {
   font-size: 137.5%; /** 22 px */
   float: left;
-  margin: 0 1em 1em 0;
+  margin: .5em 1em 0 0;
 }
 #footerlinks #copyright
 {
 }
 #footerlinks #copyright
 {
-  float: right;
   color: @schrift;
   margin: 0;
   color: @schrift;
   margin: 0;
+  width: 100%;
 }
 #footerlinks a.f
 {
 }
 #footerlinks a.f
 {
index 6c9da2d..750995a 100644 (file)
@@ -23,7 +23,6 @@
 }
 #slogan
 {
 }
 #slogan
 {
+  display: block;
   color: @normal;
   color: @normal;
-  white-space: nowrap;
-  padding-top: 1em;
 }
 }
index 4cfdc9c..60874ab 100644 (file)
@@ -45,7 +45,7 @@ h2.nav
 #breadcrumb strong.b.title
 {
   float: left;
 #breadcrumb strong.b.title
 {
   float: left;
-  margin: 0 0.5em .6em 0;
+  margin: 0 0.5em 0 0;
 }
 #breadcrumb ol.b
 {
 }
 #breadcrumb ol.b
 {
@@ -85,13 +85,15 @@ h2.nav
 #breadcrumb a.hide
 {
   position: static;
 #breadcrumb a.hide
 {
   position: static;
-  float: right;
-  margin: 0 0 0 2em;
-  white-space: nowrap;
 }
 }
-#breadcrumb div.b
+#breadcrumb a.hide:before
+{
+  content: "";
+  display: table;
+  clear: both;
+}
+#breadcrumb hr.b
 {
 {
-  height: 1px; /** Sonst greift das "clear" nicht unter IE6 */
   clear: both;
 }
 
   clear: both;
 }
 
index 2d6c284..a8d2add 100644 (file)
@@ -7,7 +7,7 @@ body
   .droid;
   letter-spacing: 0;
   line-height: 1.5em;
   .droid;
   letter-spacing: 0;
   line-height: 1.5em;
-  padding: 1em 2em 1em 3em;
+  padding: .5em 1em 1em 1.5em;
   background-color: @hintergrund;
 }
 h1, h2, h3, h4, h5, h6
   background-color: @hintergrund;
 }
 h1, h2, h3, h4, h5, h6
@@ -18,10 +18,10 @@ h1, h2, h3, h4, h5, h6
 }
 h1
 {
 }
 h1
 {
-  font-size: 187.5%; /** 30 px */
-  line-height: 1em; /** 30px */
-  padding: 0 0 .4em 0; /** 0 0 12px 0 */
-  margin: 1em 0 .3em 0; /** 30px 0 9px 0 */
+  font-size: 125%; /** 20 px */
+  line-height: 1em; /** 20px */
+  padding: 0 0 .4em 0; /** 0 0 8px 0 */
+  margin: 1em 0 .3em 0; /** 20px 0 6px 0 */
 }
 h2
 {
 }
 h2
 {
index 6a8f050..2db2b0a 100644 (file)
@@ -1,11 +1,7 @@
-#breadcrumb .b
+#breadcrumb
 {
   display: none;
 }
 {
   display: none;
 }
-#breadcrumb a.hide
-{
-  margin: 0;
-}
 
 #menu,
 #submenu
 
 #menu,
 #submenu
index a8f1489..88943c2 100644 (file)
@@ -1,5 +1,4 @@
 body
 {
   font-size: 87.5%; /** 14px */
 body
 {
   font-size: 87.5%; /** 14px */
-  padding: .5em 1em 1em 1.5em;
 }
 }
index 513fdd2..c11be8c 100644 (file)
@@ -29,6 +29,7 @@
 {
   position: absolute;
   float: none;
 {
   position: absolute;
   float: none;
+  width: auto;
   right: .625em;
   top: -1em; /** 30px */
   line-height: 1.4em; /* 42px */
   right: .625em;
   top: -1em; /** 30px */
   line-height: 1.4em; /* 42px */
index 52c2b43..e393589 100644 (file)
 {
   position: absolute;
 }
 {
   position: absolute;
 }
+#breadcrumb > hr.b
+{
+  display: none;
+}
 
 #nav > h1.nav,
 #nav > h2.nav.menu
 
 #nav > h1.nav,
 #nav > h2.nav.menu
diff --git a/src/main/webapp/less/screen/typo.less b/src/main/webapp/less/screen/typo.less
new file mode 100644 (file)
index 0000000..1a1b226
--- /dev/null
@@ -0,0 +1,7 @@
+h1
+{
+  font-size: 187.5%; /** 30 px */
+  /** line-height: 1em;  ** 30px */
+  /** padding: 0 0 .4em 0; ** 0 0 12px 0 */
+  /** margin: 1em 0 .3em 0; ** 30px 0 9px 0 */
+}