-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
246 lines (211 loc) · 4.68 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
/* General styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f9f9f9;
color: #333;
}
header {
background-color: #ffcccb;
padding: 20px;
text-align: center;
position: relative;
}
header img.logo,
header h1 {
border: none; /* Remove the border */
padding: 0; /* Reset padding */
border-radius: 0; /* Reset border radius */
}
header img.logo {
position: absolute;
top: 10px;
left: 10px;
width: 50px;
height: 50px;
border-radius: 50%;
}
nav {
display: flex;
justify-content: center;
background-color: #971515;
padding: 10px 0;
}
nav a {
text-decoration: none;
color: white;
margin: 0 15px;
font-weight: bold;
}
nav a:hover {
text-decoration: underline;
}
section {
padding: 20px;
margin: 20px;
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border: none; /* Remove the border */
transition: none; /* Remove transition effect */
}
section:active {
border-color: #ff69b4; /* Change border color on click */
}
footer {
text-align: center;
padding: 10px;
background-color: #ffcccb;
margin-top: 20px;
}
/* Specific section styles */
#accueil {
background-image: none; /* Remove background image */
text-align: center;
padding: 20px;
background-color: #ffcccb;
}
#accueil .images-container {
display: flex;
justify-content: center;
gap: 20px; /* Add spacing between images */
margin-bottom: 20px;
}
#accueil .images-container img {
width: 45%; /* Each image takes 45% of the container width */
height: auto; /* Maintain aspect ratio */
max-width: 300px; /* Set a maximum width */
border-radius: 8px;
display: block;
}
#accueil img {
width: 70%; /* Reduce the width to 70% of the container */
height: auto; /* Maintain aspect ratio */
max-width: 600px; /* Set a maximum width */
border-radius: 8px;
margin-bottom: 20px;
margin: 0 auto; /* Center the image */
display: block; /* Ensure the image is centered */
}
#produits {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
background-color: #ffcccb;
}
#produits .product {
border: 1px solid #ddd;
padding: 15px;
text-align: center;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#produits .product img {
width: 100%;
max-width: 200px;
height: auto;
border-radius: 8px;
margin-bottom: 10px;
}
#produits .product .price {
font-size: 1.2em;
color: #971515;
font-weight: bold;
margin-top: 5px;
}
#services, #about, #equipe {
line-height: 1.6;
}
#services {
text-align: center;
background-color: #ffcccb;
}
#services video {
width: 80%;
max-width: 600px;
border-radius: 8px;
margin-bottom: 20px;
}
#services .images-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin: 20px 0;
}
#services .images-container .image-item {
text-align: center;
}
#services .images-container img {
width: 100%;
max-width: 200px;
height: auto;
border-radius: 8px;
margin-bottom: 10px;
}
#services .images-container p {
font-size: 0.9em;
color: #555;
}
#services form {
margin-top: 20px;
text-align: left;
max-width: 400px;
margin-left: auto;
margin-right: auto;
}
#services form label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
#services form input,
#services form button {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 5px;
}
#services form button {
background-color: #971515;
color: white;
font-weight: bold;
cursor: pointer;
}
#services form button:hover {
background-color: #ff69b4;
}
#about {
text-align: center; /* Center the text */
background-color: #ffcccb; /* Optional: Add a background color for consistency */
padding: 20px; /* Add padding for spacing */
border-radius: 8px; /* Slightly round the corners */
}
#equipe {
text-align: center;
background-color: #ffcccb; /* Optional: Add a background color */
padding: 20px;
border-radius: 8px;
}
#equipe .team-container {
display: flex;
justify-content: center;
gap: 20px; /* Add spacing between team members */
margin-top: 20px;
}
#equipe .team-member {
text-align: center;
}
#equipe .team-member img {
width: 150px;
height: 150px;
border-radius: 50%; /* Make the images circular */
object-fit: cover;
margin-bottom: 10px;
}
#equipe .team-member p {
font-size: 1em;
font-weight: bold;
color: #333;
}