-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathHeader.module.css
More file actions
45 lines (40 loc) · 848 Bytes
/
Header.module.css
File metadata and controls
45 lines (40 loc) · 848 Bytes
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
.header {
background-color: color-mix(
in srgb,
var(--mantine-color-body),
transparent 15%
);
backdrop-filter: blur(5px);
transition: border 0.5s ease-in-out;
}
.inner {
height: var(--nav-height);
display: flex;
justify-content: space-between;
align-items: center;
}
.link {
display: block;
line-height: 1;
padding: rem(8px) rem(12px);
border-radius: var(--mantine-radius-sm);
text-decoration: none;
color: light-dark(
lighten(var(--mantine-color-gray-7), 0.2),
var(--mantine-color-gray-5)
);
font-size: var(--mantine-font-size-sm);
font-weight: 500;
&[aria-current="page"] {
color: light-dark(black, white);
}
@mixin hover {
background-color: light-dark(
var(--mantine-color-gray-1),
var(--mantine-color-dark-5)
);
}
}
.askAiButton {
font-weight: 500;
}