From 7eb18f9b99ce327121f507f7cd7293be323d6e5a Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Sat, 1 Apr 2023 19:58:53 -0700 Subject: [PATCH] fix some styling with links Signed-off-by: Arthur Lu --- index.html | 2 +- styles/cards.css | 10 ++++++++++ styles/styles.css | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index c720e74..4c8c9ff 100644 --- a/index.html +++ b/index.html @@ -100,7 +100,7 @@

My Projects

- Browse + Browse
diff --git a/styles/cards.css b/styles/cards.css index 81ac2cf..83ee8eb 100644 --- a/styles/cards.css +++ b/styles/cards.css @@ -7,6 +7,7 @@ Cards alternate style from flat to popped out :root { --card-bg-color: #222222; --card-text-color: white; + --link-text-color: #AAAAFF; } .single { @@ -74,4 +75,13 @@ Cards alternate style from flat to popped out } .card[data-reverse] { flex-direction: column-reverse; +} +.card a { + font-size: large; + color: var(--accent-text-color); + text-decoration: underline 0.1em var(--card-bg-color); + transition: text-decoration-color 500ms; +} +.card a:hover { + text-decoration: underline 0.1em var(--link-text-color); } \ No newline at end of file diff --git a/styles/styles.css b/styles/styles.css index 12be234..5468ace 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -72,7 +72,7 @@ nav a { font-size: x-large; color: var(--accent-text-color); text-decoration: underline 0.1em var(--accent-bg-color); - transition: text-decoration-color 500ms; + transition: text-decoration-color 500ms; } nav a:hover { text-decoration: underline 0.1em var(--accent-text-color);