Skip to content

Commit

Permalink
Merge pull request #14 from DrewMcArthur/css-tweaks
Browse files Browse the repository at this point in the history
css tweaks
  • Loading branch information
DrewMcArthur authored Sep 19, 2023
2 parents 011198d + 601aaf0 commit 1bbc8ec
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ body {
overflow-x: hidden;
}

a {
color: var(--main-color);
}

.header {
display: flex;
Expand Down Expand Up @@ -87,9 +90,10 @@ body {
transition: text-decoration .1s ease-out, color .1s ease-out;
}

.section-header:hover,
.section-header.active {
text-decoration: underline;
color: var(--main-color)
color: var(--main-color);
}

.section {
Expand Down Expand Up @@ -140,9 +144,15 @@ body {

.social-text {
margin: 10px;
transition: color 1s ease-out;
}

.social-link:not(.planet):hover {
.social-link .social-name {
opacity: 0;
transition: opacity .25s ease;
}

.social-link:hover {
color: var(--main-color--hover);
border-color: var(--main-color--hover);
}
Expand All @@ -151,9 +161,9 @@ body {
filter: var(--main-color-filter--hover);
}

.social-link .social-name {
opacity: 0;
transition: opacity .25s ease;
.social-link:hover .social-text {
text-decoration: underline;
color: var(--main-color);
}

.social-link:hover .social-name {
Expand Down

0 comments on commit 1bbc8ec

Please sign in to comment.