-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
65 lines (57 loc) · 1.12 KB
/
styles.css
File metadata and controls
65 lines (57 loc) · 1.12 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
63
64
65
.glossary-tooltip {
position: fixed;
background: #ffffff;
border: 1px solid #d0d7de;
border-radius: 6px;
box-shadow: 0 8px 24px rgba(140,149,159,0.2);
padding: 16px;
max-width: 400px;
z-index: 100000;
font-size: 14px;
line-height: 1.5;
color: #24292f;
display: none;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
/* Dark mode styles */
@media (prefers-color-scheme: dark) {
.glossary-tooltip {
background: #1c2128;
border-color: #444c56;
box-shadow: 0 8px 24px rgba(0,0,0,0.4);
color: #cdd9e5;
}
.glossary-tooltip p {
color: #adbac7;
}
.glossary-link {
border-bottom-color: #539bf5;
}
}
.glossary-tooltip.visible {
display: block;
animation: fadeIn 0.2s ease-in-out;
}
.glossary-tooltip h3 {
margin: 0 0 8px 0;
font-size: 16px;
font-weight: 600;
}
.glossary-tooltip p {
margin: 0;
color: #57606a;
}
.glossary-link {
border-bottom: 1px dotted #0969da;
cursor: help;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(4px);
}
to {
opacity: 1;
transform: translateY(0);
}
}