-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsite.css
More file actions
319 lines (271 loc) · 5.77 KB
/
site.css
File metadata and controls
319 lines (271 loc) · 5.77 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
/* ===== Custom theme for GitHub Copilot SDK for Java ===== */
/* Layered on top of Maven Fluido Skin (Bootstrap 2.x) */
/* ===== Typography & Base ===== */
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
color: #24292f;
background: #f6f8fa;
-webkit-font-smoothing: antialiased;
}
a {
color: #0969da;
}
a:hover {
color: #0550ae;
}
code, pre {
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}
/* ===== Navbar ===== */
.navbar .navbar-inner {
background: #24292f;
background-image: none;
border: none;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.navbar .brand,
.navbar .nav > li > a,
.navbar .nav > li > a:hover,
.navbar .nav .dropdown-toggle {
color: #e6edf3;
text-shadow: none;
font-weight: 600;
}
.navbar .nav > li > a:hover,
.navbar .nav > .active > a {
color: #fff;
background: rgba(255, 255, 255, 0.08);
}
.navbar .nav .dropdown-menu {
background: #fff;
border: 1px solid #d0d7de;
border-radius: 10px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
padding: 8px 0;
}
.navbar .nav .dropdown-menu li > a {
color: #24292f;
padding: 8px 16px;
font-weight: 500;
}
.navbar .nav .dropdown-menu li > a:hover {
background: rgba(102, 126, 234, 0.06);
color: #0969da;
}
/* ===== GitHub Ribbon ===== */
.github-fork-ribbon:before {
background-color: #667eea !important;
background-image: linear-gradient(135deg, #667eea, #764ba2) !important;
}
.github-fork-ribbon:after {
content: 'View on GitHub' !important;
}
/* ===== Breadcrumbs ===== */
#breadcrumbs {
background: #fff;
border-bottom: 1px solid #d0d7de;
padding: 10px 20px;
}
#breadcrumbs .breadcrumb {
background: transparent;
margin: 0;
}
/* ===== Left Sidebar ===== */
#leftColumn .well {
background: #fff;
border: 1px solid #d0d7de;
border-radius: 10px;
box-shadow: none;
}
#leftColumn .nav-list > li > a {
color: #24292f;
border-radius: 6px;
margin: 2px 0;
font-weight: 500;
}
#leftColumn .nav-list > li > a:hover {
background: rgba(102, 126, 234, 0.06);
color: #0969da;
}
#leftColumn .nav-list > .active > a,
#leftColumn .nav-list > .active > a:hover {
background: linear-gradient(135deg, #667eea, #764ba2);
color: #fff;
}
#leftColumn .nav-header {
color: #57606a;
font-weight: 700;
text-transform: uppercase;
font-size: 0.8em;
letter-spacing: 0.5px;
padding: 8px 14px 4px;
}
/* ===== Main Content ===== */
#bodyColumn {
line-height: 1.7;
}
#bodyColumn h1,
#bodyColumn h2,
#bodyColumn h3,
#bodyColumn h4 {
color: #24292f;
font-weight: 700;
}
#bodyColumn h2 {
border-bottom: 1px solid #d0d7de;
padding-bottom: 8px;
margin-top: 32px;
}
/* ===== Code Blocks ===== */
#bodyColumn pre {
background: #eef1f6;
color: #24292f;
border: 1px solid #d0d7de;
border-radius: 10px;
padding: 16px 20px;
font-size: 0.88em;
line-height: 1.6;
overflow-x: auto;
}
#bodyColumn code {
background: rgba(102, 126, 234, 0.1);
color: #24292f;
padding: 2px 6px;
border-radius: 4px;
font-size: 0.9em;
}
#bodyColumn pre code {
background: transparent;
color: inherit;
padding: 0;
border-radius: 0;
}
/* ===== Alert Boxes (from markdown) ===== */
#bodyColumn .alert,
#bodyColumn blockquote {
border-radius: 10px;
border-left: 4px solid;
padding: 16px 20px;
margin: 20px 0;
}
#bodyColumn .alert-info,
#bodyColumn blockquote {
background: rgba(102, 126, 234, 0.06);
border-left-color: #667eea;
color: #4a5067;
}
#bodyColumn .alert-warning {
background: #fff8c5;
border-left-color: #d4a72c;
color: #6a5300;
}
#bodyColumn .alert-danger,
#bodyColumn .alert-error {
background: #ffeef0;
border-left-color: #cf222e;
color: #82071e;
}
#bodyColumn .alert-success {
background: #dafbe1;
border-left-color: #1a7f37;
color: #116329;
}
/* ===== Tables ===== */
#bodyColumn table {
border-collapse: separate;
border-spacing: 0;
border: 1px solid #d0d7de;
border-radius: 10px;
overflow: hidden;
width: 100%;
margin: 20px 0;
}
#bodyColumn table thead th {
background: #f6f8fa;
color: #24292f;
font-weight: 700;
border-bottom: 2px solid #d0d7de;
padding: 12px 16px;
text-align: left;
}
#bodyColumn table tbody td {
padding: 10px 16px;
border-bottom: 1px solid #eaeef2;
}
#bodyColumn table tbody tr:last-child td {
border-bottom: none;
}
#bodyColumn table tbody tr:hover {
background: rgba(102, 126, 234, 0.03);
}
/* ===== Badges / Labels ===== */
.label, .badge {
font-weight: 600;
border-radius: 100px;
padding: 3px 10px;
font-size: 0.8em;
}
.label-info, .badge-info {
background: linear-gradient(135deg, #667eea, #764ba2);
}
/* ===== Cards (for section-like divs) ===== */
#bodyColumn .section {
background: #fff;
border: 1px solid #d0d7de;
border-radius: 10px;
padding: 24px 28px;
margin-bottom: 24px;
}
#bodyColumn .section .section {
background: transparent;
border: none;
border-radius: 0;
padding: 0;
margin-bottom: 16px;
}
/* ===== Footer ===== */
#footer {
background: #fff;
border-top: 1px solid #d0d7de;
color: #57606a;
font-size: 0.88em;
padding: 24px 0;
}
#footer a {
color: #57606a;
font-weight: 500;
}
#footer a:hover {
color: #0969da;
}
/* ===== Powered By (add GitHub Copilot) ===== */
#poweredBy {
text-align: center;
}
#poweredBy::after {
content: '';
display: block;
margin: 8px auto 0;
width: 240px;
height: 120px;
background-image: url('../images/github-copilot.jpg');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
border-radius: 6px;
}
/* ===== Scrollbar (subtle) ===== */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #d0d7de;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #8b949e;
}