explains what the fuck is going on with some of the weird shit im doing to make the div clickable
This commit is contained in:
Christian
2021-01-05 00:59:38 -05:00
parent 6708c46e14
commit d9854e2c56

View File

@@ -30,6 +30,9 @@ a {
position: relative; position: relative;
transition: opacity .5s; transition: opacity .5s;
} }
/* some hacky shit to make <div class=contact>s clickable. basically just makes
an <a> in a <div class=contact> take up the full div. also changes the cursor but
idk if thats even necessary nor do i care as of 0:57 on a tuesday when im writing this */
.contact a { .contact a {
z-index: 10; z-index: 10;
width: 100%; width: 100%;
@@ -44,6 +47,7 @@ div.contact:hover {
cursor: hand; cursor: hand;
cursor: pointer; cursor: pointer;
} }
@media screen and (max-width:500px) { @media screen and (max-width:500px) {
.contact { .contact {
width: 100%; width: 100%;
@@ -52,4 +56,4 @@ div.contact:hover {
width: 80%; width: 80%;
} }
} }
/* TODO: make it not bad */