File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 114114 .resultimage {
115115 width : 150px ;
116116 }
117+
118+ .title {
119+ background-color : # ffcc00 ;
120+ color : black;
121+ text-align : center;
122+ font-weight : bold;
123+ padding : 0 20px ;
124+ display : block;
125+ font-size : 1rem ;
126+ margin : 0 auto 30px ;
127+ text-transform : uppercase;
128+ width : fit-content;
129+ border-radius : 8px ;
130+ margin : 40px 20px ;
131+ }
132+ title h1 {
133+ padding : 10px ;
134+ }
117135}
118136
119137@media (min-width : 768px ) {
226244 .resultimage {
227245 width : 150px ;
228246 }
247+
248+ .title {
249+ background-color : # ffcc00 ;
250+ color : black;
251+ text-align : center;
252+ font-weight : bold;
253+ padding : 0 20px ;
254+ display : block;
255+ font-size : 1rem ;
256+ margin : 0 auto 30px ;
257+ text-transform : uppercase;
258+ width : fit-content;
259+ border-radius : 8px ;
260+ margin-top : 100px ;
261+ margin-bottom : 60px ;
262+ }
263+
264+ .title h1 {
265+ padding : 6px ;
266+ font-size : 2.1rem ;
267+ }
229268}
Original file line number Diff line number Diff line change 2525 display : block;
2626 text-transform : uppercase;
2727 border-radius : 8px ;
28+ margin : 20px ;
2829}
2930
3031.cours2 {
6970 height : auto;
7071 }
7172
73+ .cours {
74+ padding-top : 10px ;
75+ }
76+
7277 .cours h1 {
73- font-size : 2.2rem ;
78+ font-size : 2rem ;
79+ padding : 5px ;
7480 }
7581
7682 .cours h2 {
96102 color : black;
97103 text-align : center;
98104 font-weight : bold;
99- padding : 8 px 20px ;
105+ padding : 0 20px ;
100106 display : block;
101- font-size : 35 px ;
107+ font-size : 1 rem ;
102108 margin : 0 auto 30px ;
103109 text-transform : uppercase;
104110 width : fit-content;
105111 border-radius : 8px ;
112+ margin-top : 30px ;
106113 }
107114}
Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ function Cours() {
1414 return (
1515 < >
1616 < div className = "cours" >
17- < h1 >
18- Mission 1 < br /> Decouvre le code
19- </ h1 >
17+ < h1 > Mission 1: Decouvre le code</ h1 >
2018 </ div >
2119 < div className = "cours2" >
2220 < h2 > Clique sur le poussin de ton choix.</ h2 >
Original file line number Diff line number Diff line change @@ -110,10 +110,8 @@ const Quiz = () => {
110110
111111 return (
112112 < >
113- < div className = "cours" >
114- < h1 >
115- Mission 2 < br /> Teste tes connaissances.
116- </ h1 >
113+ < div className = "title" >
114+ < h1 > Mission 2: Teste tes connaissances</ h1 >
117115 </ div >
118116 < div className = "border" >
119117 < div className = "quiz" >
You can’t perform that action at this time.
0 commit comments