From 54b10e19a07a3c7aa5ead93b8a92ba40200e6b25 Mon Sep 17 00:00:00 2001 From: brulijam Date: Sun, 25 Aug 2024 19:42:04 +0200 Subject: [PATCH] changed link look --- src/css/main.css | 38 +++++++++++++++++--------------------- src/index.html | 16 ++++++++-------- src/js/links.js | 3 ++- 3 files changed, 27 insertions(+), 30 deletions(-) diff --git a/src/css/main.css b/src/css/main.css index 6c6b47c..70d55b4 100644 --- a/src/css/main.css +++ b/src/css/main.css @@ -9,7 +9,7 @@ --font-weight: 400; --font-family: "Lucida Console"; - --link-font-weight: 1000; + --link-font-weight: 700; --link-border-radius: 5px; --page-max-width: 800px; @@ -24,19 +24,6 @@ body { overflow-x: hidden; margin: 20px; - & a { - color: var(--secondary-color); - text-decoration: underline solid var(--secondary-color2) 1px; - top: 0; - position: relative; - } - - & a:hover { - text-decoration: underline solid var(--secondary-color) 1px; - filter: drop-shadow(0px 0px 5px var(--secondary-color2)) brightness(1.02); - top: -2px; - } - & h1, p { margin: 0; } @@ -73,9 +60,22 @@ header { } /* Links */ + +.text-link { + color: var(--secondary-color); + text-decoration: underline solid var(--secondary-color2) 1px; + top: 0; + position: relative; + padding: 0 2px; +} + +.text-link:hover { + text-decoration: underline solid var(--secondary-color) 1px; + filter: drop-shadow(0px 0px 5px var(--secondary-color2)) brightness(1.02); + top: -2px; +} + .linkGroup { - margin: auto; - box-sizing: border-box; /* if wide */ @media only screen and (min-width: 480px) { @@ -111,7 +111,7 @@ header { text-align: center; text-decoration: none; - color: rgb(0, 0, 0); + color: rgb(16, 16, 16); background-color: var(--secondary-color); display: block; @@ -164,8 +164,4 @@ header { /* Footer */ footer { text-align: center; - - & a { - padding: 0 2px; - } } \ No newline at end of file diff --git a/src/index.html b/src/index.html index 1a93a57..1903c16 100644 --- a/src/index.html +++ b/src/index.html @@ -34,20 +34,20 @@

alive for seconds.

next birthday in seconds.

-

employed at subshell for employed at subshell for seconds.