From 5ffd8ba8741ec52bdee46b1091f987a101a00cb4 Mon Sep 17 00:00:00 2001 From: pakut2 Date: Thu, 7 Jan 2021 23:05:05 +0100 Subject: [PATCH] commit --- .gitignore | 6 +++++- app.js | 4 ++++ directSearchStyle.css | 10 +++++----- index.html | 1 + style.css | 8 ++++---- 5 files changed, 19 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index b6f02cf..889bcec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ /Assets -config.xml \ No newline at end of file +config.xml + +manifest.json + +service-worker.js \ No newline at end of file diff --git a/app.js b/app.js index e239705..2362092 100644 --- a/app.js +++ b/app.js @@ -1,3 +1,7 @@ +if ("serviceWorker" in navigator) { + navigator.serviceWorker.register("service-worker.js"); +} + const navSlide = () => { const burger = document.querySelector(".burger"); const nav = document.querySelector(".nav-links"); diff --git a/directSearchStyle.css b/directSearchStyle.css index ae83bee..02c5367 100644 --- a/directSearchStyle.css +++ b/directSearchStyle.css @@ -72,13 +72,13 @@ li:nth-of-type(2) { transition: all 0.6s ease; } -@media screen and (max-width: 1024px) { +/* @media screen and (max-width: 1024px) { .nav-links { width: 60%; } -} +} */ -@media screen and (max-width: 768px) { +@media screen and (max-width: 1024px) { body { overflow-x: hidden; } @@ -128,13 +128,13 @@ li:nth-of-type(2) { form button { position: absolute; right: 0; - margin-right: 1.3rem; + margin-right: 3rem; } } @media screen and (max-width: 480px) { form button { - margin: 0; + margin: 1.3rem; } } diff --git a/index.html b/index.html index 4cf5d06..a821d87 100644 --- a/index.html +++ b/index.html @@ -18,6 +18,7 @@ /> + Bus Schedule diff --git a/style.css b/style.css index 7542301..166c2d9 100644 --- a/style.css +++ b/style.css @@ -102,13 +102,13 @@ li:nth-of-type(3) { transition: all 0.6s ease; } -@media screen and (max-width: 1024px) { +/* @media screen and (max-width: 1024px) { .nav-links { width: 60%; } -} +} */ -@media screen and (max-width: 768px) { +@media screen and (max-width: 1024px) { body { overflow-x: hidden; } @@ -158,7 +158,7 @@ li:nth-of-type(3) { form button { position: absolute; right: 0; - margin-right: 1.3rem; + margin-right: 3rem; } li:nth-of-type(3) {