
@@ -33,11 +38,9 @@ const Navbar = () => (
{edge.node.title}
))*/}
-
Program
-
Foreningene
Om oss
+
Foreningene
Utleie
-
Kontakt
=
diff --git a/src/css/base.scss b/src/css/base.scss
index 72b1a8d..292e670 100644
--- a/src/css/base.scss
+++ b/src/css/base.scss
@@ -5,7 +5,7 @@
}
html {
- font-size: calc(16px + 6 * ((100vw - 320px) / 1200));
+ font-size: calc(14px + 6 * ((100vw - 320px) / 1200));
height: 100%;
background: $color-background;
}
diff --git a/src/css/header.scss b/src/css/header.scss
index 7143d4f..bee123c 100644
--- a/src/css/header.scss
+++ b/src/css/header.scss
@@ -2,12 +2,12 @@
padding: 1rem 2rem;
background: $color-black;
display: flex;
- justify-content: space-between;
+ justify-content: center;
}
.logo {
width: 3rem;
- margin-right: 2rem;
+ margin: 0 3rem;
a {
display: block;
@@ -15,9 +15,14 @@
}
.site-nav {
+ flex: 1;
display: flex;
flex-wrap: wrap;
align-items: center;
+ justify-content: flex-end;
+ &:last-of-type {
+ justify-content: flex-start;
+ }
a {
text-decoration: none;
display: inline-block;
@@ -32,8 +37,9 @@
letter-spacing: 0.08em;
font-size: $font-s;
+ transition: box-shadow 0.2s ease-in-out;
&:hover {
- color: $color-orange;
+ box-shadow: 0 1px 0 0 $color-white;
}
}
&_toggle {