From ce2af663128ab976496686e453c3356a21c53cb3 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sat, 13 Jul 2024 20:11:59 +0800 Subject: [PATCH] Remove !important declaration from link buttons --- src/assets/css/components.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/assets/css/components.css b/src/assets/css/components.css index a6d3137f..2fec02c0 100644 --- a/src/assets/css/components.css +++ b/src/assets/css/components.css @@ -87,9 +87,9 @@ outline-offset: -0.25em; } -.link-btn[href^="http"] { padding-right: calc(var(--btn-right-padding) + 1.1em) !important; } -.link-btn[href^="http"]::after { background-color: var(--clr-link-btn-txt) !important; } -.link-btn[href^="http"]:hover::after { background-color: var(--clr-link-hover) !important; } +a.link-btn[href^="http"]:not([href*="leilukin.com"]) { padding-right: calc(var(--btn-right-padding) + 1.1em); } +a.link-btn[href^="http"]:not([href*="leilukin.com"])::after { background-color: var(--clr-link-btn-txt); } +a.link-btn[href^="http"]:not([href*="leilukin.com"]):hover::after { background-color: var(--clr-link-hover); } /* Content Accordion */ * + .content-accordion { margin-top: var(--sz-paragraph-margin); }