-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent.css
More file actions
62 lines (55 loc) · 1.35 KB
/
content.css
File metadata and controls
62 lines (55 loc) · 1.35 KB
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
@import url("https://fonts.googleapis.com/css2?family=Literata:wght@400;600;700&display=swap");
.codex-highlight {
background: #fff3a6;
box-shadow: inset 0 -0.2em 0 #f7d36a;
padding: 0 0.1em;
border-radius: 2px;
}
.codex-highlight-preview {
background: rgba(88, 149, 230, 0.35) !important;
box-shadow: inset 0 -0.2em 0 rgba(88, 149, 230, 0.65) !important;
padding: 0 0.1em;
border-radius: 2px;
}
.codex-highlight-toolbar {
position: absolute;
z-index: 2147483647;
background: #111;
color: #fff;
border-radius: 10px;
padding: 8px 10px;
display: flex;
align-items: center;
gap: 8px;
font-family: "Literata", serif;
font-size: 12px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.codex-highlight-toolbar input {
width: 180px;
border-radius: 6px;
border: 1px solid rgba(255, 255, 255, 0.2);
padding: 4px 6px;
background: #1f1f1f !important;
color: #fff !important;
caret-color: #fff !important;
font-size: 12px;
line-height: 1.4;
}
.codex-highlight-toolbar input::placeholder {
color: rgba(255, 255, 255, 0.6);
}
.codex-highlight-toolbar button {
border: none;
border-radius: 6px;
padding: 4px 8px;
background: #f7d36a;
color: #1b1b1b;
cursor: pointer;
font-weight: 600;
}
.codex-highlight-toolbar button.secondary {
background: transparent;
color: #fff;
border: 1px solid rgba(255, 255, 255, 0.35);
}