From 1d3bc5f9f4b0bbd6a5d27c4abb36f37eb7da61d8 Mon Sep 17 00:00:00 2001 From: Bharath Valaboju Date: Mon, 20 May 2024 19:52:47 +0530 Subject: [PATCH] navigation: made buttons dynamic --- certification/styles.css | 7 ++++++- guided/styles.css | 7 ++++++- styles.css | 5 ++++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/certification/styles.css b/certification/styles.css index 05b55fe..50342f0 100644 --- a/certification/styles.css +++ b/certification/styles.css @@ -14,7 +14,6 @@ body { border: 1px solid white; font-family: monospace; font-size: 1.75rem; - padding: 0.5rem; } a { @@ -24,4 +23,10 @@ a { height: 100%; color: white; text-decoration: none; + border: 0.5rem solid transparent; +} + +a:hover, .button:hover { + background-color: white; + color: black; } \ No newline at end of file diff --git a/guided/styles.css b/guided/styles.css index 05b55fe..50342f0 100644 --- a/guided/styles.css +++ b/guided/styles.css @@ -14,7 +14,6 @@ body { border: 1px solid white; font-family: monospace; font-size: 1.75rem; - padding: 0.5rem; } a { @@ -24,4 +23,10 @@ a { height: 100%; color: white; text-decoration: none; + border: 0.5rem solid transparent; +} + +a:hover, .button:hover { + background-color: white; + color: black; } \ No newline at end of file diff --git a/styles.css b/styles.css index eab028d..07403c5 100644 --- a/styles.css +++ b/styles.css @@ -29,5 +29,8 @@ a { text-decoration: none; } - +a:hover { + background-color: white; + color: black; +}