forked from xebia/github-copilot-updates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
368 lines (317 loc) · 7.36 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
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
360
361
362
363
364
365
366
367
368
:root {
/* defines the background color of the buttons globally,
making it easier to modify in the future and reuse throughout the site */
--button-color: #007bff;
--hover-button-color: #0056b3;
}
/* Main container styling */
#main-container {
display: flex;
justify-content: space-between;
padding: 20px 10px; /* Adjusted padding to ensure equal spacing around the divider */
align-items: flex-start;
flex-direction: row;
}
/*
.back-button {
background-color: #0056b3;
padding: 16px;
margin: 7px;
}
*/
.back-button {
/* this class will be used to make the buttons look all the same */
padding: 10px 20px;
margin-bottom: 20px;
color: white;
background-color: var(--button-color);
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s ease;
}
.back-button:hover {
background-color: var( --hover-button-color);
}
.sku-grid {
flex: 1;
display: grid;
grid-template-columns: repeat(3, 1fr);
margin-left: -5px;
border: none;
justify-content: center;
align-items: center;
}
.sku-grid > div {
justify-content: center; /* Center content horizontally */
align-items: center; /* Center content vertically */
gap: 20px;
padding: 10px;
}
.grid-container {
display: flex;
justify-content: center;
align-items: center;
margin:auto;
width: fit-content;
}
.box-grid {
flex: 1;
padding: 7px;
display: grid;
grid-template-columns: repeat(2, 1fr);
border: none;
justify-content: center;
align-items: center;
}
.box-grid > div {
justify-content: center; /* Center content horizontally */
align-items: center; /* Center content vertically */
gap: 20px;
padding: 10px;
height: 50px;
}
/* Grid styling for both feature sections */
.feature-grid {
flex: 1;
display: grid;
grid-template-columns: repeat(3, 1fr);
margin-left: 7px;
border: none;
justify-content: center;
align-items: center;
}
/* Individual box styling */
.feature-grid > div {
justify-content: center; /* Center content horizontally */
align-items: center; /* Center content vertically */
gap: 20px;
padding: 10px;
cursor: pointer;
transition: transform 0.2s;
}
.video-box {
min-width: 120px;
min-height: 100px;
text-align: center;
border: 1px solid #6272a4;
}
.feature-grid div:hover {
transform: scale(1.05);
}
/* SKU name styling */
.feature-grid h2 {
grid-column: span 4;
break-after: always;
text-align: center;
}
body {
background: radial-gradient(circle, rgba(34,34,59,1) 0%, rgba(14,14,44,1) 35%, black 100%);
color: white;
max-width: 1200px;
font-family: 'Roboto', sans-serif;
}
a {
color: white;
}
#business-features {
position: relative;
border-right: 2px solid #ccc; /* Add a right border to create a vertical divider */
}
/* Centering the content of #feature-detail-container */
#feature-detail-container {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
/* Styling the back button for better visibility and consistency */
#feature-detail-container a {
display: inline-block;
padding: 10px 20px;
margin-bottom: 20px;
background-color: #007bff; /* Updated background color to match the active filter buttons */
color: white;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}
#feature-detail-container a:hover {
background-color: #0056b3; /* Adjusted hover effect to a slightly darker shade of green */
}
/* Media queries for screens smaller than 768px */
@media (max-width: 768px) {
#main-container {
flex-direction: column;
gap: 20px;
padding: 10px;
}
.feature-grid {
grid-template-columns: repeat(2, 1fr);
}
}
/* Styling for "Copilot News" section */
#copilot-news {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 40px;
padding: 20px;
border-radius: 8px;
}
#copilot-news h2 {
color: #ffffff;
text-align: center;
}
.news-container{
display: flex;
flex-direction: column;
align-items: center;
}
#news-content {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.news-item {
width: 45%;
min-width: 600px;
margin: 10px;
padding: 15px;
border-radius: 8px;
color: #ffffff;
border: solid 1px #6272a4;
}
.news-item h4 {
margin: 0;
color: #adff2f;
}
.news-item p {
font-size: 14px;
}
.news-item span {
display: inline-block;
padding: 5px 10px;
margin-top: 10px;
margin-left: 5px;
background-color: #007bff;
color: #ffffff;
border-radius: 15px;
font-size: 12px;
}
/* Additional styling for publication date within .news-item */
.news-item span.date {
font-size: 12px;
color: #adff2f;
margin-top: 5px;
}
/* Styling for filter buttons */
#filter-buttons {
text-align: center;
margin-bottom: 20px;
}
.filter-btn {
display: inline-block;
padding: 10px 20px;
margin: 5px;
background-color: #007bff;
color: #ffffff;
text-decoration: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.filter-btn:hover {
background-color: #0056b3;
}
/* Styles for the 'active' class on filter buttons to change their background color when active */
.filter-btn.active {
background-color: #ff4500; /* Change to a distinct color when active */
color: #ffffff;
}
/* New styles for the section of 4 boxes in index.html */
#container .box {
display: flex;
justify-content: center;
align-items: center;
width: 150px;
height: 150px;
margin: 10px;
font-size: 20px;
text-align: center;
border-radius: 5px;
border: 1px solid #6272a4;
transition: transform 0.3s ease;
}
#container .box a {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
color: #ffffff;
text-decoration: none;
}
#container .box:hover {
transform: scale(1.1);
}
/* Styling for the new skus.html page for consistency */
#sku-container {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 20px;
}
#sku-container a {
display: inline-block;
padding: 10px 20px;
margin-bottom: 20px;
background-color: #007bff;
color: white;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}
#sku-container a:hover {
background-color: #0056b3;
}
/* Styling for h1 elements to increase font size */
h1 {
font-size: 32px;
}
/* Styling for the tutorial list in tutorials.html */
#tutorials-list {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 20px;
}
.tutorial-item {
width: 80%;
margin: 10px;
padding: 15px;
border-radius: 8px;
background-color: #282a36;
color: #ffffff;
border: solid 1px #6272a4;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.tutorial-item h3 {
margin: 0 0 10px 0;
color: #50fa7b;
}
.tutorial-item p {
margin: 0 0 15px 0;
font-size: 16px;
}
.tutorial-item a {
display: inline-block;
padding: 10px 20px;
background-color: #ff79c6;
color: #ffffff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.tutorial-item a:hover {
background-color: #bd93f9;
}