-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
94 lines (77 loc) · 2.33 KB
/
style.css
File metadata and controls
94 lines (77 loc) · 2.33 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
/* Complior Docs — Custom Styles
Matches complior.ai brand identity: teal palette, Fraunces + Plus Jakarta Sans + JetBrains Mono */
/* ── Code font (JetBrains Mono via Google Fonts) ── */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');
code, pre, pre code,
[class*="code-block"], .code-block,
kbd, samp, .mono {
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
}
/* ── Teal accent glow on primary buttons ── */
a[class*="button-primary"],
button[class*="primary"],
.navbar a[href="/getting-started/quickstart"] {
box-shadow: 0 2px 8px rgba(20, 184, 166, 0.25);
transition: box-shadow 0.2s ease, transform 0.2s ease;
}
a[class*="button-primary"]:hover,
button[class*="primary"]:hover {
box-shadow: 0 4px 16px rgba(20, 184, 166, 0.35);
transform: translateY(-1px);
}
a[class*="button-primary"]:active,
button[class*="primary"]:active {
transform: translateY(0);
}
/* ── Smooth card hover ── */
[class*="card"] {
transition: box-shadow 0.2s ease, transform 0.2s ease;
}
[class*="card"]:hover {
box-shadow: 0 4px 12px rgba(20, 184, 166, 0.1);
}
/* ── Sidebar active item teal accent ── */
[data-active="true"] {
color: #14B8A6;
}
/* ── Navbar subtle backdrop ── */
#navbar {
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}
/* ── Heading letter-spacing (Fraunces serif looks best tighter) ── */
h1, h2, h3 {
letter-spacing: -0.02em;
}
h1 {
letter-spacing: -0.03em;
}
/* ── Code block teal accent for highlighted lines ── */
[data-highlighted-line] {
background-color: rgba(20, 184, 166, 0.08);
border-left-color: #14B8A6;
}
/* ── Inline code teal tint ── */
:not(pre) > code {
background-color: rgba(20, 184, 166, 0.06);
border: 1px solid rgba(20, 184, 166, 0.12);
border-radius: 4px;
padding: 0.15em 0.35em;
font-size: 0.875em;
}
/* ── Scrollbar teal accent (Webkit) ── */
::-webkit-scrollbar-thumb {
background-color: rgba(20, 184, 166, 0.3);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background-color: rgba(20, 184, 166, 0.5);
}
/* ── Selection color ── */
::selection {
background-color: rgba(20, 184, 166, 0.2);
}
/* ── Focus ring teal ── */
:focus-visible {
outline-color: #14B8A6;
}