generated from mintlify/starter
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathstyles.css
More file actions
62 lines (55 loc) · 1.45 KB
/
styles.css
File metadata and controls
62 lines (55 loc) · 1.45 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
:root {
--badge-experimental-bg: rgba(254, 226, 226, 0.5);
--badge-experimental-text: #dc2626;
--badge-alpha-bg: rgba(254, 249, 195, 0.5);
--badge-alpha-text: #ca8a04;
--badge-beta-bg: rgba(219, 234, 254, 0.5);
--badge-beta-text: #2563eb;
}
html.dark,
[data-theme="dark"] {
--badge-experimental-bg: rgba(248, 113, 113, 0.1);
--badge-experimental-text: #fca5a5;
--badge-alpha-bg: rgba(250, 204, 21, 0.1);
--badge-alpha-text: #fde047;
--badge-beta-bg: rgba(96, 165, 250, 0.1);
--badge-beta-text: #93c5fd;
}
.badge {
display: inline-block;
font-size: 0.875rem;
line-height: 1.25rem;
padding: 0.125rem 0.5rem;
border-radius: 0.375rem;
font-weight: 500;
white-space: nowrap;
margin-left: 0.5rem;
vertical-align: middle;
text-transform: capitalize;
}
.experimental-badge {
background-color: var(--badge-experimental-bg);
color: var(--badge-experimental-text);
}
.alpha-badge {
background-color: var(--badge-alpha-bg);
color: var(--badge-alpha-text);
}
.beta-badge {
background-color: var(--badge-beta-bg);
color: var(--badge-beta-text);
}
/* Transform nav tag pill text */
.nav-tag-pill-text {
opacity: 0;
transition: opacity 0.2s ease;
}
/* Nav badge styling */
.nav-badge {
padding: 0.125rem 0.25rem; /* py-0.5 px-1 */
border-radius: 0.375rem; /* rounded-md */
font-size: 0.65rem; /* text-[0.65rem] */
line-height: 1.25; /* leading-tight */
font-weight: 700; /* font-bold */
text-transform: capitalize;
}