-
Notifications
You must be signed in to change notification settings - Fork 198
Expand file tree
/
Copy pathpopups.css
More file actions
132 lines (132 loc) · 2.9 KB
/
Copy pathpopups.css
File metadata and controls
132 lines (132 loc) · 2.9 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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
.lsp_popup {
--font-size: 1rem;
--font-size-sm: 0.9rem;
font-family: system;
font-size: var(--font-size);
}
.mdpopups h1,
.mdpopups h2,
.mdpopups h3,
.mdpopups h4,
.mdpopups h5,
.mdpopups h6,
.lsp_popup div.highlight,
.lsp_popup pre.highlight {
font-size: var(--font-size);
}
.lsp_popup code.highlight {
font-size: var(--font-size-sm);
}
.mdpopups hr {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
border-color: color(var(--foreground) alpha(0.10));
}
.mdpopups kbd {
background-color: color(var(--mdpopups-bg) lightness(+ 5%));
border-color: color(var(--mdpopups-fg) alpha(0.25));
color: var(--mdpopups-fg);
font-size: 0.8rem;
line-height: 0.8rem;
}
.mdpopups blockquote.alert {
border-radius: 0;
border-width: 0;
border-left-width: 4px;
}
.mdpopups blockquote.alert p {
margin-bottom: 0;
}
.mdpopups blockquote.alert p.alert-title {
font-size: var(--font-size);
margin-bottom: 0.5rem;
margin-left: 0;
padding-left: 0;
}
.mdpopups blockquote.alert-tip .alert-title {
color: var(--mdpopups-admon-tip-accent);
background-color: transparent;
}
.mdpopups blockquote.alert-warning .alert-title {
color: var(--mdpopups-admon-warning-accent);
background-color: transparent;
}
.mdpopups blockquote.alert-caution .alert-title {
color: var(--mdpopups-admon-caution-accent);
background-color: transparent;
}
.mdpopups blockquote.alert-note .alert-title {
color: var(--mdpopups-admon-note-accent);
background-color: transparent;
}
.mdpopups blockquote.alert-important .alert-title {
color: var(--mdpopups-admon-important-accent);
background-color: transparent;
}
.lsp_popup .wrapper {
padding: 0.5rem;
padding-bottom: 0;
}
.lsp_popup .wrapper--spacer {
margin-top: .5rem;
}
.lsp_popup .m-0 {
margin: 0;
}
.diagnostics p {
display: inline;
}
.diagnostics code,
.diagnostics code.highlight {
background-color: color(white alpha(0.1));
border-color: transparent;
}
html.light .diagnostics code,
html.light .diagnostics code.highlight {
background-color: color(black alpha(0.1));
}
.color-muted {
color: color(var(--foreground) alpha(0.6));
}
.error,
.warning,
.information,
.hint {
color: var(--foreground);
}
.error {
background-color: color(var(--redish) alpha(0.2));
}
.warning {
background-color: color(var(--yellowish) alpha(0.2));
}
.information {
background-color: color(var(--bluish) alpha(0.2));
}
.hint {
background-color: color(var(--bluish) alpha(0.2));
}
.signature-help-intro {
font-size: var(--font-size-sm);
}
.actions {
background-color: color(var(--foreground) alpha(0.1));
}
.actions a,
kbd a {
text-decoration: none;
}
.lightbulb {
position: relative;
bottom: -2px;
padding-right: 0.5rem;
}
.lightbulb img {
width: 1rem;
height: 1rem;
}
a.copy-icon {
padding: 0.5rem;
text-decoration: none;
color: color(var(--foreground) alpha(0.6));
}