From 7bb0e2eed3a20b436c3589c04ecb0397a87d20af Mon Sep 17 00:00:00 2001 From: controlol Date: Sat, 30 Oct 2021 15:28:08 +0200 Subject: [PATCH] add font --- src/index.css | 4 ++++ src/styled.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/index.css b/src/index.css index af3f42c..d0ccb57 100644 --- a/src/index.css +++ b/src/index.css @@ -1,3 +1,5 @@ +@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap'); + html { --background-color: #eee; --popup-background: #ddd; @@ -29,6 +31,8 @@ body { sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; + + font-family: 'Lato', sans-serif; } * { diff --git a/src/styled.js b/src/styled.js index 88b894b..2fefe8a 100644 --- a/src/styled.js +++ b/src/styled.js @@ -48,7 +48,7 @@ export const LogoContainer = styled.div` ` export const ActiveContainer = styled.div` - min-height: 23.5rem; // for perfect alignment with the info boxes + min-height: 22.5rem; // for perfect alignment with the info boxes background: var(--box-gradient); border-radius: .5rem; padding: 1rem 2rem;