From 5a44351c4d1b47e8abf5fa2b806db331cc41e776 Mon Sep 17 00:00:00 2001 From: Guuq <50501321+Guuq@users.noreply.github.com> Date: Wed, 13 Nov 2019 19:12:36 +0100 Subject: [PATCH] 13-11 #3 --- css.css | 19 ++++++--- index.html | 85 +++++++++++++++++++++---------------- js.js | 2 +- resources/css/navbar.css | 2 +- resources/css/shortcuts.css | 16 +++---- resources/js/shortcuts.js | 20 +++++---- 6 files changed, 81 insertions(+), 63 deletions(-) diff --git a/css.css b/css.css index fb1f3d6..b61ea0e 100644 --- a/css.css +++ b/css.css @@ -1,5 +1,5 @@ /* Main CSS */ -aside { +section { float: left; height: 95vh; display: inline-block; @@ -43,9 +43,11 @@ svg { .time { display: inline-block; font-size: 8rem; + margin: 0; } #date { font-size: 2rem; + margin: 0; } /* Footer */ footer { @@ -83,14 +85,19 @@ footer a:hover { /* Support for mobile devices */ @media screen and (min-width:0px) and (max-width:1000px) { aside { - width: 96%!important; + width: 100%!important; + } + svg { + display: none; + } + .time { + font-size: 5rem!important; } footer { - width: 98%!important; - display: block!important; - margin: 0!important; + float: left; + width: 100%; } footer div { - margin-top: 2rem!important; + margin: 5rem 0 0 3rem!important; } } diff --git a/index.html b/index.html index ec25d18..9bc8b4e 100644 --- a/index.html +++ b/index.html @@ -22,49 +22,52 @@ - + + @@ -77,7 +80,8 @@