-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
141 lines (118 loc) · 2.09 KB
/
index.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
:root {
--switch-value: 0px;
}
body {
background-color: #f1f1f1;
}
* {
font-family: 'Open Sans', 'Segoe UI', 'Helvetica Neue', sans-serif;
}
#switch-mode {
width: 60px;
height: 30px;
padding: 0;
margin: 5px;
vertical-align: middle;
background-color: #474747;
border-radius: 15px;
border: none;
}
#switch-mode::before {
content: '';
display: block;
position: absolute;
height: 30px;
width: 30px;
margin-top: -15px;
border-radius: 50%;
background-color: #888888;
transition: 0.3s;
transform: translateX(var(--switch-value));
}
#switch-mode:hover::before {
background-color: #c4c4c4;
}
#container {
display: flex;
width: 90vw;
height: 90vh;
}
#svg839 {
width: auto;
height: 100%;
margin: 20px;
}
#infoBloc {
padding: 10px;
margin: 10px 0;
width: 400px;
min-height: min-content;
height: min-content;
background-color: #e1e1e1;
border-radius: 10px;
box-shadow: 5px 3px 12px 5px rgba(0, 0, 0, 0.1);
opacity: 0;
transition: opacity 500ms ease-in-out;
}
#infoBloc > h2 {
margin-bottom: 0;
width: 100%;
text-align: center;
font-size: 26px;
}
#infoBloc #underline {
content: "";
display: block;
margin: auto;
width: 168px;
height: 2px;
background-color: black;
}
.animation {
animation: apparition-barre 1s;
}
@keyframes apparition-barre {
from {
width: 0px;
}
to {
width: 168px;
}
}
@media screen and (max-width: 600px) {
#container {
display: block;
text-align: center;
}
#svg839 {
width: 80%;
height: min-content;
}
#infoBloc {
margin: 20px auto;
width: 80%;
}
}
#infoBloc p , #infoBloc span{
font-size: 18px;
}
#infos h3 {
font-size: 22px;
}
#quizz {
margin-top: 20px;
}
input {
padding: 3px;
margin: 3px 6px;
width: 180px;
border: none;
border-radius: 5px;
font-size: 18px;
}
#quizz button {
display: block;
margin: 20px auto;
font-size: 18px;
padding: 10px;
}