changeset 1:c5aea6accfda

Added mobile compability
author b3yond <b3yond@systemli.org>
date Sun, 17 Dec 2017 19:39:03 +0100
parents 7df9d26e3220
children 866e34556c6d
files css/common.css css/screen.css
diffstat 2 files changed, 42 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/css/common.css	Tue Feb 16 21:39:18 2010 +0100
+++ b/css/common.css	Sun Dec 17 19:39:03 2017 +0100
@@ -567,6 +567,7 @@
 h1, h2, h3, h4, h5 {
     letter-spacing: 0.05em;
     color: #544d87;
+    line-height: 1.4em;
     border-bottom: 1px solid #aaa;
 }
 h1 {
--- a/css/screen.css	Tue Feb 16 21:39:18 2010 +0100
+++ b/css/screen.css	Sun Dec 17 19:39:03 2017 +0100
@@ -250,3 +250,44 @@
     list-style: none;
     font-size: 75%;
 }
+
+@media only screen and (max-device-width: 480px) {
+    body {
+        width: 480px;
+    }
+    #header {
+        width: 460px;
+    }
+    #content {
+        width: 440px;
+    }
+    div#pagetrail {
+        display: none;
+    }
+    .backlink {
+        display: none;
+    }
+    div#logo {
+        padding-bottom: 10px;
+    }
+}
+@media only screen and (max-device-width: 320px) {
+    body {
+        width: 320px;
+    }
+    #header {
+        width: 300px;
+    }
+    #content {
+        width: 280px;
+    }
+    div#pagetrail {
+        display: none;
+    }
+    div#logo {
+        padding-bottom: 10px;
+    }
+    .backlink {
+        display: none;
+    }
+}