-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
452 lines (419 loc) · 10.2 KB
/
Copy pathstyle.css
File metadata and controls
452 lines (419 loc) · 10.2 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
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
html, body {
margin: 0;
padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
margin: 0;
padding: 0;
box-sizing: border-box;
color: #1b1b1b;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
text-align: left;
}
/* Set a base font size and family */
body {
font-family: Arial, sans-serif;
font-size: 16px;
line-height: 1.6;
color: #333;
background-color: #e4e4e4; /* Change background to black */
text-align: left;
/* padding-top: 60px; <-- SUPPRIME cette ligne */
}
/* Style the main container */
.container {
max-width: 1300px;
margin: 20px auto 20px auto; /* plus de margin-top */
padding: 20px;
background: #fafafa;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: left;
color: #ffffff;
border-radius: 15px;
}
/* Style the header */
header {
position: fixed;
top: 0;
width: 100%;
background-color: #e4e4e4;
color: white;
z-index: 500;
height: 160px;
}
header h1 {
margin: 0;
font-size: 2em;
}
header h1 a {
color: #1b1b1b;
}
header h1, header h1 a {
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
cursor: default;
}
/* Style the navigation */
nav {
margin: 20px 0;
text-align: center;
}
nav a {
color: #1b1b1b;
text-decoration: none;
margin: 0 10px;
padding: 10px 20px;
border: 1px solid #949494;
border-radius: 5px;
transition: background 0.3s, color 0.3s;
}
nav a:hover {
background: #dfdfdf;
color: #fff;
border-radius: 5px;
}
/* Style the main content */
main {
margin: 20px 0;
margin-top:0px;
}
main h2 {
margin-bottom: 10px;
font-size: 2em;
}
main p {
margin-bottom: 20px;
}
hr {
width: 100%;
margin: 20px 0;
}
/* Rendre les images adaptatives */
img {
max-width: 600px;
height: auto;
height: auto;
display: block;
margin-bottom: 30px;
border-radius: 10px;
}
.responsive-img {
max-width: 100%;
height: auto;
display: block;
margin: 10px auto;
}
.spacer {
height: 140px; /* Espace entre les sections */
}
/* Empiler les images côte à côte en colonne sur mobile */
a {
color: #1b1b1b;
}
p{
font-size: 1.2em;
line-height: 1.5;
}
hr{
width: 70%;
}
.nav-toggle {
display: none; /* Cacher le toggle par défaut */
}
/* Responsive Image Gallery Grid */
.gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 40px;
padding: 20px;
background: #e4e4e4;
border-radius: 20px;
margin: 20px;
max-width: 80%;
}
.gallery img {
width: 100%;
max-width: 400px;
height: auto;
display: block;
border-radius: 10px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
}
/* Hover effect for gallery images */
.gallery img:hover {
transform: scale(1.25);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.pride{
font-size: 0%;
size: 0px 0px;
text-align: center;
}
@media (max-width: 1400px) {
.container {
max-width: 1000px;
margin: 20px auto 20px auto; /* plus de margin-top */
padding: 20px;
background: #fafafa;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
color: #ffffff;
border-radius: 15px;
}
}
@media (max-width: 1200px) {
.container {
max-width: 800px;
margin: 20px auto 20px auto; /* plus de margin-top */
padding: 20px;
background: #fafafa;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
color: #ffffff;
border-radius: 15px;
}
}
@media (max-width: 825px) {
.close-btn {
/* button size */
width: 40px;
height: 40px;
/* shape, border & box sizing */
border: 2px solid #fff; /* 2px solid white border */
border-radius: 50%; /* this is where we make that juicy button round */
box-sizing: border-box; /* include border in the size */
/* colors, not so much of the sun */
background-color: #222; /* dark circle */
color: #fff; /* sets the font color */
/* typography alignment action */
font-size: 24px;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
/* swively user interaction */
cursor: pointer;
transition: background-color 0.2s, border-color 0.2s;
}
.close-btn:hover {
background-color: #333; /* just about says it all, the colors within */
border-color: #fff; /* keeps the border white when hovering the button */
}
.close-btn:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(255,255,255,0.5); /* subtle glow on focus for that ooh, aah effect */
}
.header-container {
display: flex;
align-items: center;
padding: 0 2px 0 8px;
}
.header-container h1 {
margin: 0;
font-size: 1.5em;
text-align: left;
margin-left: 15px;
flex: 1;
}
/* Empêche le scroll du fond quand le menu est ouvert */
.nav-toggle:checked ~ main,
.nav-toggle:checked ~ .spacer {
filter: blur(2px);
pointer-events: none;
user-select: none;
}
nav a:hover {
background: #868686;
color: #1b1b1b;
}
a{
color: #1b1b1b;
}
.container {
max-width: 98vw;
padding: 5px;
border-radius: 15px;
}
.container img {
max-width: 100%;
height: auto;
}
img{
width: 50%;
height: auto;
margin: 15px;
}
.container > div > div[style*="display: flex"] {
flex-direction: column !important;
align-items: center !important;
gap: 0 !important;
}
h1 {
font-size: 2em;
text-align: center;
word-break: break-word;
margin-bottom: 18px;
color: #1b1b1b;
}
p, a {
text-align: center;
font-size: 1em;
color: #1b1b1b;
}
.container, .container p, .container a, .container h1, .container h2, .container h3 {
word-break: break-word;
overflow-wrap: break-word;
}
.spacer {
height: 70px; /* Ajuste la hauteur de l'espace entre les sections */
}
.responsive-img {
max-width: 100%;
height: auto;
margin: 10px 0;
}
.airport-flex {
flex-direction: column !important;
align-items: stretch !important;
}
.article-img {
width: 100%;
height: auto;
margin-right: 0;
}
/* Menu hamburger mobile */
.nav-toggle-label {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
cursor: pointer;
width: 40px;
height: 40px;
margin: 0 auto;
}
.nav-toggle {
position: absolute;
left: -9999px;
width: 1px;
height: 1px;
opacity: 0;
pointer-events: none;
display: block; /* Nécessaire pour l’accessibilité, mais invisible */
}
.nav-toggle:checked ~ nav {
display: flex;
}
.nav-toggle-label span {
display: block;
width: 30px;
height: 4px;
margin: 5px 0;
background: #1b1b1b; /* Couleur des barres du hamburger */
border-radius: 2px;
transition: 0.3s;
position: relative;
z-index: 2001;
}
/* Animation hamburger -> croix */
.nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
transform: rotate(45deg) translate(6px, 6px);
}
.nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
opacity: 0;
}
.nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
transform: rotate(-45deg) translate(7px, -7px);
}
nav {
display: none; /* Par défaut, le menu est caché */
flex-direction: column;
align-items: center;
min-height: 100vh;
width: 100vw;
margin: 10px 0;
left: 0;
right: 0;
padding: 70px 0 0 0;
padding-top: 60px;
background: #e4e4e4;
min-height: 100vh;
box-sizing: border-box;
position: fixed;
gap: 10px;
transition: 0.3s;
}
nav a {
margin: 0 0 18px 0;
padding: 22px 0;
margin: 0 24px;
width: 90%; /* Largeur des boutons */
max-width: 400px; /* Optionnel : limite la taille sur grands écrans */
border-radius: 12px;
background: #ffffff;
border: none;
text-align: center;
font-size: 1.3em;
color: #e4e4e4;
display: block;
box-sizing: border-box;
transition: background 0.2s;
padding-left: 16px;
padding-right: 36px;
}
.nav-toggle:checked + .nav-toggle-label + nav {
display: flex; /* Affiche le menu seulement quand le hamburger est coché */
}
header {
height: 30px;
}
hr{
width: 90%;
}
.gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 10px;
padding: 10px;
background: #e4e4e4;
border-radius: 20px;
margin: 10px;
max-width: 80%;
align-items: center;
align-content: center;
align-self: center;
}
.gallery img {
margin: 0%;
max-width: 100%;
height: auto;
display: block;
border-radius: 10px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
}
.pride{
size: 0px 0px;
text-align: center;
}
.pagestyle{
text-align: center;
align-items: center;
}
img {
width: 100%;
}
.responsive-row {
flex-direction: column !important;
align-items: flex-start !important;
}
.responsive-row img {
margin: 20px 0 0 0 !important;
width: 100% !important;
max-width: 100% !important;
}
}