padding: 0;\r
margin: 0;\r
}\r
+\r
body, html {\r
background-color: #$bgcolor;\r
width: 100%;\r
height: 100%;\r
}\r
+\r
footer {\r
visibility: hidden;\r
}\r
<script>\r
var redirect;\r
var locationWithoutHash = window.location.href.split('#')[0];\r
+ var e = locationWithoutHash.split('?', 2);\r
+ var params = '';\r
+ if (e.length === 2 && e[1]!=='') {\r
+ params = e[1] + '&';\r
+ }\r
var hash = window.location.hash;\r
if (window.matchMedia('(min-device-width: $breakpoint) and (min-device-height: $breakpoint)').matches) {\r
redirect = 'd';\r
} else {\r
redirect = 'mf';\r
}\r
- window.location = './' + redirect + '/index.html?hybrid=1&from=' + encodeURIComponent(locationWithoutHash) + hash;\r
+ window.location = './' + redirect + '/index.html?' + params + 'hybrid=1&from=' + encodeURIComponent(locationWithoutHash) + hash;\r
</script>\r
</head>\r
<body>\r
- <footer id="credits">$credits</footer>\r
+<footer id="credits">$credits</footer>\r
</body>\r
</html>
\ No newline at end of file