From 5a9fd83967c4bf425e77f5882c627501cb4dd70e Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Mon, 28 Sep 2020 20:11:01 +0100 Subject: Use Uni Sans font for header --- src/components/HeaderBar/index.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/components/HeaderBar') diff --git a/src/components/HeaderBar/index.tsx b/src/components/HeaderBar/index.tsx index 97dbb8c..f14a504 100644 --- a/src/components/HeaderBar/index.tsx +++ b/src/components/HeaderBar/index.tsx @@ -12,8 +12,8 @@ position: absolute; width: 100%; transition: height 1s; -@media (max-width: 660px) { - height: 140px; +@media (max-width: 770px) { + height: 180px; } `; @@ -26,18 +26,19 @@ function HeaderBar() {

-- cgit v1.2.3 From 952fe01957b5f852c6febb5de820e4aa59e27a9b Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Mon, 28 Sep 2020 20:52:27 +0100 Subject: Change opacity of header SVG --- src/components/HeaderBar/header_2.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/HeaderBar') diff --git a/src/components/HeaderBar/header_2.svg b/src/components/HeaderBar/header_2.svg index 692cc7c..e17b3e6 100644 --- a/src/components/HeaderBar/header_2.svg +++ b/src/components/HeaderBar/header_2.svg @@ -1,3 +1,3 @@ - + -- cgit v1.2.3 From 9fcb3f2e06dc36653e6ad338222b5e4ddfeb8d3b Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Mon, 28 Sep 2020 20:52:48 +0100 Subject: Add backup fonts to header and scale header at smaller scale --- src/components/HeaderBar/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/components/HeaderBar') diff --git a/src/components/HeaderBar/index.tsx b/src/components/HeaderBar/index.tsx index f14a504..0569e3d 100644 --- a/src/components/HeaderBar/index.tsx +++ b/src/components/HeaderBar/index.tsx @@ -15,6 +15,10 @@ transition: height 1s; @media (max-width: 770px) { height: 180px; } + +@media (max-width: 580px) { + height: 140px; +} `; function HeaderBar() { @@ -31,7 +35,7 @@ function HeaderBar() { margin-bottom: 200px; transition-property: font-size, margin-bottom; transition-duration: 1s; - font-family: "Uni Sans"; + font-family: "Uni Sans", "Hind", "Arial", sans-serif; @media (max-width: 770px) { margin-bottom: 100px; -- cgit v1.2.3