-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
121 lines (116 loc) · 2.42 KB
/
style.css
File metadata and controls
121 lines (116 loc) · 2.42 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
113
114
115
116
117
118
119
120
121
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
body{
background-color: #b9b6b6;
font-family: 'Roboto', sans-serif;
font-size: 3vw;
}
.movies{
display: flex;
justify-content: center;
align-items: center;
width: 80vw;
height: 8vw;
background-color: #FECC00;
margin: 10px auto;
padding: 3vw;
border-radius: 10px;
}
#searchInput , .btn{
height: 5vw;
font-size: 3vw;
border: none;
}
#searchInput {
width: 50%;
border-radius: 10px 0 0 10px;
padding: 0 0 0 20px;
}
.btn{
width: 25%;
border-radius: 0 10px 10px 0;
background-color:burlywood;
}
.search{
width: 8vw;
}
#filmList{
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
.films{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
width: 80vw;
min-height: 20vw;
background-color: #FECC00;
margin: 10px auto;
padding: 3vw;
border-radius: 10px;
}
.films article{
text-align: center;
background-color: #ECECEC;
margin: 10px;
padding: 10px;
border-radius: 10px;
}
.films article img{
width: 75%;
border-radius: 10px;
}
.films article button{
width: 75%;
border-radius: 10px;
background-color: #b9b6b6;
height: 8vw;
font-size: 3vw;
}
.filminfo{
justify-content: center;
}
.films_details, .filminfo {
width: 80%;
display: flex;
background-color: #FECC00;
border-radius: 10px;
margin: 2vw auto;
padding: 2vw;
font-size: 2vw;
}
.poster{
width: 40vw;
border-radius: 10px;
margin: 3vw;
}
@media screen and (min-width:576px) {
.films article {
width: 40%;
}
.films article button{
font-size: 2.3vw;
height: 5vw;
}
}
@media screen and (min-width:768px) {
.films article {
width: 26%;
font-size: 1.8vw;
}
.films article button{
font-size: 2vw;
height: 5vw;
}
}
@media screen and (min-width:992px) {
.films article {
width: 18%;
font-size: 1.3vw;
}
.films article button{
font-size: 1.4vw;
height: 3vw;
}
}