From 1b96811d5fe18ef1ab2b59487a33f16db0658d7a Mon Sep 17 00:00:00 2001 From: midblep Date: Sun, 18 Jul 2021 23:56:57 +0200 Subject: [PATCH] updates --- pages/index.js | 7 +++---- styles/Index.module.css | 19 +++++++++++++++---- styles/globals.css | 15 ++++++++++----- 3 files changed, 28 insertions(+), 13 deletions(-) diff --git a/pages/index.js b/pages/index.js index ba077db..edb726e 100644 --- a/pages/index.js +++ b/pages/index.js @@ -22,6 +22,9 @@ export default function Index() {
+
@@ -83,10 +86,6 @@ export default function Index() { - - ) diff --git a/styles/Index.module.css b/styles/Index.module.css index e51227d..1021c60 100644 --- a/styles/Index.module.css +++ b/styles/Index.module.css @@ -70,20 +70,31 @@ width: 10vw; height: 100vh; background-color: #1a1a1a; + display: flex; + flex-direction: column; + justify-content: space-between; +} + +.leftsidetint footer { + font-size: var(--font-sm); + padding: var(--padding-lg); } /* items */ +.links { + display: flex; + flex-grow: 1; + align-items: center; +} + .links div { - flex-wrap: wrap; + width: 100%; font-size: 1.5em; - flex-grow: 1; display: grid; grid-template-columns: 25% 25% 25%; gap: var(--padding-lg); - justify-content: start; - align-items: center; } .links div a { diff --git a/styles/globals.css b/styles/globals.css index fcf6aec..c9e0aa5 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -91,13 +91,12 @@ img { animation-name: slide-in-right; animation-duration: 1s; margin-right: 10vw; - margin-left: -10vw; animation-timing-function: ease-in-out; } @keyframes slide-in-right { 0% { - margin-right: 100vw; + margin-right: 150vw; } 100% { margin-right: 10vw; @@ -107,13 +106,16 @@ img { .slide-in-left { animation-name: slide-in-left; - animation-duration: 1s; + animation-duration: 1.2s; margin-left: 0vw; animation-timing-function: ease-in-out; } @keyframes slide-in-left { 0% { + margin-left: 100vw; + } + 25% { margin-left: 100vw; } 100% { @@ -124,13 +126,16 @@ img { .slide-in-up { animation-name: slide-in-up; - animation-duration: 1s; + animation-duration: 1.4s; margin-top: 0vh; animation-timing-function: ease-in-out; } @keyframes slide-in-up { 0% { + margin-top: 100vh; + } + 25% { margin-top: 100vh; } 100% { @@ -140,7 +145,7 @@ img { .slide-in-down { animation-name: slide-in-down; - animation-duration: 1s; + animation-duration: 0.4s; overflow-y: hidden; top: 0vh; animation-timing-function: ease-in-out;