diff --git a/src/lib/components/Footer.svelte b/src/lib/components/Footer.svelte index b643689..470a48d 100644 --- a/src/lib/components/Footer.svelte +++ b/src/lib/components/Footer.svelte @@ -33,10 +33,10 @@ flex-direction: column; align-items: center; justify-content: center; - gap: 1rem; + gap: 1rem; - margin-top: 5rem; - padding: 2rem; + margin-top: 5rem; + padding: 2rem; background-color: var(--color-footer-background); } @@ -64,19 +64,23 @@ padding: 0.5rem; text-decoration: none; - &:visited { - color: inherit; - } + &:hover { + color: var(--color-header-hover); + } + + &:visited:not(:hover){ + color: inherit; + } } - .icon { - width: 1em; - height: 1em; - } + .icon { + width: 1em; + height: 1em; + } - div { - font-size: 0.875rem; - color: var(--color-text-tertiary); - text-align: center; - } + div { + font-size: 0.875rem; + color: var(--color-text-tertiary); + text-align: center; + } \ No newline at end of file diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte index 00887fa..0f02fec 100644 --- a/src/lib/components/Header.svelte +++ b/src/lib/components/Header.svelte @@ -80,7 +80,7 @@ transition: ease-in-out 0.2s; &:hover { - color: var(--color-accent-primary); + color: var(--color-header-hover); } } \ No newline at end of file diff --git a/src/lib/components/Profile.svelte b/src/lib/components/Profile.svelte index cc1e6b4..aaf10d7 100644 --- a/src/lib/components/Profile.svelte +++ b/src/lib/components/Profile.svelte @@ -22,7 +22,7 @@ text-align: center; background-image: linear-gradient( var(--color-body-background) 0%, - var(--color-intro-background-secondary) 100% + var(--color-profile-background-secondary) 100% ); @media (min-width: 768px) { @@ -49,8 +49,8 @@ border-radius: 100%; background-image: linear-gradient( to right, - var(--color-intro-image-background-primary) 0%, - var(--color-intro-image-background-secondary) 100% + var(--color-profile-image-background-primary) 0%, + var(--color-profile-image-background-secondary) 100% ); } @@ -77,7 +77,7 @@ margin: unset; margin-bottom: 1rem; - color: var(--color-intro-title-text); + color: var(--color-profile-title-text); font-size: 1.25rem; @media (min-width: 768px) { @@ -87,7 +87,7 @@ .text { margin: unset; - color: var(--color-intro-text); + color: var(--color-profile-text); font-size: 1.125rem; line-height: 1.625; diff --git a/src/lib/components/ProjectEntry.svelte b/src/lib/components/ProjectEntry.svelte index 53097ff..4be4138 100644 --- a/src/lib/components/ProjectEntry.svelte +++ b/src/lib/components/ProjectEntry.svelte @@ -1,5 +1,6 @@ -
- +
+
+
+ + + + {title} + {description} +
+
+
+ {taskHeadline} + {tasks} +
+
+ {toolsHeadline} +
    + {#each tools as tool, i (i)} +
  • {tool}
  • + {/each} +
+
+
+
\ No newline at end of file diff --git a/src/lib/components/Projects.svelte b/src/lib/components/Projects.svelte index 9c9e763..cd911f7 100644 --- a/src/lib/components/Projects.svelte +++ b/src/lib/components/Projects.svelte @@ -60,4 +60,20 @@ font-size: 1.25rem; } } + + div { + display: grid; + grid-template-columns: 1fr; + grid-auto-rows: auto; + gap: 2rem; + justify-content: center; + + @media (min-width: 768px) { + grid-template-columns: repeat(2, minmax(0, 25rem)); + } + + @media (min-width: 1024px) { + grid-template-columns: repeat(3, minmax(0, 25rem)); + } + } \ No newline at end of file diff --git a/src/lib/styles/app.css b/src/lib/styles/app.css index b0f1064..ceea3de 100644 --- a/src/lib/styles/app.css +++ b/src/lib/styles/app.css @@ -5,20 +5,6 @@ --color-text-secondary: oklch(0.707 0.022 261.325); --color-text-tertiary: oklch(0.551 0.027 264.364); - - --color-header-border: oklab(0.623 -0.0378409 -0.210628 / 0.3); - --color-header-background: oklab(0.21 -0.00316128 -0.0338527 / 0.95); - --color-header-hover: oklch(70.7% 0.165 254.624); - - --color-footer-background: oklch(0.13 0.028 261.692); - - --color-intro-background-primary: oklab(0.379 -0.0113992 -0.145554 / 0.2); - --color-intro-background-secondary: oklab(0.379 -0.0113992 -0.145554 / 0.2); - --color-intro-image-background-primary: oklch(0.623 0.214 259.815); - --color-intro-image-background-secondary: oklch(0.511 0.262 276.966); - --color-intro-text: oklch(0.967 0.003 264.542); - --color-intro-title-text: oklch(0.809 0.105 251.813); - --color-headline-primary: oklch(0.707 0.165 254.624); --color-headline-secondary: oklch(0.673 0.182 276.935); --color-headline-tertiary: oklch(0.714 0.203 305.504); @@ -28,6 +14,25 @@ var(--color-headline-secondary) 60%, var(--color-headline-tertiary) 100%); + --color-header-border: oklab(0.623 -0.0378409 -0.210628 / 0.3); + --color-header-background: oklab(0.21 -0.00316128 -0.0338527 / 0.95); + --color-header-hover: oklch(70.7% 0.165 254.624); + + --color-footer-background: oklch(0.13 0.028 261.692); + + --color-profile-background-primary: oklab(0.379 -0.0113992 -0.145554 / 0.2); + --color-profile-background-secondary: oklab(0.379 -0.0113992 -0.145554 / 0.2); + --color-profile-image-background-primary: oklch(0.623 0.214 259.815); + --color-profile-image-background-secondary: oklch(0.511 0.262 276.966); + --color-profile-text: oklch(0.967 0.003 264.542); + --color-profile-title-text: oklch(0.809 0.105 251.813); + + --color-project-card-front-background-primary: oklch(0.278 0.033 256.848); + --color-project-card-front-background-secondary: oklch(0.373 0.034 259.733); + --color-project-card-back-background-primary: oklch(0.379 0.146 265.522); + --color-project-card-back-background-secondary: oklch(0.359 0.144 278.697); + --color-project-card-box-shadow: 0 0 0 0 rgba(0,0,0,0), oklab(0.623 -0.0378409 -0.210628 / 0.5) 0 25px 50px -12px; + --z-index-header: 50; } @@ -46,4 +51,9 @@ html, body { background-color: var(--color-body-background); font-family: 'AdwaitaSans', 'AdwaitaMono', sans-serif; scroll-behavior: smooth; +} + +.icon { + width: 1em; + height: 1em; } \ No newline at end of file