-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheaderEtfooter.css
225 lines (191 loc) · 3.9 KB
/
headerEtfooter.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
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('index.css');
*{
margin: 0;
}
:root {
--bleu : #1A365E;
--bleuclair : #C5E4F6;
--violet: #D8D2FF;
--orange: #FFD6BC;
--jaune: #FFF8B5;
}
/* debut header */
.headerEhope {
background-color: white;
margin: auto;
}
.navbarEhope {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
#navLogo img {
margin: auto;
width: 80px;
height: 50px;
}
#navLogo{
padding-left: 10px;
padding-top: 5px;
}
a {
text-decoration: none;
color: var(--bleu);
}
.buttonLinkEhope {
text-decoration: none;
background-color: var(--bleu);
color: white;
padding: 10px 20px;
border-radius: 5px;
display: inline-block;
margin-right: 10px;
}
.buttonLinkEhope:hover {
background-color: var(--orange);
color: var(--bleu);
}
.clickNavEhope{
padding-right: 30px;
padding-left: 20px;
margin-right: 20px;
}
.clickNavEhope:hover {
color: var(--orange);
}
/* fin header */
/* debut footer */
.footerContainer {
background-color: white;
display: flex;
align-items: center;
flex-direction: column;
text-align: center;
}
.footerContainer li{
list-style-type: none;
}
ul {
padding-inline-start: 0px;
}
.socialLinks{
display: flex;
margin: 0px 450px;
padding: 10px 0px 20px 0px;
}
.socialLinks i{
font-size: 30px;
padding: 0px 40px 0px 40px;
}
#footLogo, img {
margin: auto;
width: 80px;
height: 50px;
padding-top: 10px;
}
.h4footer{
padding: 40px 0px 5px 0px;
}
.fa-brands:hover {
color: var(--orange);
}
/* fin footer */
/* debut du responsive */
@media screen and (max-width: 768px) {
.navbarEhope {
flex-direction: column;
align-items: flex-start;
}
.navbarLinksEhope {
display: flex;
flex-direction: column;
gap: 10px;
padding-left: 10px;
}
.footerContainer {
flex-direction: column;
padding: 20px;
}
.socialLinks {
flex-direction: column;
gap: 15px;
}
.socialLinks i {
font-size: 24px;
}
.buttonLinkEhope {
width: 100%;
text-align: center;
}
}
@media screen and (max-width: 480px) {
#navLogo img {
width: 60px;
height: 40px;
}
.socialLinks {
margin: 0;
padding: 0;
}
.footerContainer {
text-align: center;
padding: 10px;
}
.buttonLinkEhope {
padding: 8px;
}
}
/* fin du responsive */
/* menu hamburger */
/* Par défaut : le bouton hamburger est masqué */
#hamburger {
display: none; /* Caché sur desktop */
}
/* Version mobile */
@media screen and (max-width: 768px) {
#hamburger {
display: flex; /* Affiche le bouton en mode mobile */
width: 40px; /* Taille du bouton */
height: 40px;
border-radius: 50%; /* Forme ronde */
background: var(--bleu); /* Couleur de fond */
color: white; /* Couleur de l'icône */
position: absolute;
top: 10px;
right: 10px; /* Alignement en haut à droite */
border: none;
cursor: pointer;
justify-content: center;
align-items: center;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}
/* Taille de l'icône à l'intérieur */
#hamburger i {
font-size: 20px;
}
/* Masque les liens de navigation par défaut */
#navbarLinksEhope {
display: none;
flex-direction: column;
gap: 10px;
position: absolute;
top: 70px;
right: 10px;
background: white;
padding: 10px;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
border-radius: 5px;
}
/* Affiche les liens lorsque la classe 'active' est ajoutée */
#navbarLinksEhope.active {
display: flex;
}
/* Ajuste le bouton "Télécharger l'application" */
.buttonLinkEhope {
padding: 5px 0px; /* Réduit le padding pour un bouton plus petit */
font-size: 14px; /* Adapte la taille du texte */
border-radius: 5px;
}
}