-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
385 lines (329 loc) · 7.52 KB
/
style.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
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4; /* Light gray background for the page */
color: #333; /* Dark text color for better readability */
}
.header {
position: relative;
width: 100%;
height: 300px; /* Adjust the header height as needed */
overflow: hidden;
}
.header-img {
width: 100%;
height: 100%;
object-fit: cover; /* Keeps the image proportionate */
}
.header-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0, 0.4); /* Slightly darkens the image */
color: #fff; /* White text for contrast */
text-align: center;
padding: 20px;
}
.header-overlay h1 {
font-size: 3rem;
margin: 0;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Subtle shadow for the text */
}
.header-overlay p {
font-size: 1.5rem;
margin-top: 10px;
}
/* Rest of the page content */
/* Initially transparent fixed bar */
.top-bar {
background-color: transparent; /* Set to transparent by default */
color: #fff;
text-align: center;
padding: 8px 0; /* Thinner padding */
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
transition: background-color 0.3s ease-in-out; /* Smooth transition for background color change */
display: flex;
justify-content: center; /* Center the text and elements */
align-items: center;
}
/* Logo on the left side of the bar */
.top-bar .logo {
position: absolute;
left: 20px; /* Space from the left */
font-size: 24px; /* Logo size */
}
/* Style for the bar when scrolling */
.top-bar.scrolled {
background-color: #333; /* Background color when scrolling */
}
/* Menu icon on the right */
.menu-icon {
font-size: 30px;
cursor: pointer;
position: absolute;
right: 20px; /* Space from the right */
}
/* Hidden menu */
.menu {
display: none;
position: fixed;
top: 0;
right: 0;
background-color: #444;
width: 500px;
height: 100%;
padding-top: 50px;
z-index: 2000;
}
.menu ul {
list-style: none;
padding: 0;
}
.menu li {
padding: 15px;
border-bottom: 1px solid #ddd;
}
.menu li a {
color: white;
text-decoration: none;
font-size: 18px;
}
/* Semi-transparent overlay for the menu */
.menu-overlay {
display: none; /* Hidden by default */
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
z-index: 1500; /* Just below the menu */
}
.menu.show + .menu-overlay {
display: block; /* Show the overlay when the menu is open */
}
/* Effect when the menu is visible */
.menu.show {
display: block;
}
section {
padding: 60px;
background: #fff;
margin: 40px auto;
border-radius: 20px;
width: 60%;
}
h3 {
color: #444;
}
.team-row {
display: flex;
justify-content: space-around;
align-items: center;
flex-wrap: wrap; /* Allows wrapping to multiple lines if the screen is too small */
margin-top: 30px;
}
.team-member {
text-align: center;
margin: 10px;
width: 140px; /* Size of each team member */
}
.team-member img {
width: 90%;
height: auto;
border-radius: 10px;
transition: transform 0.3s;
}
.team-member img:hover {
transform: scale(1.1); /* Zoom effect on hover */
}
h2 {
text-align: center;
margin-top: 50px;
font-size: 2rem;
}
iframe {
display: block;
margin: 0 auto;
width: 100%;
max-width: 900px;
height: 500px;
border: none;
}
.dossier-container {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
margin-top: 20px;
}
.dossier {
margin: 10px;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
width: 250px;
transition: transform 0.3s ease;
}
.dossier:hover {
transform: scale(1.05);
}
.dossier-image {
width: 100%;
height: auto;
border-radius: 5px;
transition: opacity 0.3s ease;
}
.dossier h3 {
font-size: 1.2rem;
margin-top: 10px;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 10px;
position: fixed;
bottom: 0;
width: 100%;
}
nav ul {
display: flex;
justify-content: center;
padding: 10px;
}
nav ul li {
list-style-type: none;
margin: 0 15px;
}
nav ul li a {
color: #333;
text-decoration: none;
font-weight: bold;
}
nav ul li a:hover {
color: #007BFF;
}
/* Table plus grande avec image de fond */
.table-background {
position: relative;
background-image: url('assets/img/table_background.jpg'); /* Image de la table */
background-size: cover; /* Couvre toute la table */
background-position: center;
width: 800px; /* Largeur fixe pour la table */
height: 500px; /* Hauteur fixe */
margin: 0 auto; /* Centre la table horizontalement */
overflow: hidden; /* Pas de défilement */
border: 2px solid #ccc; /* Bordure légère pour l'esthétique */
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Ombre autour de la table */
}
.file {
position: absolute;
text-align: center;
cursor: pointer;
}
.file img {
width: 80px; /* Taille de l'icône */
height: auto;
display: block;
position: relative;
}
.file-text {
position: absolute;
top: 50%; /* Placer le texte au centre vertical */
left: 50%; /* Placer le texte au centre horizontal */
transform: translate(-50%, -40%);
color: white; /* Couleur du texte */
font-size: 16px; /* Taille du texte */
font-weight: bold;
text-shadow: 1px 1px 2px black; /* Ajoute une ombre pour le contraste */
pointer-events: none; /* Le clic ne sera pas bloqué par le texte */
}
/* Icône de dossier */
.file-icon {
width: 100%; /* Ajuste l'image au conteneur */
height: auto;
}
/* Effet de survol pour interactivité */
.file:hover {
transform: rotate(-5deg) scale(1.1); /* Effet de rotation et agrandissement */
}
#book {
display: flex;
overflow: hidden;
width: 100%;
max-width: 800px;
margin: 0 auto;
justify-content: center;
height: 300px;
position: relative;
}
.book-page {
flex: 0 0 100%;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
background: #f1f1f1;
border: 1px solid #ddd;
padding: 20px;
text-align: center;
font-size: 18px;
}
.book-navigation {
text-align: center;
margin-top: 20px;
}
button {
padding: 10px 20px;
font-size: 16px;
margin: 0 5px;
cursor: pointer;
background-color: #007BFF;
color: white;
border: none;
border-radius: 5px;
}
button:hover {
background-color: #0056b3;
}
.image-container {
display: flex;
justify-content: center; /* Centre horizontalement */
margin: 20px 0; /* Ajoute un espace raisonnable au-dessus et en dessous */
}
img {
max-width: 100%; /* Empêche l'image de dépasser la largeur du conteneur */
height: auto; /* Maintient les proportions */
}
.content {
display: flex;
align-items: center;
margin-bottom: 20px;
}
.production-image {
width: 150px;
height: auto;
margin-right: 20px;
border-radius: 8px;
}
.book-page {
margin: 20px auto;
padding: 10px;
max-width: 800px;
border: 1px solid #ccc;
border-radius: 10px;
background-color: #f9f9f9;
}