-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
71 lines (62 loc) · 1.44 KB
/
Copy pathstyle.css
File metadata and controls
71 lines (62 loc) · 1.44 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
/* Style général de la page */
body {
font-family: 'Arial', sans-serif;
background-color: #f4f4f9;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
/* Conteneur du quiz */
.quiz-container {
background-color: #fff;
padding: 20px 40px;
border-radius: 10px;
width: 100%;
max-width: 600px;
text-align: center;
}
h1 {
color: #333;
font-size: 24px;
}
.question {
font-size: 18px;
margin-bottom: 20px;
color: #444;
}
/* Liste des réponses */
.reponses {
list-style: none;
padding: 0;
margin: 10px 0;
display: flex;
justify-content: space-between;
gap: 15px; /* Espace entre les réponses */
}
.reponses li {
display: inline-block;
margin-bottom: 0; /* Supprimer le margin-bottom */
}
/* Cacher les boutons radio par défaut */
input[type="radio"] {
display: none;
}
/* Style des conteneurs des boutons radio */
.radio-container {
position: relative;
padding: 10px 20px;
border-radius: 5px;
background-color: #f9f9f9;
cursor: pointer;
border: 2px solid transparent;
transition: background-color 0.3s, border-color 0.3s;
display: inline-block;
}
/* Style quand un bouton radio est sélectionné */
input[type="radio"]:checked + .radio-container {
background-color: #e6e6ff;
border-color: #4c63b6;
}