From 6708c46e1446c75c3032981d25c841b3090912c8 Mon Sep 17 00:00:00 2001 From: Christian Date: Tue, 5 Jan 2021 00:48:20 -0500 Subject: [PATCH] various improvements contact divs animate on hover full div is clickable instead of just an a tag inside of it --- index.html | 20 +++++++++++++------- styles.css | 20 +++++++++++++++++--- 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index 117c7c9..1075a1f 100644 --- a/index.html +++ b/index.html @@ -16,33 +16,39 @@

Email: cesium2349@protonmail.com (PGP Key)
not an exhaustive list of my entire presence on the internet but stuff on this list is definitely me

-
+

Discord

Cesium#5061

GitHub

-

CesiumCs

+

CesiumCs

+

Instagram

-

c.es.ium

+

c.es.ium

+

YouTube

-

Cesium

+

Cesium

+

Reddit

-

unfunnycesium

+

unfunnycesium

+

Keybase

-

cesium2349

+

cesium2349

+

Twitter

-

cesium2349

+

cesium2349

+
diff --git a/styles.css b/styles.css index 3b2ebb2..a25d184 100644 --- a/styles.css +++ b/styles.css @@ -10,9 +10,6 @@ a { text-decoration: none; text-shadow: 0 0 5px; } -.contact a { - color: white; -} @font-face { font-family: "Open Sans"; src: url(assets/OpenSans-Regular.ttf); @@ -29,6 +26,23 @@ a { background-color: #232629; border-radius: 10px; text-align: center; + opacity: .9; + position: relative; + transition: opacity .5s; + } + .contact a { + z-index: 10; + width: 100%; + height: 100%; + top: 0; + left: 0; + color: white; + position: absolute; +} +div.contact:hover { + opacity: 1; + cursor: hand; + cursor: pointer; } @media screen and (max-width:500px) { .contact {