aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/html.inc.php
diff options
context:
space:
mode:
authorPim van den Berg2015-05-16 13:58:17 +0200
committerPim van den Berg2015-06-21 18:06:02 +0200
commit3335a353b74526e0808017ebcc47fd51463d7fcd (patch)
treea1fe918c68a83176451a29c4482233d88427c3e0 /inc/html.inc.php
parentreplace table on overview page by divs (diff)
downloadapt-panopticon_cgp-3335a353b74526e0808017ebcc47fd51463d7fcd.zip
apt-panopticon_cgp-3335a353b74526e0808017ebcc47fd51463d7fcd.tar.gz
apt-panopticon_cgp-3335a353b74526e0808017ebcc47fd51463d7fcd.tar.bz2
apt-panopticon_cgp-3335a353b74526e0808017ebcc47fd51463d7fcd.tar.xz
add responsive css
For 4 types of devices: a. desktop / tablet 10" landscape (default) b. tablet 10" portrait / tablet 7" landscape c. tablet 7" portrait / smartphone landscape d. smartphone portrait
Diffstat (limited to 'inc/html.inc.php')
-rw-r--r--inc/html.inc.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/inc/html.inc.php b/inc/html.inc.php
index e52d90c..9f42fdf 100644
--- a/inc/html.inc.php
+++ b/inc/html.inc.php
@@ -19,8 +19,11 @@ function html_start() {
19<head> 19<head>
20 <meta charset="utf-8"> 20 <meta charset="utf-8">
21 <title>CGP{$path}</title> 21 <title>CGP{$path}</title>
22 <link rel="stylesheet" href="{$html_weburl}layout/style.css" type="text/css">
23 <meta name="viewport" content="width=device-width"> 22 <meta name="viewport" content="width=device-width">
23 <link rel="stylesheet" href="{$html_weburl}layout/style.css" type="text/css">
24 <link rel="stylesheet" href="{$html_weburl}layout/style-b.css" type="text/css" media="(max-width: 1000px),(max-device-width: 1000px) and (orientation: portrait),(max-device-width: 767px) and (orientation: landscape)">
25 <link rel="stylesheet" href="{$html_weburl}layout/style-c.css" type="text/css" media="(max-width: 767px),(max-device-width: 767px) and (orientation: portrait),(max-device-width: 499px) and (orientation: landscape)">
26 <link rel="stylesheet" href="{$html_weburl}layout/style-d.css" type="text/css" media="(max-width: 499px),(max-device-width: 499px) and (orientation: portrait)">
24 27
25EOT; 28EOT;
26 if (isset($CONFIG['page_refresh']) && is_numeric($CONFIG['page_refresh'])) { 29 if (isset($CONFIG['page_refresh']) && is_numeric($CONFIG['page_refresh'])) {