blob: 3a4f2831afde96499f9dcfdffc7dd8846a3c8783 (
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
49
|
@use "@styles/abstracts/functions" as fun;
.wrapper {
display: flex;
flex-flow: column;
width: fit-content;
margin: 0;
position: relative;
text-align: center;
}
.caption {
margin: 0;
padding: fun.convert-px(4) var(--spacing-2xs);
background: var(--color-bg-secondary);
border: fun.convert-px(1) solid var(--color-border-light);
font-weight: 500;
}
.link {
display: flex;
flex-flow: column;
background: none;
text-decoration: none;
.caption {
color: var(--color-primary-darker);
}
&:hover,
&:focus {
transform: scale(var(--scale-up, 1.05));
}
&:focus {
.caption {
text-decoration: underline solid var(--color-primary-darker)
fun.convert-px(3);
}
}
&:active {
transform: scale(var(--scale-down, 0.95));
.caption {
text-decoration: none;
}
}
}
|