blob: b0504b7d019652c7432295b4f5e83da9aaeb515d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
@use "../abstracts/functions" as fun;
*::selection {
background: fun.get-var(color-primary-light-opacity);
}
body {
background: fun.get-var(color-bg);
color: fun.get-var(color-fg);
font-size: fun.get-var(font-size-md);
line-height: fun.get-var(line-height);
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
margin: 0 0 fun.get-var(spacing-sm);
}
a {
color: fun.get-var(color-primary);
text-decoration-thickness: fun.convert-px(2);
text-underline-offset: fun.convert-px(3);
transition: all 0.3s ease-in-out 0s;
&:hover,
&:focus {
color: fun.get-var(color-primary-light);
text-decoration-color: fun.get-var(color-primary-light);
text-decoration-thickness: fun.convert-px(4);
}
&:focus {
outline: fun.get-var(color-primary) dotted fun.convert-px(1);
}
&:active {
color: fun.get-var(color-primary-dark);
outline: none;
text-decoration-color: fun.get-var(color-primary-dark);
text-decoration-thickness: fun.convert-px(2);
}
}
|