-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_mobile.scss
More file actions
112 lines (110 loc) · 2.19 KB
/
_mobile.scss
File metadata and controls
112 lines (110 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
@media (min-width: 320px) and (max-width: 768px){
.center{
padding-left: 16px;
padding-right: 16px;
}
.top{
background-image: url(img/background_img_mobile.jpg);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
height: 735px;
}
.header{
&__link{
transition: 0.3s;
&:active{
transform: scale(1.02);
}
}
display: flex;
flex-direction: column;
align-items: center;
padding-top: 238px;
&__title{
font-size: 32px;
line-height: 39px;
text-align: center;
}
&__text{
font-size: 14px;
line-height: 22px;
text-align: center;
width: 343px;
margin-bottom: 32px;
}
}
.list_of_games{
grid-template-columns: repeat(4, 1fr);
justify-items: center;
}
.game{
width: 343px;
transition: all 0.3s ease-in-out;
&:active{
transform: scale(1.02);
}
}
.main__about_game {
padding-top: 51px;
padding-bottom: 85px;
}
.about_game{
flex-direction: column;
align-items: center;
gap: 64px;
&__left{
align-items: center;
}
&__right{
width: 344px;
}
&__title{
font-size: 32px;
line-height: 39px;
}
&__text{
font-size: 14px;
line-height: 22px;
text-align: center;
width: 343px;
}
}
.about_game{
&__button{
transition: all 0.3s ease-in-out;
&:active{
transform: scale(1.02);
}
}
}
}
@media (max-width: 374px){
.header{
&__text{
width: 288px;
}
}
.game{
width: 288px;
}
.about_game{
&__left{
width: 288px;
}
&__text{
width: 283px;
}
&__right{
width: 288px;
}
}
}
@media (max-width: 361px){
.top {
height: 656px;
}
.header {
padding-top: 135px;
}
}