From 4363a1c7b8325837b692c90696c078b0b81f0b4c Mon Sep 17 00:00:00 2001 From: Inna Atanasova Date: Thu, 7 Mar 2024 10:10:17 -0500 Subject: [PATCH] add unsaved changes --- css/common.css | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/css/common.css b/css/common.css index b2fd8ab..4fa4897 100644 --- a/css/common.css +++ b/css/common.css @@ -579,29 +579,34 @@ main, header { } .cc-link { - padding: 0.75rem 1.5rem; + cursor: pointer; + font-weight: 600; font-size: 1.2rem; - background-color: var(--code-connect-color); + width: fit-content; color: var(--white); - border: 0.125rem solid var(--code-connect-color); border-radius: 5rem; - margin-block-start: 2rem; margin-inline: auto; - cursor: pointer; - font-weight: 600; - width: fit-content; + text-decoration: none; + padding: 0.75rem 1.5rem; + margin-block-start: 2rem; + background-color: var(--code-connect-color); transition: background-color 0.3s ease-in-out; + border: 0.125rem solid var(--code-connect-color); } -.cc-button:is(:hover) { +.cc-link:is(:hover) { + font-weight: 600; + text-decoration: none; background-color: transparent; color: var(--code-connect-color); - font-weight: 600; } -.cc-button:is(:focus) { - outline: 0.125rem solid var(--code-connect-color); +a.cc-link:is(:focus, :active, :focus:hover) { + color: var(--white); + text-decoration: none; outline-offset: 0.125rem; + background-color: var(--code-connect-color); + outline: 0.125rem solid var(--code-connect-color); } @media only screen and (min-width: 768px) {