aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-09-28 20:52:48 +0100
committerGravatar Joe Banks <[email protected]>2020-09-28 20:52:48 +0100
commit9fcb3f2e06dc36653e6ad338222b5e4ddfeb8d3b (patch)
tree6adf048f7545f909076bd1a4c35b00e75253ea4b
parentChange opacity of header SVG (diff)
Add backup fonts to header and scale header at smaller scale
-rw-r--r--src/components/HeaderBar/index.tsx6
1 files changed, 5 insertions, 1 deletions
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;