-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
89 lines (77 loc) · 1.41 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
/* Réinitialisation de base */
body, h1, h2, p, ul, li {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Corps principal */
body {
font-family: 'Arial', sans-serif;
color: #333;
line-height: 1.6;
background-color: #f5f5f5;
}
/* En-tête */
header {
background: #2a2a2a;
color: white;
padding: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
}
header .logo {
font-size: 1.5rem;
font-weight: bold;
}
header nav ul {
list-style: none;
display: flex;
gap: 1rem;
}
header nav ul li a {
color: white;
text-decoration: none;
transition: color 0.3s;
}
header nav ul li a:hover {
color: #f39c12;
}
/* Sections */
section {
padding: 2rem;
text-align: center;
background: white;
margin: 1rem 0;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Formulaire */
form {
display: flex;
flex-direction: column;
gap: 1rem;
}
form input, form textarea, form button {
padding: 0.5rem;
border: 1px solid #ccc;
border-radius: 5px;
}
form button {
background-color: #f39c12;
color: white;
border: none;
cursor: pointer;
transition: background-color 0.3s;
}
form button:hover {
background-color: #e67e22;
}
/* Pied de page */
footer {
text-align: center;
background: #2a2a2a;
color: white;
padding: 1rem;
margin-top: 2rem;
}