-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecomendations.css
186 lines (173 loc) · 3.39 KB
/
recomendations.css
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
@import url("https://fonts.googleapis.com/css?family=Lato");
/*---- Global ----*/
* {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-family: "Lato", sans-serif;
font-size: 100%;
vertical-align: bottom;
text-decoration: none;
box-sizing: border-box;
}
html, body {
height: 100%;
width: 100%;
background-color: #fff;
color: grey;
}
p {
font-size: 14px;
line-height: 20px;
}
img {
width: 100%;
}
h1 {
color: #020518;
}
h2 {
color: #020518;
}
h3 {
color: #020518;
}
h4 {
color: #020518;
}
h5 {
color: #020518;
}
h6 {
color: #020518;
}
h2 {
font-size: 30px;
}
h3 {
font-size: 14px;
margin-bottom: 15px;
}
/*movie-card*/
.movie-card {
display: grid;
grid-template-columns: 2fr 300px 0.2fr 400px 2fr;
grid-template-areas: ". p . m .";
}
@media screen and (max-width: 1024px) {
.movie-card {
grid-template-columns: 1fr 4fr 1fr 4fr 1fr;
}
}
@media screen and (max-width: 780px) {
.movie-card {
grid-template-columns: 1fr 4fr 1fr;
grid-template-areas: ". p ." ". m .";
}
}
@media screen and (max-width: 500px) {
.movie-card {
grid-template-columns: 0.5fr 4fr 0.5fr;
grid-template-areas: ". p ." ". m .";
}
}
.movie-card .poster-wrapper {
grid-area: p;
}
.movie-card .poster-wrapper .poster {
position: relative;
color: #fff;
}
@media screen and (max-width: 500px) {
.movie-card .poster-wrapper .poster {
margin-bottom: 30px;
}
}
.movie-card .poster-wrapper .poster .status-flag {
position: absolute;
top: 30px;
left: -30px;
padding: 10px;
text-align: center;
}
.movie-card .poster-wrapper .poster .status-flag h2 {
font-size: 42px;
color: #fff;
}
.movie-card .poster-wrapper .poster .status-flag .divider {
background-color: #fff;
height: 2px;
width: 20px;
margin: 10px auto;
}
.movie-card .poster-wrapper .poster .btn-play {
position: absolute;
bottom: 30px;
right: -30px;
background-color: #068FFF;
padding: 15px;
font-size: 24px;
cursor: pointer;
transition: all 0.4s;
}
.movie-card .poster-wrapper .poster .btn-play:hover {
background-color: #fdba2e;
}
.movie-card .movie-info {
grid-area: m;
}
.movie-card .movie-info > div {
margin-bottom: 30px;
}
.movie-card .movie-info .header-section p {
margin: 5px 0;
}
.movie-card .movie-info .header-section .extra {
display: flex;
align-items: center;
}
@media screen and (max-width: 500px) {
.movie-card .movie-info .header-section .extra {
display: block;
}
}
.movie-card .movie-info .header-section .extra .ratings {
margin-right: 15px;
color: #fdba2e;
}
.movie-card .movie-info .header-section .extra .ratings p {
font-size: 18px;
}
.movie-card .movie-info .header-section .extra .tagline > span {
margin-right: 5px;
}
.movie-card .movie-info .link-section .links {
display: flex;
}
.movie-card .movie-info .link-section .links img {
width: 40px;
height: 40px;
object-fit: cover;
border-radius: 50%;
margin-right: 15px;
}
.movie-card .movie-info .gallery-section .gallery {
display: grid;
grid-template-columns: repeat(autofit, minmax(50px, 1fr));
grid-auto-rows: 75px;
grid-row-gap: 10px;
grid-column-gap: 10px;
grid-auto-flow: dense;
}
.movie-card .movie-info .gallery-section .gallery .small {
grid-column: span 1;
}
.movie-card .movie-info .gallery-section .gallery .medium {
grid-column: span 3;
}
.movie-card .movie-info .gallery-section .gallery img {
object-fit: cover;
width: 100%;
height: 100%;
}