blob: 52049191377b1110f16ee735e9c7be0ff3d11e10 (
plain) (
blame)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
:host {
display: flex;
flex-direction: column;
height: 100%;
}
#header {
display: flex;
flex-direction: row;
justify-content: space-between;
/*border-bottom: light-dark(#d3d3d3, black) solid 1px;*/
padding: 15px 20px;
/*background-color: light-dark(#f5f5f5, #2e2e2e);*/
z-index: 2;
h1 {
padding: 0;
margin: 0;
font-weight: 500;
/*text-decoration: none;*/
text-transform: uppercase;
font-size: 16pt;
letter-spacing: .5px;
}
div {
display: flex;
align-items: center;
gap: 20px;
}
/*div:has(a:hover) a {*/
/* color: light-dark(black, rgba(255, 255, 255, 0.5));*/
/*}*/
a {
color: light-dark(black, white);
text-decoration: none;
}
a {
display: block;
position: relative;
padding: 0.1em 0;
}
a::after {
content: '';
position: absolute;
bottom: 4px;
left: 0;
width: 100%;
height: 0.03em;
background-color: white;
opacity: 0;
transition: opacity 300ms, transform 300ms;
}
a:hover::after,
a:focus::after {
opacity: 1;
transform: translate3d(0, 0.2em, 0);
}
}
.toast {
transform: translateY(-90px);
transition: transform .5s;
align-self: center;
z-index: 3;
position: absolute;
top: 15px;
display: flex;
flex-direction: row;
padding: 3px 15px;
background-color: #3a3a3a;
border-radius: 100000px;
gap: 10px;
align-items: center;
button {
aspect-ratio: 1/1;
margin-right: -11px;
padding: 8px;
display: flex;
align-items: center;
}
}
.toast.active {
transform: translateY(0);
}
|