File tree Expand file tree Collapse file tree 1 file changed +4
-53
lines changed Expand file tree Collapse file tree 1 file changed +4
-53
lines changed Original file line number Diff line number Diff line change 8
8
text-align : center;
9
9
position : relative;
10
10
overflow : hidden;
11
+ display : flex;
12
+ flex-direction : column;
11
13
}
12
14
13
15
.heroAds {
14
- position : absolute;
15
- left : 0 ;
16
- top : 12px ;
17
- }
18
-
19
- @media screen and (min-width : 375px ) {
20
- .heroAds {
21
- top : 4rem ;
22
- }
23
- }
24
-
25
- @media screen and (min-width : 425px ) {
26
- .heroAds {
27
- left : unset;
28
- top : 8px ;
29
- }
30
- }
31
-
32
- @media screen and (min-width : 768px ) {
33
- .heroAds {
34
- transform : translateX (calc (50% - 30px ));
35
- }
36
- }
37
-
38
- @media screen and (min-width : 1024px ) {
39
- .heroAds {
40
- top : 10rem ;
41
- transform : unset;
42
- }
43
- }
44
-
45
- @media screen and (min-width : 1256px ) {
46
- .heroAds {
47
- left : 4rem ;
48
- }
49
- }
50
-
51
- @media screen and (min-width : 1440px ) {
52
- .heroAds {
53
- left : 8rem ;
54
- }
55
- }
56
-
57
- @media screen and (min-width : 2000px ) {
58
- .heroAds {
59
- left : 16rem ;
60
- }
61
- }
62
-
63
- @media screen and (min-width : 2560px ) {
64
- .heroAds {
65
- left : 32rem ;
66
- }
16
+ padding-top : 2rem ;
17
+ min-height : 196px ;
67
18
}
68
19
69
20
@media screen and (max-width : 996px ) {
You can’t perform that action at this time.
0 commit comments