File tree Expand file tree Collapse file tree 3 files changed +40
-2
lines changed Expand file tree Collapse file tree 3 files changed +40
-2
lines changed Original file line number Diff line number Diff line change
1
+ @import ' ../styles/variables' ;
2
+
1
3
.contentContainer {
2
4
max-width : 1120px ;
3
5
margin : 0 auto ;
11
13
img {
12
14
animation : upDown 1s infinite alternate ;
13
15 }
16
+
17
+ @media (max-width : $breakpoint-md ) {
18
+ flex-direction : column ;
19
+ text-align : center ;
20
+ justify-content : center ;
21
+ }
14
22
}
15
23
16
24
.imgContainer {
24
32
height : 100% !important ;
25
33
display : block !important ;
26
34
}
35
+
36
+ @media (max-width : $breakpoint-md ) {
37
+ display : none ;
38
+ }
27
39
}
28
40
29
41
49
61
span {
50
62
color : var (--yellow );
51
63
}
64
+
65
+ @media (max-width : $breakpoint-sm ) {
66
+ font-size : 4rem ;
67
+ line-height : 4rem ;
68
+ margin-top : 2rem ;
69
+ }
52
70
}
53
71
54
72
p {
Original file line number Diff line number Diff line change
1
+ $breakpoint-xs : 0 ;
2
+ $breakpoint-sm : 576px ;
3
+ $breakpoint-md : 768px ;
4
+ $breakpoint-lg : 992px ;
5
+ $breakpoint-xl : 1200px ;
6
+ $breakpoint-xxl : 1400px ;
Original file line number Diff line number Diff line change 1
1
@tailwind base;
2
2
@tailwind components;
3
3
@tailwind utilities;
4
+ @import ' ./_variables.scss' ;
4
5
5
6
* {
6
7
margin : 0 ;
@@ -31,18 +32,31 @@ html {
31
32
scroll-behavior : smooth ;
32
33
}
33
34
34
- @media (max-width : 1080 px ) {
35
+ @media (max-width : $breakpoint-xl ) {
35
36
html {
36
37
font-size : 93.75% ;
37
38
}
38
39
}
39
40
40
- @media (max-width : 720 px ) {
41
+ @media (max-width : $breakpoint-lg ) {
41
42
html {
42
43
font-size : 87.5% ;
43
44
}
44
45
}
45
46
47
+ @media (max-width : $breakpoint-md ) {
48
+ html {
49
+ font-size : 75.5% ;
50
+ }
51
+ }
52
+
53
+ @media (max-width : $breakpoint-sm ) {
54
+ html {
55
+ font-size : 67.5% ;
56
+ }
57
+ }
58
+
59
+
46
60
body {
47
61
background : var (--pink );
48
62
background : linear-gradient (180deg , var (--pink ) 0% , var (--purple ) 100% );
You can’t perform that action at this time.
0 commit comments