diff --git a/web/src/components/general/logo.module.scss b/web/src/components/general/logo.module.scss
index 40e63dd..4d339fd 100644
--- a/web/src/components/general/logo.module.scss
+++ b/web/src/components/general/logo.module.scss
@@ -1,6 +1,7 @@
.logo {
color: currentColor;
width: 16rem;
+ transition: width .3s ease;
&.index {
width: 24rem;
diff --git a/web/src/components/layout/Header.tsx b/web/src/components/layout/Header.tsx
index e33dd6d..ad1073f 100644
--- a/web/src/components/layout/Header.tsx
+++ b/web/src/components/layout/Header.tsx
@@ -16,7 +16,7 @@ export const Header = () => {
diff --git a/web/src/components/layout/header.module.scss b/web/src/components/layout/header.module.scss
index 6447c1d..fe92bcf 100644
--- a/web/src/components/layout/header.module.scss
+++ b/web/src/components/layout/header.module.scss
@@ -4,6 +4,10 @@
align-items: flex-start;
padding: var(--spacing-sitepadding);
+ ul {
+ list-style: none;
+ }
+
a {
text-decoration: none;
}
@@ -16,7 +20,11 @@
}
.siteMenu {
- ul {
+ display: flex;
+ gap: var(--spacing-sitepadding);
+ align-items: flex-start;
+
+ .mainMenu {
list-style: none;
display: flex;
gap: var(--spacing-sitepadding);
@@ -25,4 +33,88 @@
a {
font-weight: 500;
}
+}
+
+.toggleMenu {
+ position: relative;
+ z-index: 1001;
+ background: none;
+ margin-top: .2rem;
+}
+
+.menuIcon {
+ --stroke-width: 0.12rem;
+ --icon-width: 1.75rem;
+ display: block;
+ position: absolute;
+ left: 50%;
+ transform: translateX(-50%);
+ width: var(--icon-width);
+ height: var(--stroke-width);
+ background: currentColor;
+
+ &:before,
+ &:after {
+ content: "";
+ display: block;
+ position: absolute;
+ left: 0;
+ width: var(--icon-width);
+ height: var(--stroke-width);
+ background: currentColor;
+ }
+
+ &:before {
+ top: -.5rem;
+ }
+
+ &:after {
+ bottom: -.5rem;
+ }
+}
+
+.fullMenu {
+ position: fixed;
+ right: -100%;
+ top: 0;
+ bottom: 0;
+ z-index: 1000;
+ width: 50%;
+
+ background: var(--color-chateauBlue);
+ color: var(--color-betongGray);
+ padding: var(--spacing-sitepadding);
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ font-size: 1.4rem;
+
+ transition: all var(--transition-easing);
+}
+
+.menuItemLarge {
+ font-size: 2rem;
+}
+
+.divider {
+ margin-top: 3rem;
+}
+
+.search,
+.galtinn {
+ margin-top: 3rem;
+}
+
+.siteMenu[data-show=true] {
+ .mainMenu {
+ display: none;
+ }
+
+ .fullMenu {
+ right: 0;
+ }
+
+ .menuIcon {
+ color: var(--color-betongGray);
+ }
}
\ No newline at end of file
diff --git a/web/src/css/base.scss b/web/src/css/base.scss
index 81f6644..81504cc 100644
--- a/web/src/css/base.scss
+++ b/web/src/css/base.scss
@@ -80,7 +80,8 @@ h6 {
letter-spacing: .05em;
}
-button {
+button,
+.button {
border-radius: 10rem;
background: var(--color-cta);
color: var(--color-text);
@@ -104,6 +105,18 @@ blockquote {
margin: 1.8rem 0;
}
+input[type="text"] {
+ border-radius: 10rem;
+ background: var(--color-white);
+ color: var(--color-text);
+ border: none;
+ padding: .5rem 1rem;
+ font-family: inherit;
+ font-size: var(--font-size-body);
+ font-weight: 500;
+ transition: opacity var(--transition-easing);
+}
+
.site-main {
padding: var(--spacing-sitepadding);
}