forked from meilisearch/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
68 lines (58 loc) · 1.56 KB
/
style.css
File metadata and controls
68 lines (58 loc) · 1.56 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
/* Use lighter shade of grey in dark theme for improved contrast */
.dark\:text-gray-400:is(.dark *) {
color:rgb(var(--gray-300))
}
/* Turn section titles on left-hand sidebar uppercase */
#navigation-items h5 {
text-transform: uppercase;
}
/* Force callout headings to inherit parent component colour */
.callout h2,
.callout h3,
.callout h4,
.callout h5,
.callout h6 {
color: inherit;
}
/* Custom component: <NoticeTag> */
.noticeTag {
color: rgb(var(--primary-light));
border: 1px solid rgb(var(--primary-light));
padding: 0 0.5em;
margin-left: 0.25em;
display: inline-block;
border-radius: 5px;
font-size: 0.8em;
}
/* Custom component: <RouteHighlighter> */
.routeHighlighter {
--route-highlighter-color: rgba(100, 100, 100, 0.35);
display: flex;
border-radius: 0.375rem;
border: 1px var(--route-highlighter-color) solid;
padding: 1rem;
gap: 2rem;
align-items: center;
overflow: scroll;
}
/* https://tailwindcss.com/docs/colors */
.routeHighlighter--GET {
--route-highlighter-color: oklch(0.792 0.209 151.711);
}
.routeHighlighter--POST {
--route-highlighter-color: oklch(0.623 0.214 259.815);
}
.routeHighlighter--DELETE {
--route-highlighter-color: oklch(63.7% 0.237 25.331);
}
.routeHighlighter--PUT,
.routeHighlighter--PATCH {
--route-highlighter-color: oklch(0.828 0.189 84.429);
}
.routeHighlighter__method {
font-weight: 700;
color: var(--route-highlighter-color);
}
.routeHighlighter__path {
font-family: var(--font-jetbrains-mono),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace
}