-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
198 lines (162 loc) · 2.96 KB
/
index.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
body {
font: normal 9pt sans-serif;
margin: 0;
}
h1 {
margin: 0;
padding: 1em 0 0;
text-align: center;
}
h1 a {
color: inherit;
text-decoration: none;
}
#creditsP {
align-items: center;
display: flex;
justify-content: center;
margin: 1ex 0 1em;
}
#creditsP img {
margin: 0 1ex;
}
#creditsP a {
text-decoration: none;
}
#cinemasDiv {
max-height: 25vh;
overflow-y: auto;
text-align: center;
}
#cinemasDiv input {
display: none;
}
#cinemasDiv label {
cursor: pointer;
display: inline-block;
padding: 1ex;
margin: 1ex;
}
#cinemasDiv input:checked + label {
background: #666;
color: white;
}
#moviesDiv {
text-align: center;
}
#moviesDiv > div {
background: #efefef;
border-radius: 5px;
box-shadow: 0 0 2px 1px silver;
display: inline-flex;
flex-direction: column;
margin: 1ex;
padding: 1ex;
position: relative; /* For the badge if any */
width: 254px;
}
#moviesDiv > div:hover {
animation-name: fiddle;
animation-duration: .15s;
}
@keyframes fiddle {
0% {
transform: rotate3d(0, 0, 0, 1deg);
}
10% {
transform: rotate3d(0, 0, 1, 1deg);
}
20% {
transform: rotate3d(0, 1, 0, 1deg);
}
30% {
transform: rotate3d(0, 1, 1, 1deg);
}
40% {
transform: rotate3d(1, 0, 0, 1deg);
}
50% {
transform: rotate3d(1, 0, 1, 1deg);
}
60% {
transform: rotate3d(1, 1, 0, 1deg);
}
70% {
transform: rotate3d(1, 1, 1, 1deg);
}
}
#moviesDiv > div > div.badge {
background: linear-gradient(169.5deg, white 7.5%, rgba(0, 0, 0, .25) 8%, transparent 10%);
border-radius: 5px 0 0 0;
height: 100%;
padding: 1em;
position: absolute;
text-align: initial;
width: 100%;
/* Pop out to the card */
left: -1px;
top: -1px;
/* Make click-through */
pointer-events: none;
/* This seems to be needed to beat the `blur` filter :-( */
z-index: 1;
}
#moviesDiv > div img {
border-radius: 3px;
height: 360px;
margin: 0 0 1ex;
width: 100%;
}
#moviesDiv > div a {
color: #222;
display: block;
font: bold 11pt sans-serif;
text-decoration: none;
}
#moviesDiv > div span {
color: #777;
margin: 1ex 0 0;
}
#popupDiv {
background: rgba(0, 0, 0, .45);
bottom: 0;
display: none;
left: 0;
position: fixed;
right: 0;
top: 0;
z-index: 1; /* Beat badges */
}
#popupDiv.popup {
display: initial;
}
#popupDiv > div {
background: white;
margin: 100px auto 0;
max-height: calc(90vh - 100px);
max-width: 800px;
overflow: auto;
padding: 1em;
width: 90%;
}
#popupDiv img {
float: left;
height: 180px;
margin-right: 1em;
width: 127px;
}
#popupDiv h2 {
margin: 0 0 1em;
}
#tagDiv {
clear: left;
font-weight: bold;
}
#trailerIframe {
display: block;
margin: 1em auto;
}
#screeningsDiv span {
display: inline-block;
padding: 1ex;
}