Commit 2b051dee authored by Hussain Khalil's avatar Hussain Khalil

Made page more mobile friendly

parent 6a76e78e
......@@ -2,7 +2,12 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
<!-- Serve mobile CSS to mobile devices -->
<script type="text/javascript">
if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){var head=document.getElementsByTagName("head")[0],link=document.createElement("link");link.rel="stylesheet",link.type="text/css",link.href="mobile-styles.css",link.media="all",head.appendChild(link)}
</script>
<script src="frontend.js" type="text/javascript"></script>
<title>Chocolat</title>
</head>
......
......@@ -62,6 +62,7 @@ body, html {
progress {
margin-top: 10pt;
max-width: 100%;
width: 300pt;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment