-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
240 lines (225 loc) · 3.73 KB
/
style.css
File metadata and controls
240 lines (225 loc) · 3.73 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
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: monospace;
letter-spacing: 1px;
}
nav {
background-color: #1a2634;
display: flex;
align-items: center;
padding: 12px 16px;
position: fixed;
width: 100vw;
z-index: 1;
}
#logo {
float: left;
margin-right: 35px;
}
nav div {
display: flex;
align-items: center;
padding: 7px 10px;
border-radius: 15px;
transition: 0.4s ease-in-out;
}
input {
border: none;
background-color: inherit;
color: rgb(224, 224, 224);
}
input:focus {
outline: none;
}
nav div img {
margin-right: 12px;
height: 23px;
}
.mouseEvent {
background-color: #f1f5f8 !important;
padding-right: 55px;
transition: padding 0.3s ease-in-out;
}
.mouseEvent input {
color: black !important;
}
.clickEvent {
background-color: #f1f5f8 !important;
padding-right: 55px;
transition: padding 0.3s ease-in-out;
}
.clickEvent input {
color: black !important;
}
aside {
background-color: #3b4956;
position: fixed;
top: 63px;
width: 90px;
text-align: center;
height: 100vh;
color: white;
padding-top: 25px;
z-index: 1;
}
aside div {
margin: 0px 2px 34px;
cursor: pointer;
font-weight: bold;
}
aside img {
margin-bottom: 3px;
}
section {
margin-left: 90px;
padding: 75px 6% 50px 5%;
min-height: 100vh;
background-color: #24323f;
color: white;
}
section h1 {
margin: 20px 0px 40px;
font-size: 30px;
letter-spacing: 1.2px;
text-transform: capitalize;
}
section article {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
section article div {
width: 213px;
margin: 10px 16px 30px;
padding-bottom: 10px;
cursor: pointer;
}
.mainImgs {
box-shadow: 6px 6px 14px rgba(0, 0, 0, 0.42);
border-radius: 4px;
width: 100%;
height: 320px;
}
article h2 {
font-size: 16px;
line-height: 135%;
margin: 7px 0px 7px 3px;
}
article p {
color: rgb(179, 179, 179);
margin: 7px 0px 7px 3px;
font-weight: bold;
}
article + div {
text-align: center;
}
div > button {
padding: 5px 15px;
font-weight: bold;
border: none;
font-size: 20px;
margin: 10px;
background-color: white;
border-radius: 6px;
}
#singleMovie {
position: fixed;
top: 30px;
left: 50px;
height: 100vh;
width: 100vw;
background-color: #24323f;
color: white;
display: flex;
justify-content: center;
align-items: center;
overflow: scroll;
min-height: fit-content;
}
#singleMovie div {
width: 850px;
display: grid;
grid-template-columns: 1fr 2fr;
padding: 35px;
border-radius: 6px;
background-color: #1a2634;
box-shadow: 3px 3px 10px 3px rgb(26, 22, 22);
z-index: 100;
}
#singleMovie img {
border-radius: inherit;
}
#singleMovie h2 {
font-size: 28px;
line-height: 29px;
padding: 0 15px 0 0;
position: relative;
margin: 0 0 10px 0;
}
#singleMovie button {
position: absolute;
top: 0;
right: 0;
text-align: center;
color: white;
border: 2px solid white;
background-color: inherit;
padding: 2px 8px;
border-radius: 2rem;
font-size: 20px;
cursor: pointer;
}
#singleMovie p {
color: rgb(158, 158, 158);
font-size: 15px;
}
h3 {
margin: 25px 0px 10px 1px;
font-size: 22px;
}
h4 {
margin-left: 3px;
font-size: 16px;
line-height: 150%;
}
.display {
display: none !important;
}
@media (max-width: 900px) {
#singleMovie div {
padding-top: 400px;
width: 80%;
grid-template-columns: 1fr;
}
#singleMovie img {
width: 90%;
margin: 10px 5% 20px;
}
}
@media (max-width: 650px) {
section article div {
width: 55%;
}
}
@media (max-width: 450px) {
#singleMovie {
left: 30px;
}
#singleMovie div {
width: 96%;
}
aside {
width: 55px;
}
aside img + p {
font-size: 8px;
}
section {
margin-left: 50px;
}
section article div {
width: 73%;
}
}