Skip to content

Commit

Permalink
Import the fonts
Browse files Browse the repository at this point in the history
Copy accross youtube.css to youtube.scss
  • Loading branch information
Gum-Joe committed Jun 23, 2021
1 parent 505554f commit be28ae8
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/scss/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
@import "variables";
@import "breakpoints";

// Grab our fonts
@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"); // Open Sans
@import url("../fonts/Metropolis/stylesheet.css"); // MAIN font Metropolis

// Orgiinally from create-react-app, isn't really relevant here
body {
margin: 0;
Expand Down
1 change: 1 addition & 0 deletions frontend/src/scss/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
@import "socials.scss";
@import "tabs.scss";
@import "year-group-calendar.scss";
@import "youtube.scss";

/** Page parts like the jumbotron, footer, etc */
@import "events.scss";
Expand Down
20 changes: 20 additions & 0 deletions frontend/src/scss/youtube.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/** Styles for the YT container used to display the 2021 April Fools video. Useful if you want to put a video in the Jumbotron */

.yt-container {
display: inherit;
justify-content: center;
margin-top: 120px;
}

@media screen and (min-width: 700px) {
.yt-container {
margin-top: 150px;
}
}

@media screen and (max-width: 500px) {
.yt-container iframe {
width: 560px;
height: 315px;
}
}

0 comments on commit be28ae8

Please sign in to comment.