File tree Expand file tree Collapse file tree 1 file changed +31
-11
lines changed Expand file tree Collapse file tree 1 file changed +31
-11
lines changed Original file line number Diff line number Diff line change 23
23
font-size : 0.95rem ;
24
24
}
25
25
26
- .header # go-back {
27
- display : inline-block;
28
- margin-bottom : 1rem ;
26
+ # go-back {
27
+ position : fixed;
28
+ top : 160px ;
29
+ left : 25px ;
30
+ z-index : 1010 ;
31
+
32
+ width : 45px ;
33
+ height : 45px ;
34
+ background-color : white;
35
+ border-radius : 50% ;
36
+ box-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.15 );
37
+ display : flex;
38
+ justify-content : center;
39
+ align-items : center;
29
40
color : var (--bs-primary );
30
- font-size : 1rem ;
41
+ font-size : 1. 1rem ;
31
42
cursor : pointer;
32
- transition : color 0.2s ease;
43
+ transition : all 0.2s ease-in-out;
44
+ border : 1px solid var (--bs-border-color );
33
45
}
34
46
35
- .header # go-back : hover {
47
+ # go-back : hover {
48
+ transform : scale (1.1 );
49
+ box-shadow : 0 6px 16px rgba (0 , 0 , 0 , 0.2 );
36
50
color : var (--bs-link-hover-color );
37
51
}
38
52
202
216
}
203
217
204
218
@media (max-width : 768px ) {
219
+ # go-back {
220
+ width : 38px ;
221
+ height : 38px ;
222
+ font-size : 0.9rem ;
223
+ top : 200px ;
224
+ left : 15px ;
225
+ }
226
+
205
227
.container {
206
228
margin : 0 ;
207
229
}
235
257
236
258
{{ $title := .Title }}
237
259
238
-
239
260
< div class ="container ">
240
261
< div class ="header ">
241
- < div id ="go-back ">
242
- < i class ="fas fa-arrow-left "> </ i >
243
- < p class ="text-blue-600 hover:underline " id ="go-back "> Back</ a >
244
- </ div >
262
+ < div id ="go-back ">
263
+ < i class ="fas fa-arrow-left "> </ i >
264
+ </ div >
245
265
< h1 > {{ $title }}</ h1 >
246
266
< p > {{ .Content | default "Please answer the questions below to complete the test." }}</ p >
247
267
</ div >
You can’t perform that action at this time.
0 commit comments