From 5bd4ca3168628bb3682b2c240b9d958be2f62d67 Mon Sep 17 00:00:00 2001 From: Merricx Date: Fri, 19 May 2017 03:08:49 +0700 Subject: [PATCH] Add browser feature detection --- css/style.css | 4 ++-- index.html | 18 ++++++++++++------ js/main.js | 2 +- js/modernizr-custom.js | 3 +++ 4 files changed, 18 insertions(+), 9 deletions(-) create mode 100644 js/modernizr-custom.js diff --git a/css/style.css b/css/style.css index 5b79b69..d605de1 100644 --- a/css/style.css +++ b/css/style.css @@ -883,7 +883,7 @@ noscript div h4 { margin-top: 15px; } -.mobile { +.warning { top: 0; left: 0; width: 100%; @@ -893,7 +893,7 @@ noscript div h4 { background-color: #4fc3f7; } -.mobile h3 { +.warning h3 { margin-top: 100px; color: #ffffff; } diff --git a/index.html b/index.html index b535e7a..e01bb01 100644 --- a/index.html +++ b/index.html @@ -504,15 +504,16 @@ - -
-

Sorry, but QRazyBox doesn't works on mobile!

+ +
+

Sorry, but QRazyBox doesn't work on mobile!

- + + @@ -535,11 +536,16 @@