Skip to content

Commit

Permalink
added fonts, font variables, color variables, styled library course--…
Browse files Browse the repository at this point in the history
…title, and gave course library grid an inset of 100px
  • Loading branch information
Maxnelson997 committed Jun 1, 2018
1 parent 0c34898 commit bb2de5b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
11 changes: 10 additions & 1 deletion src/style/library.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@
display: grid;
grid-template-rows: [title-s] 100px [title-e courses-s] repeat(auto-fit, 1fr) [courses-e];
grid-row-gap: 22px;

padding-left: 100px;
padding-top: 100px;
margin-right: -50px;

&__title {
// grid-row: title-s/title-e;
color: $color-blue;
font-family: $font-alegreya;
font-size: 34px;
font-weight: bold;
border-left: 2px solid $color-blue;
padding: 20px 40px;
}
}
2 changes: 1 addition & 1 deletion src/style/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
display: grid;
grid-template-columns: [library-s] 1fr 1fr [library-e schedule-s] 1fr [schedule-e];
grid-template-rows: 1fr;
}


}

.schedule {
grid-column: schedule-s/schedule-e;
Expand Down
8 changes: 7 additions & 1 deletion src/style/variables.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
$color-purple: #6F48CE;
$color-light-blue: #32CBE8;
$color-light-blue: #32CBE8;
$color-blue: #487BCE;
$color-gray: #4D4D4D;

$font-alegreya: 'Alegreya';
$font-mont: 'Montserrat';
$font-lato: 'Lato';
2 changes: 1 addition & 1 deletion static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Alegreya:400,700|Lato:400,700|Montserrat:400,700" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<title>Course Schedule</title>
</head>
Expand Down

0 comments on commit bb2de5b

Please sign in to comment.