forked from halitbatur/movie-project
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyle.css
255 lines (221 loc) · 4.67 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
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
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Radley&display=swap');
* {
margin: 0;
padding: 0;
}
.center {
width: 400px;
margin: 10% auto;
text-align: center;
}
.site-nav {
background-color: #;
opacity: 0.;
display: flex;
align-items: center;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}
.moviesparaghrap {
font-family: 'Radley', serif;
}
.moviesparaghrap2 {
font-family: 'Poppins', sans-serif;
}
#triangle-topright {
width: 0;
height: 0;
margin-top: 320.5px;
border-top: 49px solid #770606;
border-left: 49px solid transparent;
transform: rotate(-18.5deg);
}
#triangle2-topright {
width: 0;
height: 0;
margin-left: 350px;
border-top: 47px solid #770606;
border-left: 47px solid transparent;
transform: rotate(-198.6deg);
}
#triangle1-topright {
width: 0;
height: 0;
border-top: 60px solid black;
border-left: 60px solid transparent;
}
.triangle-left {
width: 0;
height: 0;
margin-top: 330px;
margin-left: 310px;
border-top: 50px solid transparent;
border-right: 100px solid black;
border-bottom: 50px solid transparent;
}
.triangle-right {
width: 0;
height: 0;
margin-top: 330px;
border-top: 50px solid transparent;
border-left: 100px solid black;
border-bottom: 50px solid transparent;
}
.triangle-right1 {
width: 0;
height: 0;
margin-left: -320px;
border-top: 40px solid transparent;
border-left: 80px solid black;
border-bottom: 50px solid transparent;
}
.triangle-right2 {
width: 0;
height: 0;
margin-left: -320px;
border-top: 40px solid transparent;
border-left: 80px solid white;
border-bottom: 50px solid transparent;
}
.triangle-bottomleft {
width: 0;
height: 0;
margin-left: -900px;
border-bottom: 100px solid black;
border-right: 100px solid transparent;
}
.about-triangle1 {
width: 0;
height: 0;
margin-left: 400px;
border-top: 100px solid black;
border-left: 100px solid transparent;
}
.about-triangle2 {
width: 0;
height: 0;
margin-left: 400px;
transform: rotate(180deg);
border-top: 100px solid #770606;
border-left: 100px solid transparent;
}
.movie-triangle1 {
width: 0;
height: 0;
border-top: 100px solid black;
border-right: 100px solid transparent;
}
.movie-triangle2 {
width: 0;
height: 0;
transform: rotate(180deg);
border-top: 100px solid #770606;
border-right: 100px solid transparent;
}
.triangle-topright {
width: 0;
height: 0;
margin-left: 800px;
border-top: 100px solid black;
border-left: 100px solid transparent;
}
.hobbittriangle-topright {
width: 0;
height: 0;
margin-left: 850px;
border-top: 100px solid black;
border-left: 100px solid transparent;
}
.trianglemovie-topright {
width: 0;
height: 0;
margin-left: 900px;
border-top: 100px solid black;
border-left: 100px solid transparent;
}
.container {
position: relative;
}
.overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
width: 100%;
opacity: 0;
transition: .5s ease;
background-color: #770606;
}
.container:hover .overlay {
opacity: 1;
}
.movieoverlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
width: 100%;
opacity: 0;
transition: .5s ease;
background-color: rgba(0, 0, 0, 0.5);
}
.container:hover .movieoverlay {
opacity: 1;
}
.movieheader-text {
color: white;
font-family: 'Radley', serif;
position: absolute;
top: 50%;
left: 26%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.thehobbit-text {
background-image: url(./images/thehobbit1.jpg);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 50px;
font-weight: bold;
text-transform: uppercase;
font-family: 'Radley', serif;
font-weight: 500;
-webkit-font-smoothing: antialiased;
}
.moviegener-style {
font-family: 'Radley', serif;
}
.mainmovie-div {
width: 500px;
height: 500px;
background-image: url(./images/aboutmain.jpg);
}
.line-1 {
margin-left: 406px;
margin-top: 300px;
width: 400px;
height: 2px;
background: white;
transform: rotate(90deg);
}
#hiddenmovie-div {
height: 5000px;
display: none;
top: 0;
left: 0;
right: 0;
bottom: 0;
cursor: pointer;
z-index: 289;
}
#movie-backdrop {
width: 100%;
}
#actors {
margin: 24px 16px 0 0;
}