-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
307 lines (263 loc) · 7.76 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
/* Style général */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
@font-face {
font-family: 'Fibel'; /* Nom de la police */
src: url('fonts/fibel.ttf') format('truetype'); /* Chemin vers le fichier de police */
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Fibel_2'; /* Nom de la police */
src: url('fonts/Fibel_2.ttf') format('truetype'); /* Chemin vers le fichier de police */
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Minecraft';
src: /*url('fonts/minecraft.ttf') format('truetype'),*/
url('fonts/minecraft.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
@keyframes wave_2 {
0% {
transform: scale(1);
opacity: 0.8;
}
50% {
transform: scale(1.05);
opacity: 1;
}
100% {
transform: scale(1);
opacity: 0.8;
}
}
@keyframes push {
0% {
transform: scale(1);
opacity: 1;
}
50% {
transform: scale(0.9);
opacity: 0.8;
}
100% {
transform: scale(1);
opacity: 1;
}
}
body {
background-color: #121212;
color: #f0f0f0;
font-family: 'Fibel_2';
margin: 0;
padding: 0;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: #1e1e1e;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.logo {
font-size: 2rem;
color: #ff6f61;
font-weight: bold;
}
.home-links {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 50px;
}
.main-title .name-highlight {
color: #ffffff;
font-style: italic;
}
/* Sous-titre (h3) */
.subtitle {
font-size: 1.5rem;
text-align: center;
color: #555;
margin: 0rem 0 1.5rem;
font-weight: normal;
font-style: italic;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
/* Titre de section (h2) */
.section-title {
font-size: 3rem;
text-align: center;
color: #ff6f61;
margin: 0rem 0 1rem;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 2px;
}
.construction-note {
display: inline-block;
padding: 1rem;
margin: 0rem auto;
font-size: 1rem;
font-style: italic;
background-color: #fffbccc3;
color: #333;
border: 2px solid #ff6f61;
border-radius: 8px;
text-align: center;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
/* Styles pour les liens images */
.image-links {
display: flex; /* Aligne les images horizontalement */
flex-direction: row; /* S'assure que la direction est bien horizontale */
gap: 20px; /* Ajoute un espace entre les images */
flex-wrap: wrap; /* Permet de passer à la ligne si nécessaire */
justify-content: center; /* Centre les images horizontalement dans le conteneur */
margin: 20px auto; /* Ajoute un espacement vertical et centre le conteneur */
max-width: 90%; /* Limite la largeur pour éviter un débordement */
box-sizing: border-box; /* Inclut le padding et la bordure dans la largeur totale */
}
.image-link {
position: relative;
width: 550px; /* Ajustement de largeur pour une meilleure mise en page */
height: 500px; /* Ajustement de hauteur */
background-size: cover; /* Ajuste l'image pour remplir complètement l'espace */
background-position: center; /* Centre l'image dans le conteneur */
border-radius: 8px;
overflow: hidden;
display: flex;
align-items: center; /* Centre verticalement le texte */
justify-content: center; /* Centre horizontalement le texte */
transition: transform 0.3s ease, box-shadow 0.3s ease;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
text-decoration: none;
flex-shrink: 0; /* Empêche les éléments de se rétrécir dans le flex */
}
/*
.image-link:hover {
transform: scale(1.05); /* Effet de zoom
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}
*/
.nav-link {
transition: all 0.3s ease;
display: inline-block;
}
.image-link:hover {
animation: push 0.5s;/*wave_2 0.8s infinite;*/
color: #ff6f61; /* Couleur du texte pendant le survol */
}
.link-text {
font-family: 'Inter'; /* Police Inter */
-webkit-text-fill-color: transparent; /* Remplissage transparent */
-webkit-text-stroke-color: #f0f0f0; /* Couleur de la bordure */
-webkit-text-stroke-width: 1px; /* Épaisseur des lettres creuses */
letter-spacing: 1px; /* Espacement des lettres */
font-size: calc(1.525rem + 3.3vw); /* Taille dynamique */
margin-bottom: 1px; /* Espacement réduit sous le titre */
position: absolute;
font-size: 4rem;
text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
text-align: center;
width: 100%;
padding: 10px;
background: rgba(0, 0, 0, 0.5); /* Légère transparence pour meilleure lisibilité */
border-radius: 8px;
}
footer {
text-align: center;
background-color: #1e1e1e; /* Optionnel : pour différencier le footer */
font-family: 'Minecraft';
padding: 1px 0;
}
.contact-container {
display: flex;
justify-content: center; /* Centre les colonnes horizontalement */
gap: 40px; /* Espacement entre les colonnes */
}
.contact-column {
text-align: left; /* Pour garder le texte aligné à gauche dans les colonnes */
}
.contact-column p {
margin: 10px 0; /* Espacement entre les éléments */
}
.contact-column a {
text-decoration: none;
color: #ff6f61; /* Couleur des liens */
}
.contact-column a:hover {
color: #007BFF; /* Couleur au survol */
}
footer a {
font-family: 'Minecraft';
color: #ff6f61;
text-decoration: none;
}
footer p {
margin-bottom: -5px; /* Espacement réduit à 2 pixels entre chaque ligne */
font-size: 14px; /* Ajuste la taille de la police si nécessaire */
}
@media (max-width: 850px) {
body {
padding: 5px;
}
header {
flex-direction: column;
align-items: flex-start;
padding: 10px;
}
.logo {
font-size: 1.5rem;
}
h1, h3 {
font-size: 1rem;
line-height: 1.2;
align-self: center;
text-align: center;
}
h2 {
text-align: center;
align-self: center;
font-size: 2rem;
line-height: 1.2;
}
.image-links {
display: flex; /* Aligne les images horizontalement */
flex-direction: row; /* S'assure que la direction est bien horizontale */
gap: 20px; /* Ajoute un espace entre les images */
flex-wrap: wrap; /* Permet de passer à la ligne si nécessaire */
justify-content: center; /* Centre les images horizontalement dans le conteneur */
margin: 20px auto; /* Ajoute un espacement vertical et centre le conteneur */
max-width: 90%; /* Limite la largeur pour éviter un débordement */
box-sizing: border-box; /* Inclut le padding et la bordure dans la largeur totale */
}
.image-link {
position: relative;
width: 300px; /* Ajustement de largeur pour une meilleure mise en page */
height: 250px; /* Ajustement de hauteur */
background-size: cover; /* Ajuste l'image pour remplir complètement l'espace */
background-position: center; /* Centre l'image dans le conteneur */
border-radius: 8px;
overflow: hidden;
display: flex;
align-items: center; /* Centre verticalement le texte */
justify-content: center; /* Centre horizontalement le texte */
transition: transform 0.3s ease, box-shadow 0.3s ease;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
text-decoration: none;
flex-shrink: 0; /* Empêche les éléments de se rétrécir dans le flex */
}
.link-text {
font-size: 2rem;
padding: 5px;
}
footer p {
font-size: 0.6rem;
}
}