From b8ad4f2388bbf5d44bab7d1885359c34385ad641 Mon Sep 17 00:00:00 2001 From: Guuq <50501321+Guuq@users.noreply.github.com> Date: Fri, 15 Nov 2019 17:25:46 +0100 Subject: [PATCH] 15-11 #1 --- css.css | 38 ++++++++------------------ index.html | 4 --- resources/css/cssall.css | 22 +++++++++++++++ resources/css/navbar.css | 53 ++++++++---------------------------- resources/css/shortcuts.css | 19 ++++--------- resources/js/insertNavbar.js | 44 +++++++++++++++--------------- resources/js/navbar.json.js | 12 ++++---- 7 files changed, 78 insertions(+), 114 deletions(-) diff --git a/css.css b/css.css index 7b89b50..d73a3b4 100644 --- a/css.css +++ b/css.css @@ -1,10 +1,15 @@ /* Main CSS */ section { float: left; - height: 95vh; display: inline-block; width: 50%; background-color: #454752; + height: 95vh; + overflow: scroll; + overflow-x: hidden; +} +section::-webkit-scrollbar { + display: none; } svg { fill: #454752; @@ -12,28 +17,6 @@ svg { stroke: #454752; height: 95vh; } -/* Google search */ -#googleSearchBar { - background-color: #ededed; - border: #ededed 2px solid; - position: sticky; - z-index: 2; - top: 6rem; - left: calc(50% - 48%); - padding: 1rem; - width: 96%; - height: 3rem; - border-radius: 2rem; - outline: none; - transition: border .4s, opacity .3s, top .3s; -} -#googleSearchBar:hover, #googleSearchBar:focus { - border: #4c8a80 2px solid; -} -.searchMove { - opacity: 0; - top: 0px!important; -} /* Clock */ #timeBox { margin-left: 1rem; @@ -53,11 +36,10 @@ svg { footer { background-color: black; display: flex!important; - height: 35vh; font-family: 'Open Sans', sans-serif; } footer div { - margin: 5rem 0 0 8rem; + margin: 5rem 0 3rem 8rem; display: inline-block; } footer h4 { @@ -78,8 +60,9 @@ footer li { } /* Support for mobile devices */ @media screen and (min-width:0px) and (max-width:1000px) { - aside { + section { width: 100%!important; + height: 80vh!important ; } svg { display: none; @@ -89,9 +72,10 @@ footer li { } footer { float: left; + display: block!important; width: 100%; } footer div { - margin: 5rem 0 0 3rem!important; + margin: 3rem 0 1rem 5rem!important; } } diff --git a/index.html b/index.html index 5becd02..9c068e1 100644 --- a/index.html +++ b/index.html @@ -20,9 +20,6 @@
- - -