Styling für sehr kleine Bildschirmgrößen hinzugefügt
authorKai Moritz <kai@juplo.de>
Sat, 14 Dec 2013 17:09:30 +0000 (18:09 +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/tiny/navigation.less [new file with mode: 0644]
src/main/webapp/less/tiny/typo.less [new file with mode: 0644]

index 5930ac8..15aabc3 100644 (file)
@@ -12,6 +12,7 @@
     <style type="text/css">
       @import 'css/screen.css' screen and (min-width: 960px);
       @import 'css/phone.css' screen and (max-width: 599px);
     <style type="text/css">
       @import 'css/screen.css' screen and (min-width: 960px);
       @import 'css/phone.css' screen and (max-width: 599px);
+      @import 'css/tiny.css' screen and (max-width: 399px);
     </style>
     <script src="js/base.js"></script>
     <!--[if IE 8]>
     </style>
     <script src="js/base.js"></script>
     <!--[if IE 8]>
index 7e0c323..f1bfcb5 100644 (file)
     <css>/less/phone/navigation.less</css>
   </group>
 
     <css>/less/phone/navigation.less</css>
   </group>
 
+  <group name="tiny">
+    <css>/less/tiny/typo.less</css>
+    <css>/less/tiny/navigation.less</css>
+  </group>
+
   <group name="ie8">
     <js>/js/html5shiv.js</js>
   </group>
   <group name="ie8">
     <js>/js/html5shiv.js</js>
   </group>
diff --git a/src/main/webapp/less/tiny/navigation.less b/src/main/webapp/less/tiny/navigation.less
new file mode 100644 (file)
index 0000000..1fd01b4
--- /dev/null
@@ -0,0 +1,6 @@
+#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
new file mode 100644 (file)
index 0000000..aa0b207
--- /dev/null
@@ -0,0 +1,4 @@
+body
+{
+  font-size: 75%; /** 12px */
+}