-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
149 lines (140 loc) · 2.4 KB
/
style.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
*,
*:before,
*:after {
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: rgb(34, 34, 34);
color: #f5c518;
}
.container {
max-width: 1400px;
width: 100%;
margin: 0 auto;
text-align: center;
padding: 40px;
}
h1 {
text-align: center;
color: #f5c518;
}
#search-form {
display: flex;
justify-content: center;
text-align: center;
gap: 8px;
}
#search-form label {
margin-right: 2px;
padding: 10px 10px 10px 5px;
}
#search-form input{
padding: 8px 8px;
width: 158px;
}
input, label {
margin-top: 10px;
}
.input_btn--main {
padding: 6px 20px;
border-radius: 9px;
background: #f5c518;
border: none;
color: white;
font-weight: 600;
text-align: center;
cursor: pointer;
transition: 0.4s;
}
.input_btn--main:hover {
box-shadow: 7px 5px 56px -14px #f5c518;
}
.input_btn--main:active {
transform: scale(0.97);
box-shadow: 7px 5px 56px -10px #f5c518;
}
#movie-list {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
margin-top: 20px;
margin-bottom: 20px;
}
.movie {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
flex-direction: column;
align-items: center;
}
.movie img {
width: 300px;
height: 400px;
}
.movie-info h3 {
margin-top: 10px;
margin-bottom: 10px;
width: 300px;
}
.movie-details .movie-info h3 {
margin: auto;
}
.movie-details img {
margin-bottom: 10px;
}
.movie-card {
max-width: 350px;
width: 100%;
max-height: 500px;
height: 100%;
margin: 10px;
border: 1px solid black;
border-radius: 5px;
padding: 10px;
}
.movie-card h2 {
margin-top: 10px;
margin-bottom: 10px;
}
.movie-card p {
margin: 0;
}
.pagination-button {
display: inline-block;
background-color: rgb(143, 154, 156);
margin-right: 5px;
padding: 5px;
border: 1px solid rgb(0, 0, 0);
border-radius: 5px;
cursor: pointer;
}
.pagination-button.active {
background-color: rgb(0, 0, 0);
color: rgb(172, 197, 201);
}
.pagination-button:hover {
background-color: rgb(121, 130, 132);
color: rgb(0, 0, 0);
}
#movie-details {
margin-top: 20px;
}
.details-btn {
padding: 10px 20px;
border-radius: 9px;
background: #f5c518;
border: none;
font-weight: 600;
text-align: center;
cursor: pointer;
transition: 0.4s;
}
.details-btn:hover {
box-shadow: 7px 5px 56px -14px #f5c518;
}
.details-btn:active {
transform: scale(0.97);
box-shadow: 7px 5px 56px -10px #f5c518;
}