From 4a12f060903f146756265561506faf5765b9f7bc Mon Sep 17 00:00:00 2001 From: Joshua Perry <45966243+jpez-development@users.noreply.github.com> Date: Sun, 17 Apr 2022 12:16:49 +0100 Subject: [PATCH 1/2] removed unneeded statements --- style/mobile.css | 32 +++++++++++--------------------- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/style/mobile.css b/style/mobile.css index ef44b28..3cfad78 100644 --- a/style/mobile.css +++ b/style/mobile.css @@ -4,7 +4,6 @@ body { grid-template-areas: - "main main main" "aside aside aside" "footer footer footer"; @@ -20,15 +19,12 @@ main { border-bottom-right-radius: 0em; } -.bio { - border-top-left-radius: 0em; - border-bottom-left-radius: 0em; -} + .navigation { min-width: 10em; width: 200%; - height: 50vh; + height: 20em; white-space: nowrap; grid-template-rows: 20% 20% 20% 20% 20%; grid-template-areas: @@ -111,24 +107,18 @@ nav > .link:hover { border-bottom: 0.1em solid #000000; } -#home:hover { - border-right: none; +footer { + margin: 0; + background-color: rgba(255, 255, 255, 60%); + grid-area: footer; + display:list-item; } -.navigation:hover { - transform: translate(-95%,0); +footer > a > h1 { + margin: 0; } -.generalInfo { - margin-top: 1em; - margin-left: 2em; +#footer_logo { + margin-top: 3em; } -.moreInfo:hover { - cursor: initial; -} - -.langList { - margin-left: -5em; - font-size: small; -} \ No newline at end of file From d36aaf3f9113c61571f002c43513a8a2feb87b05 Mon Sep 17 00:00:00 2001 From: Joshua Perry <45966243+jpez-development@users.noreply.github.com> Date: Sun, 17 Apr 2022 12:18:00 +0100 Subject: [PATCH 2/2] individual css for mobile , minor formatting --- home/index.css | 1 + home/index.html | 1 + home/index_mobile.css | 15 +++++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 home/index_mobile.css diff --git a/home/index.css b/home/index.css index df0cc2a..348e49b 100644 --- a/home/index.css +++ b/home/index.css @@ -87,6 +87,7 @@ .langList { margin-top: -1em; + margin-bottom: 2em; display: none; pointer-events: none; } diff --git a/home/index.html b/home/index.html index 85af2a2..488df8f 100644 --- a/home/index.html +++ b/home/index.html @@ -16,6 +16,7 @@ + diff --git a/home/index_mobile.css b/home/index_mobile.css new file mode 100644 index 0000000..0d8e363 --- /dev/null +++ b/home/index_mobile.css @@ -0,0 +1,15 @@ +.bio { + border-top-left-radius: 0em; + border-bottom-left-radius: 0em; +} + +.langList { + margin-left: -5em; + font-size: small; +} + +.generalInfo { + margin-top: 1em; + margin-left: 2em; +} +