summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-09-13 14:01:52 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-09-13 14:01:52 +0200
commit9be85ca6fa2398d285120ee2ff25e807faa7de45 (patch)
tree49a218c51f91e58cfc509e9bd829f87a1320f7ca /views
parentb8ab84a216a178fb23da7177385dfc2318b1217c (diff)
downloadnorsk-urskog-registrations-9be85ca6fa2398d285120ee2ff25e807faa7de45.tar.gz
norsk-urskog-registrations-9be85ca6fa2398d285120ee2ff25e807faa7de45.tar.bz2
norsk-urskog-registrations-9be85ca6fa2398d285120ee2ff25e807faa7de45.zip
Add mobile stylesheet for devices with narrow screens.
Diffstat (limited to 'views')
-rw-r--r--views/layout.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/layout.erb b/views/layout.erb
index 4584662..84d3437 100644
--- a/views/layout.erb
+++ b/views/layout.erb
@@ -1,7 +1,8 @@
<!DOCTYPE html>
<html>
<head>
- <link rel="stylesheet" type="text/css" href="<%= url('/styles.css') %>">
+ <link rel="stylesheet" type="text/css" href="<%= url('/styles.css') %>" media="screen and (min-width: 800px)">
+ <link rel="stylesheet" type="text/css" href="<%= url('/mobile-styles.css') %>" media="screen and (max-width: 800px)">
<script src="<%= url('/regform.js') %>"></script>
<meta charset="UTF-8">
<title>Påmeldingsskjema - Norsk Urskog Metal Sampler</title>