summaryrefslogtreecommitdiffhomepage
path: root/themes/freifunk-generic/luasrc/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-06-17 01:00:46 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-06-17 01:00:46 +0000
commit2acd1d6dae839a46f0f0db587a579833c3e92e32 (patch)
tree8d7a17dfdefdfdc0692766b5c8e3f64df1069591 /themes/freifunk-generic/luasrc/view
parent7dbb07ff6f6c6ef26af7c02c26edb507f88d5471 (diff)
themes/freifunk-generic: add CSS for mobile devices
Diffstat (limited to 'themes/freifunk-generic/luasrc/view')
-rw-r--r--themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm2
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm b/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm
index 9dbcf9ff3c..11c7de50eb 100644
--- a/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm
+++ b/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm
@@ -68,6 +68,8 @@ require("luci.http").prepare_content("application/xhtml+xml")
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="stylesheet" type="text/css" media="screen" href="<%=media%>/cascade.css" />
+<link rel="stylesheet" media="only screen and (max-device-width: 480px)" href="<%=media%>/mobile.css" type="text/css" />
+<link rel="stylesheet" media="handheld" href="<%=media%>/mobile.css" type="text/css" />
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="<%=media%>/ie7.css" /><![endif]-->
<% if node and node.css then %><link rel="stylesheet" type="text/css" media="screen" href="<%=resource%>/<%=node.css%>" />
<% end -%>