-
-
Notifications
You must be signed in to change notification settings - Fork 969
/
Copy pathstyles.css
193 lines (161 loc) · 3.28 KB
/
styles.css
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
/* TYPOGRAPHY SECTION */
/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400&display=swap');
/* Typography hierarchy */
:root {
--font-title: 'Be Vietnam Pro', sans-serif;
--font-body: 'JetBrains Mono', monospace;
}
/* Title (h1) */
h1 {
font-family: var(--font-title);
font-weight: 400;
font-size: 6rem;
line-height: 1.1;
letter-spacing: -0.05em;
font-feature-settings: "ss01" on;
}
/* Heading (h2) */
h2 {
font-family: var(--font-title);
font-weight: 500;
font-size: 2rem;
line-height: 1.2;
letter-spacing: -0.03em;
font-feature-settings: "ss01" on;
}
/* Subtitle/Preamble */
h3,
h4 {
font-family: var(--font-body);
font-weight: 400;
font-size: 1.5rem;
line-height: 1.5;
letter-spacing: -0.02em;
}
/* Body text */
body {
font-family: var(--font-body);
font-weight: 400;
font-size: 1rem;
line-height: 1.5;
letter-spacing: -0.02em;
}
/* Links */
a {
font-family: var(--font-body);
font-weight: 400;
font-size: 0.875rem;
line-height: 1;
letter-spacing: -0.02em;
}
/* NAV BAR SECTION */
/* Navbar logo styling */
.navbar-brand img {
height: 32px;
margin-right: 10px;
}
/* COLORS SECTION */
/* Brand colors */
:root {
--white: #ffffff;
--greige-300: #EEEEE7;
--greige-600: #CCCAC0;
--black: #141310;
--lime: #E3F8A8;
--cyan: #A0F4EA;
--purple: #C8D0F8;
}
/* Base styles */
body {
background-color: var(--black);
color: var(--greige-300);
}
/* Navigation */
.navbar {
background-color: var(--black) !important;
}
.navbar-dark .navbar-nav .nav-link {
color: var(--greige-300);
}
.navbar-dark .navbar-nav .nav-link:hover {
color: var(--lime);
}
/* Sidebar */
.sidebar-navigation {
background-color: var(--black);
border-right: 1px solid var(--greige-600);
}
.sidebar nav[role="doc-toc"] ul>li>a {
color: var(--greige-300);
}
.sidebar nav[role="doc-toc"] ul>li>a:hover {
color: var(--lime);
}
/* Links */
a {
color: var(--lime);
}
a:hover {
color: var(--cyan);
}
/* Headers */
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--white);
}
/* Code blocks */
pre {
background-color: #1a1a1a !important;
border: 1px solid var(--greige-600);
}
/* Tables */
.table {
color: var(--greige-300);
}
/* TOC */
#toc-title {
color: var(--white);
}
.toc-active {
color: var(--lime) !important;
}
/* Buttons */
.btn-primary {
background-color: var(--lime);
color: var(--black);
border: none;
}
.btn-primary:hover {
background-color: var(--cyan);
color: var(--black);
}
/* For inline code (single backtick) */
code {
background-color: #1a1a1a !important;
color: var(--lime) !important;
padding: 2px 4px;
border-radius: 4px;
}
/* For inline code that is also a link */
a code {
color: var(--cyan) !important;
}
/* For code blocks (triple backtick) */
pre.sourceCode {
background-color: #1a1a1a !important;
}
/* Make comments in bash/shell scripts green */
code span.co {
color: #5cb85c !important;
}
/* Remove underlines from JSON comments and make them green */
code span.er {
color: #5cb85c !important;
text-decoration: none !important;
}