File tree Expand file tree Collapse file tree 1 file changed +78
-9
lines changed Expand file tree Collapse file tree 1 file changed +78
-9
lines changed Original file line number Diff line number Diff line change 1
1
.header {
2
2
background-image : url ('../assets/bg.webp' );
3
3
height : 550px ;
4
+ background-size : 150vw ;
5
+ background-repeat : no-repeat;
4
6
}
5
7
6
8
.header button {
15
17
}
16
18
17
19
.header button : hover {
18
- color : # fff ;
19
20
background-color : # 3d9dd9 ;
20
- font-size : 18px ;
21
- border-radius : 30px ;
22
- padding : 20px ;
23
- border : none;
24
- margin-top : 20em ;
25
- margin-left : calc (((100% - 270px ) / 3 ) * 2 );
26
21
}
27
- .header-padding {
28
- padding-top : 6.7em ;
22
+ .header-padding {
23
+ padding-top : 6.7em ;
24
+ }
25
+
26
+ @media screen and (max-width : 1162px ) {
27
+ .header button {
28
+ margin-top : 15em ;
29
+ font-size : 16px ;
30
+ }
31
+ .header {
32
+ height : 400px ;
33
+ }
34
+ }
35
+
36
+ @media screen and (max-width : 880px ) {
37
+ .header button {
38
+ margin-top : 12em ;
39
+ font-size : 16px ;
40
+ }
41
+ .header {
42
+ height : 300px ;
43
+ }
44
+ }
45
+
46
+ @media screen and (max-width : 695px ) {
47
+ .header button {
48
+ margin-top : 10em ;
49
+ font-size : 16px ;
50
+ }
51
+ .header {
52
+ height : 250px ;
53
+ }
54
+ }
55
+
56
+ @media screen and (max-width : 551px ) {
57
+ .header button {
58
+ margin-top : 8em ;
59
+ font-size : 14px ;
60
+ margin-left : 12em ;
61
+ }
62
+ .header {
63
+ height : 190px ;
64
+ }
65
+ }
66
+
67
+ @media screen and (max-width : 423px ) {
68
+ .header button {
69
+ margin-top : 8em ;
70
+ font-size : 12px ;
71
+ margin-left : 10em ;
72
+ }
73
+ .header {
74
+ height : 180px ;
75
+ }
76
+ }
77
+
78
+ @media screen and (max-width : 382px ) {
79
+ .header button {
80
+ margin-top : 5em ;
81
+ font-size : 12px ;
82
+ margin-left : 9em ;
83
+ }
84
+ .header {
85
+ height : 150px ;
86
+ }
87
+ }
88
+
89
+ @media screen and (max-width : 301px ) {
90
+ .header button {
91
+ margin-top : 4em ;
92
+ font-size : 8px ;
93
+ margin-left : 14em ;
94
+ }
95
+ .header {
96
+ height : 120px ;
97
+ }
29
98
}
You can’t perform that action at this time.
0 commit comments