Skip to content

Commit

Permalink
Cleaner navigation and playing around with fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofVDB1 committed Nov 29, 2023
1 parent 193757c commit ea80863
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
1 change: 1 addition & 0 deletions assets/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ h1{

h2{
@extend %h2;
padding-bottom: 1rem
}

h3{
Expand Down
12 changes: 6 additions & 6 deletions assets/styles/utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
%h1{
color: $color-blue;

font-weight: $font-weight-bold;
font-weight: $font-weight-medium;
font-family: $font-family-title;

font-size: $font-size-title-lg;
Expand All @@ -240,7 +240,7 @@
%h2{
color: $color-blue;

font-weight: $font-weight-bold;
font-weight: $font-weight-medium;
font-family: $font-family-title;

font-size: $font-size-title-md;
Expand All @@ -256,7 +256,7 @@
%h3{
color: $color-blue;

font-weight: $font-weight-bold;
font-weight: $font-weight-medium;
font-family: $font-family-title;

font-size: $font-size-title-sm;
Expand All @@ -272,7 +272,7 @@
%h4{
color: $color-blue;

font-weight: $font-weight-bold;
font-weight: $font-weight-medium;
font-family: $font-family-title;

font-size: $font-size-text-xlg;
Expand All @@ -289,7 +289,7 @@
%h5{
color: $color-blue;

font-weight: $font-weight-bold;
font-weight: $font-weight-medium;
font-family: $font-family-title;

font-size: $font-size-text-lg;
Expand All @@ -306,7 +306,7 @@
%h6{
color: $color-blue;

font-weight: $font-weight-bold;
font-weight: $font-weight-medium;
font-family: $font-family-title;

font-size: $font-size-text-sm;
Expand Down
3 changes: 3 additions & 0 deletions assets/styles/vars.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Dosis:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Changa+One&display=swap');

$break-s: 480px;
Expand Down Expand Up @@ -109,6 +111,7 @@ $gradient-white-red: linear-gradient(358.43deg, #B51C36 18.92%, rgba(255, 255, 2

$font-family-title: 'Changa One', sans-serif;
$font-family-text: 'Rubik', sans-serif;
$font-family-logo: 'Dosis', sans-serif;

$font-weight-thin: 100;
$font-weight-extra-light: 200;
Expand Down
1 change: 0 additions & 1 deletion components/navigation/navigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<div class="navigation__logo">
<a
href="/"
class="vlw__primary-bar__brand__host"
>
DPEDS
</a>
Expand Down
10 changes: 10 additions & 0 deletions components/navigation/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,21 @@
}

.navigation__logo {
@extend %h4;
display: flex;
color: white;
text-decoration: none;
z-index: 1;
flex: 1;
margin-left: calc(#{$spacing-base} * 2.5);
align-items: center;
font-family: $font-family-logo;

height: 100%;

& a:visited {
color: white;
}
}

.navigation__links {
Expand Down

0 comments on commit ea80863

Please sign in to comment.