aboutsummaryrefslogtreecommitdiff
path: root/sass/_header.scss
diff options
context:
space:
mode:
Diffstat (limited to 'sass/_header.scss')
-rw-r--r--sass/_header.scss12
1 files changed, 9 insertions, 3 deletions
diff --git a/sass/_header.scss b/sass/_header.scss
index 6db9ffd..e89460c 100644
--- a/sass/_header.scss
+++ b/sass/_header.scss
@@ -1,3 +1,4 @@
+@use "sass:math";
.header {
height: 60*$px;
max-width: 1200*$px;
@@ -12,19 +13,24 @@
align-items: center;
justify-content: left;
height: 100%;
+ outline: none;
&:link, &:visited {
text-decoration: none;
font-size: 28*$px;
- color: var(--color-text);
+ color: inherit;
transition: transform .2s;
}
&:hover, &:active {
color: var(--color-primary);
transform: scale(1.05);
}
+ &:focus {
+ color: var(--color-accent);
+ transform: scale(1.05);
+ }
}
.main_icon {
- height: 100%;
- width: 40*$px;
+ height: math.div(200%, 3);
+ aspect-ratio: 5/4;
fill: currentColor;
}