-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle_galerie.css
169 lines (141 loc) · 3.33 KB
/
style_galerie.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
@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: 'Minecraft';
src: /*url('fonts/minecraft.ttf') format('truetype'),*/
url('fonts/minecraft.otf') format('opentype');
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;
}
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: 8px;
background-color: #1e1e1e;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
header .logo {
font-family: 'Minecraft', sans-serif;
font-size: 1.2rem;
color: #ff6f61;
font-weight: bold;
}
nav ul {
list-style-type: none;
display: flex;
gap: 20px;
}
.nav-link {
font-size: 1.2rem;
font-family: 'Minecraft', sans-serif;
color: #f0f0f0;
text-decoration: none;
transition: color 0.3s ease;
}
.nav-link:hover {
color: #ff6f61;
}
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 */
}
nav ul {
list-style-type: none;
display: flex;
gap: 20px;
}
.nav-link {
font-size: 1.2rem;
font-family: 'Minecraft', sans-serif;
color: #f0f0f0;
text-decoration: none;
transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
color: #ff6f61;
}
main {
padding: 20px;
}
.gallery h1 {
text-align: center;
font-size: 2rem;
margin-bottom: 20px;
color: #ff6f61;
}
.grid-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 10px;
padding: 10px;
}
.photo {
position: relative;
overflow: hidden;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.photo img {
width: 100%;
height: auto;
display: block;
border-radius: 8px;
object-fit: cover;
transition: transform 0.3s ease;
}
.photo:hover img {
transform: scale(1.1);
}
.photo:hover {
transform: scale(1.03);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}