Skip to content

Commit

Permalink
fix vertical centring and element heights
Browse files Browse the repository at this point in the history
  • Loading branch information
Madeline Hart committed Dec 27, 2020
1 parent 495a921 commit 5ba37e6
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions frontend/src/App.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');
@import url("./fonts/Metropolis/stylesheet.css");

.App {
text-align: center;
}
Expand Down Expand Up @@ -38,25 +41,24 @@
}
/* END CRA STUFF */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');
@import url("./fonts/Metropolis/stylesheet.css");

body {
font-family: "Metropolis", 'Open Sans', sans-serif;
}

.App {
color: #fff;
justify-content: center;
flex-direction: column;
}



/* VERTICALLYTG CENTRE */
.isitweeka {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 90%;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
}

.isitweeka {
Expand Down

0 comments on commit 5ba37e6

Please sign in to comment.