-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathpopup.css
78 lines (67 loc) · 1.02 KB
/
popup.css
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
*,
*::before,
*::after {
box-sizing: border-box;
}
:root {
--bg-color: #000;
--link-color: #fff;
--link-color-hover: #34c8fe;
}
body {
min-width: min-content;
margin: 0;
padding: 0;
background: var(--bg-color);
color: var(--link-color);
font:
1rem/1.5 -apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
Helvetica,
Arial,
sans-serif;
}
.links {
display: flex;
flex-direction: column;
}
.link {
display: flex;
align-items: center;
padding: 0.5em 1em;
gap: 0.7em;
text-decoration: none;
color: inherit;
> svg {
width: 1em;
height: 1em;
flex-shrink: 0;
}
&:hover {
color: var(--link-color-hover);
background-color: rgba(0 100 255 / 20%);
> b,
> span {
text-decoration: underline;
}
}
&.options-link {
color: var(--link-color-hover);
}
}
.separator {
height: 1px;
background: rgba(255 255 255 / 30%);
}
@media (prefers-color-scheme: light) {
:root {
--bg-color: #fff;
--link-color: #000;
--link-color-hover: #00f;
}
.separator {
background: rgba(0 0 0 / 30%);
}
}