From eee673329a0233e441b7d5f190ea2a259c0f985d Mon Sep 17 00:00:00 2001 From: midblep Date: Sun, 18 Jul 2021 23:10:08 +0200 Subject: [PATCH] updates --- pages/index.js | 50 +++++++++++++++++++++++++++++++++-------- styles/Index.module.css | 30 ++++++++++++++++--------- 2 files changed, 60 insertions(+), 20 deletions(-) diff --git a/pages/index.js b/pages/index.js index 7562696..ba077db 100644 --- a/pages/index.js +++ b/pages/index.js @@ -8,6 +8,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faDiscord } from '@fortawesome/free-brands-svg-icons' import { faTwitter } from '@fortawesome/free-brands-svg-icons' import { faSpotify } from '@fortawesome/free-brands-svg-icons' +import { faSteam } from '@fortawesome/free-brands-svg-icons' import { faSoundcloud } from '@fortawesome/free-brands-svg-icons' import { faEnvelope } from '@fortawesome/free-solid-svg-icons' @@ -45,17 +46,48 @@ export default function Index() {
-

Twitter

-

Spotify

-

Discord

-

SoundCloud

- {/*

Email

*/} +
+ + +

Twitter

+ +
+
+ + + +

Discord

+ +
+
+ + + +

SoundCloud

+ +
+
+ + + +

Email

+ +
+
+ + + +

Steam

+ +
+
+
- - + + ) } \ No newline at end of file diff --git a/styles/Index.module.css b/styles/Index.module.css index 312cb35..e51227d 100644 --- a/styles/Index.module.css +++ b/styles/Index.module.css @@ -29,8 +29,6 @@ position: absolute; top: 0; left: 0; - padding: 0; - margin: 0; width: 100vw; height: 40vh; display: flex; @@ -54,7 +52,7 @@ } .bottomcontainer { - height: auto; + height: 60vh; background-color: #232323; display: flex; flex-direction: column; @@ -77,18 +75,20 @@ /* items */ -.links { +.links div { flex-wrap: wrap; font-size: 1.5em; flex-grow: 1; - display: flex; + display: grid; + grid-template-columns: 25% 25% 25%; gap: var(--padding-lg); justify-content: start; align-items: center; } -.links a { - padding: var(--padding) var(--padding-xl); +.links div a { + text-align: center; + padding: var(--padding) var(--padding-lg) var(--padding) var(--padding-xl); transition-duration: var(--transition-speed); background-color: #2940D3; @@ -97,15 +97,22 @@ transform: skewX(-20deg); } -.links a p { +.links div p { margin: unset; +} + +.links div a span { -ms-transform: skewX(20deg); -webkit-transform: skewX(20deg); transform: skewX(20deg); - display: inline-block; + display: inline-flex; + align-items: center; + justify-content: space-between; + width: 100%; } -.links a:hover { + +.links div a:hover { transition-duration: 0.3s; background-color: #1f309e; } @@ -132,8 +139,9 @@ font-weight: normal; } - .links { + .links div { font-size: var(--font); + display: flex; flex-wrap: wrap; justify-content: center; }