summaryrefslogtreecommitdiff
path: root/scss/modules/btn.scss
diff options
context:
space:
mode:
authorJoe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com>2023-12-21 21:21:30 +0000
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2024-01-12 08:29:08 +0000
commit5d5e2f8aa5c4030c33bf06f2cb817b9d770cc884 (patch)
tree1ef67a95bec53331eeba34787e6edc03a2fd9bb1 /scss/modules/btn.scss
parent9102fe8bcd13c01bf7bae462e013c920cae9f52f (diff)
Improve CSS reset (#51)
* Font size inflation * Removes main adjustment for IE * Documents hr corrections * Documents pre corrections * Documents abbr[title] corrections * Documents b, strong corrections * Squishes pre rule with code,kbd,samp * Documents sub,sub line-height fix * Removes IE fix for img borders * Documents form control resets * Documents details display:block * Documents summary correction * Removes [hidden] fix for IE * Adds border-box sizing rules * Refactors links
Diffstat (limited to 'scss/modules/btn.scss')
-rw-r--r--scss/modules/btn.scss9
1 files changed, 7 insertions, 2 deletions
diff --git a/scss/modules/btn.scss b/scss/modules/btn.scss
index 1d52b9c..e9db392 100644
--- a/scss/modules/btn.scss
+++ b/scss/modules/btn.scss
@@ -1,7 +1,5 @@
.btn {
display: block;
- box-sizing: border-box;
- color: var(--text-color);
border: solid var(--relative-eighth-rem) var(--text-color);
font-weight: 600;
text-align: center;
@@ -33,3 +31,10 @@
.btn:active {
transform: scale(1.1, 1.1);
}
+
+/* Override anchor styling. */
+a.btn {
+ color: var(--text-color);
+ text-decoration: none;
+}
+