-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyles.scss
More file actions
359 lines (301 loc) · 7.45 KB
/
Copy pathstyles.scss
File metadata and controls
359 lines (301 loc) · 7.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
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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
@import "admonition";
/* Theme-specific variables */
:root {
/* Light theme shadows and backgrounds */
--card-hover-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
--card-primary-shadow: 0 0 10px rgba(13, 110, 253, 0.2);
--card-primary-hover-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
--card-primary-bg: rgba(13, 110, 253, 0.08);
/* Light theme element colors */
--pagination-bg: #e9ecef;
--pagination-text: #495057;
--admonition-text: #212529;
--circular-progress-border: #dee2e6;
--circular-progress-bg: #e9ecef;
/* Light theme commit activity colors */
--commit-activity-empty: rgba(0, 0, 0, 0.08);
--commit-activity-empty-hover: rgba(0, 0, 0, 0.15);
/* Light theme icon filters */
--readthedocs-icon-filter: brightness(0) saturate(100%) invert(48%) sepia(13%) saturate(0%) hue-rotate(180deg) brightness(93%) contrast(90%);
/* Invert options */
--invert-standard: invert(1);
--invert-hover: invert(0);
}
[data-bs-theme="dark"] {
/* Dark theme shadows and backgrounds */
--card-hover-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
--card-primary-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
--card-primary-hover-shadow: 0 4px 12px rgba(13, 110, 253, 0.5);
--card-primary-bg: rgba(13, 110, 253, 0.15);
/* Dark theme element colors */
--pagination-bg: #111111;
--pagination-text: #e4e4e4;
--admonition-text: #18191a;
--circular-progress-border: #2b3035;
--circular-progress-bg: #2b3035;
/* Dark theme commit activity colors */
--commit-activity-empty: rgba(255, 255, 255, 0.1);
--commit-activity-empty-hover: rgba(255, 255, 255, 0.2);
/* Dark theme icon filters */
--readthedocs-icon-filter: brightness(0) saturate(100%) invert(72%) sepia(89%) saturate(455%) hue-rotate(358deg) brightness(103%) contrast(104%);
/* Invert options */
--invert-standard: invert(0);
--invert-hover: invert(1);
}
body {
font-family: 'Open Sans', sans-serif;
}
.avatar-img {
background-color: var(--navbar-col);
border: .05rem;
border-color: var(--navbar-border-col);
border-style: solid;
}
.card-body, .card-custom, .card-footer, .card-img-top, .cr-picker-button, .cr-picker-submenu {
--bs-bg-opacity: 1;
background-color: var(--navbar-col) !important;
}
.modal-content {
background-color: var(--footer-col) !important;
}
/* in line code */
code {
color: var(--mid-col);
background-color: var(--navbar-col);
}
.feature {
display: inline-flex;
align-items: center;
justify-content: center;
height: 3rem;
width: 3rem;
font-size: 1.5rem;
}
/* page navigation buttons */
.pagination .page-item .page-link {
background-color: var(--pagination-bg);
color: var(--pagination-text);
}
/* shrink logo when navbar shrinks, instead of hiding it */
.navbar-custom.top-nav-short .avatar-container {
width: 3.125rem;
opacity: 1 !important;
visibility: visible !important;
transition: none !important;
-webkit-transition: none !important;
-moz-transition: none !important;
}
/* hide search button */
#nav-search-link {
display: none;
}
/*card image hover*/
.hover-zoom {
overflow: hidden;
}
.hover-zoom img {
transition: all 1.5s ease;
}
.hover-zoom:hover img {
transform: scale(1.1);
}
.icon img, img.icon {
/* remove max-width from beautiful-jekyll */
max-width: none;
height: 2.25em;
}
.icon-sm img, img.icon-sm {
max-width: none;
height: 1.25em;
}
.icon-lg img, img.icon-lg {
max-width: none;
height: 3.25em;
}
img.invert {
filter: var(--invert-standard);
}
.btn:hover img.invert {
filter: var(--invert-hover);
}
/* code blocks */
.highlight {
border-radius: 0.5rem;
}
.highlight > pre {
border-left: 0.4375rem solid var(--text-col);
}
.highlight pre.lineno {
border-right: 2px solid var(--text-col);
}
.admonition .highlight {
margin-left: 0.5rem;
margin-right: 1.25rem;
}
.admonition .highlight > pre {
border-radius: 0.5rem;
}
/* CSS for tabs */
.tabs {
background-color: var(--footer-col);
padding: 1rem;
}
.tabs .nav-link {
color: var(--link-col);
}
.tabs .nav-link:hover {
color: var(--hover-col);
}
.tabs .nav-link.active {
color: var(--text-col);
border-color: var(--text-col);
}
.tab-content {
background-color: var(--navbar-col);
padding: 1rem;
margin-top: 1rem;
border: 1px solid var(--page-col);
border-radius: 0.5rem;
}
/* tables */
table tr:nth-child(2n) {
background-color: var(--footer-col);
}
/* License entry styling */
.list-group {
--bs-list-group-bg: var(--navbar-col);
}
/* License entry styling */
.license-entry-item {
background-color: var(--navbar-col);
color: var(--text-col);
border-color: var(--navbar-col);
}
.license-entry-text-muted {
color: var(--footer-text-col);
}
.license-entry-link {
color: var(--link-col);
text-decoration: none;
}
.license-entry-link:hover {
color: var(--hover-col);
text-decoration: underline;
}
/* License card styling */
.license-card {
background-color: var(--navbar-col);
color: var(--text-col);
}
/* Gamepad info cards */
.gamepad-info-card {
background-color: var(--navbar-col);
color: var(--text-col);
}
.gamepad-info-table {
color: var(--text-col);
}
.gamepad-info-table th,
.gamepad-info-table td {
border-color: var(--footer-col);
}
.gamepad-raw-data {
background-color: var(--footer-col);
color: var(--text-col);
}
/* Stick visualization */
.stick-circle {
width: 120px;
height: 120px;
border: 2px solid var(--navbar-border-col);
border-radius: 50%;
}
.stick-position {
width: 16px;
height: 16px;
border-radius: 50%;
transform: translate(-50%, -50%);
}
.stick-line-vertical {
width: 2px;
height: 100%;
background-color: var(--navbar-border-col);
left: 50%;
top: 0;
}
.stick-line-horizontal {
width: 100%;
height: 2px;
background-color: var(--navbar-border-col);
left: 0;
top: 50%;
}
/* Project card styling */
.project-card-link {
color: var(--text-col);
}
.project-card-link:hover {
color: var(--link-col);
}
.project-nav-link {
color: var(--text-col);
}
.project-nav-link:hover {
color: var(--hover-col);
}
/* Support card link styling */
.support-card-link {
color: var(--text-col);
}
.support-card-link:hover {
color: var(--link-col);
}
/* Language icons - add shadow in light mode for visibility */
[data-bs-theme="light"] .language-logo {
filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 1));
}
/* ReadTheDocs icon - theme-aware color */
.readthedocs-icon {
filter: var(--readthedocs-icon-filter);
}
[data-bs-theme="light"] .readthedocs-icon {
filter: var(--readthedocs-icon-filter) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}
/* Commit activity graph bars */
.commit-bar-empty {
background-color: var(--commit-activity-empty);
}
.commit-bar-empty:hover {
background-color: var(--commit-activity-empty-hover);
}
.commit-bar-active {
background-color: rgb(64, 196, 99);
}
.commit-bar-active:hover {
opacity: 1 !important;
}
/* gamepad selector cards */
.gamepad-selector-card {
transition: all 0.2s ease-in-out;
user-select: none;
background-color: var(--navbar-col);
color: var(--text-col);
}
.gamepad-selector-card.border-secondary {
background-color: var(--footer-col);
}
.gamepad-selector-card.border-primary {
background-color: var(--card-primary-bg);
box-shadow: var(--card-primary-shadow);
}
.gamepad-selector-card:hover {
transform: translateY(-2px);
box-shadow: var(--card-hover-shadow);
}
.gamepad-selector-card.border-primary:hover {
box-shadow: var(--card-primary-hover-shadow);
}
/* Override Bootstrap's text-muted to use theme colors */
.text-muted {
color: var(--footer-text-col) !important;
}