-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
302 lines (265 loc) · 6.07 KB
/
style.css
File metadata and controls
302 lines (265 loc) · 6.07 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
/* =========================================
VARIABLES (Thème Midnight)
========================================= */
:root {
--bg-dark: #0f1115;
--bg-header: #16191f;
--card-bg: #1a1d23;
--accent: #00f2ff; /* Cyan Néon */
--text-main: #e0e0e0;
--text-dim: #a0a0a0;
--white: #ffffff;
--transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
/* =========================================
RESET & BASE
========================================= */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
background-color: var(--bg-dark);
color: var(--text-main);
font-family: 'Inter', sans-serif;
line-height: 1.6;
overflow-x: hidden;
}
/* =========================================
STRUCTURE & NAVIGATION
========================================= */
header {
padding: 2rem 5%;
background: linear-gradient(to bottom, var(--bg-header), var(--bg-dark));
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto 4rem auto;
}
.logo {
font-family: 'Orbitron', sans-serif;
font-size: 1.2rem;
color: var(--accent);
letter-spacing: 2px;
text-transform: uppercase;
}
nav ul {
display: flex;
list-style: none;
gap: 2rem;
}
nav a {
text-decoration: none;
color: var(--text-main);
font-weight: 500;
transition: var(--transition);
}
nav a:hover {
color: var(--accent);
}
/* =========================================
GRILLE DE PROJETS (INDEX)
========================================= */
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2.5rem;
padding: 2rem 5% 5rem;
max-width: 1300px;
margin: 0 auto;
}
.card {
background: var(--card-bg);
border-radius: 12px;
overflow: hidden;
border: 1px solid #2a2e35;
transition: var(--transition);
}
/* L'élément qui rend toute la carte cliquable */
.card-link {
display: flex;
flex-direction: column;
text-decoration: none;
color: inherit;
height: 100%;
width: 100%;
position: relative;
z-index: 1;
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 30px rgba(0, 242, 255, 0.15);
border-color: var(--accent);
}
/* IMAGE ET OVERLAY */
.card-image {
position: relative;
height: 220px;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.image-overlay {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background: rgba(15, 17, 21, 0.7);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: var(--transition);
}
.card:hover .image-overlay {
opacity: 1;
}
.image-overlay span {
background: var(--accent);
color: var(--bg-dark);
padding: 10px 20px;
border-radius: 4px;
font-weight: bold;
text-transform: uppercase;
font-size: 0.8rem;
}
/* CONTENU DE LA CARTE */
.card-content {
padding: 1.5rem;
flex-grow: 1;
display: flex;
flex-direction: column;
}
.tag {
align-self: flex-start; /* Empêche le tag de prendre toute la largeur */
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
color: var(--accent);
border: 1px solid var(--accent);
padding: 4px 10px;
border-radius: 4px;
margin-bottom: 1rem;
background: rgba(0, 242, 255, 0.05);
}
.card h3 {
margin-bottom: 0.8rem;
font-size: 1.4rem;
font-family: 'Orbitron', sans-serif;
color: var(--white);
}
.card p {
color: var(--text-dim);
font-size: 0.95rem;
}
/* =========================================
SECTIONS À PROPOS & CONTACT
========================================= */
.content-section-flat {
padding: 80px 5%;
max-width: 800px;
margin: 0 auto;
text-align: center;
}
.content-section-flat h2 {
font-family: 'Orbitron', sans-serif;
color: var(--accent);
margin-bottom: 1.5rem;
font-size: 2rem;
}
.btn-contact {
display: inline-block;
margin-top: 2rem;
padding: 12px 30px;
background: var(--accent);
color: var(--bg-dark);
text-decoration: none;
font-weight: bold;
border-radius: 4px;
transition: var(--transition);
}
.btn-contact:hover {
background: var(--white);
transform: scale(1.05);
}
/* =========================================
FOOTER & RESPONSIVE
========================================= */
footer {
text-align: center;
padding: 4rem;
color: var(--text-dim);
font-size: 0.8rem;
}
@media (max-width: 768px) {
nav { flex-direction: column; gap: 1.5rem; }
.grid { grid-template-columns: 1fr; }
.hero h1 { font-size: 2.2rem; }
}
/* =========================================
STYLE SPÉCIFIQUE PAGES PROJETS (CASE STUDY)
========================================= */
.project-page .back-link {
color: var(--accent);
text-decoration: none;
font-weight: bold;
display: inline-block;
margin: 2rem 5%;
}
.case-study {
max-width: 900px;
margin: 0 auto;
padding: 0 5% 5rem;
}
.case-study h1 {
font-family: 'Orbitron', sans-serif;
font-size: clamp(2rem, 5vw, 3rem);
margin-bottom: 1rem;
color: var(--white);
}
.project-meta {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
color: var(--text-dim);
margin-bottom: 3rem;
padding: 1rem 0;
border-top: 1px solid #2a2e35;
border-bottom: 1px solid #2a2e35;
}
.content-section {
margin-top: 4rem;
}
.content-section h2 {
font-family: 'Orbitron', sans-serif;
color: var(--accent);
margin-bottom: 1.5rem;
border-left: 4px solid var(--accent);
padding-left: 1rem;
}
/* Galerie d'images et schémas GDD */
.visual-container {
background: #16191f;
padding: 1rem;
border-radius: 8px;
border: 1px solid #2a2e35;
margin: 2rem 0;
}
.visual-container img {
width: 100%;
height: auto;
border-radius: 4px;
display: block;
}
.caption {
display: block;
text-align: center;
font-size: 0.85rem;
color: var(--text-dim);
margin-top: 10px;
}