Styling für Smartphone-Größen hinzugefügt
authorKai Moritz <kai@juplo.de>
Sat, 14 Dec 2013 16:59:26 +0000 (17:59 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 19 Jan 2016 16:45:35 +0000 (17:45 +0100)
src/main/webapp/WEB-INF/templates/html5page.jsp
src/main/webapp/WEB-INF/wro.xml
src/main/webapp/less/phone/navigation.less [new file with mode: 0644]
src/main/webapp/less/phone/typo.less [new file with mode: 0644]

index 1396155..5930ac8 100644 (file)
@@ -10,7 +10,8 @@
     <base href="http://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/" />
     <link rel="stylesheet" type="text/css" href="css/base.css" />
     <style type="text/css">
-      @import 'css/screen.css' screen and (min-width: 960px)
+      @import 'css/screen.css' screen and (min-width: 960px);
+      @import 'css/phone.css' screen and (max-width: 599px);
     </style>
     <script src="js/base.js"></script>
     <!--[if IE 8]>
index 8d80739..7e0c323 100644 (file)
     <css>/less/screen/footer.less</css>
   </group>
 
+  <group name="phone">
+    <css>/less/phone/typo.less</css>
+    <css>/less/phone/navigation.less</css>
+  </group>
+
   <group name="ie8">
     <js>/js/html5shiv.js</js>
   </group>
diff --git a/src/main/webapp/less/phone/navigation.less b/src/main/webapp/less/phone/navigation.less
new file mode 100644 (file)
index 0000000..6a8f050
--- /dev/null
@@ -0,0 +1,15 @@
+#breadcrumb .b
+{
+  display: none;
+}
+#breadcrumb a.hide
+{
+  margin: 0;
+}
+
+#menu,
+#submenu
+{
+  font-size: 150%; /** 18px */
+  line-height: 1.5em;
+}
diff --git a/src/main/webapp/less/phone/typo.less b/src/main/webapp/less/phone/typo.less
new file mode 100644 (file)
index 0000000..a8f1489
--- /dev/null
@@ -0,0 +1,5 @@
+body
+{
+  font-size: 87.5%; /** 14px */
+  padding: .5em 1em 1em 1.5em;
+}