forked from cerebral/overmind
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.ts
More file actions
55 lines (50 loc) · 934 Bytes
/
styles.ts
File metadata and controls
55 lines (50 loc) · 934 Bytes
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
import { css } from 'emotion'
export const wrapper = css`
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 0.25s ease-in;
z-index: 3;
`
export const backdrop = css`
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: #000;
opacity: 0.5;
`
export const video = css`
position: relative;
display: inline-block;
width: 560px;
height: 315px;
@media (max-width: 1024px) {
width: 300px;
height: 169px;
}
box-shadow: 0px 0px 36px 0px rgba(0, 0, 0, 0.75);
background-color: #000;
`
export const loader = css`
position: absolute;
width: 560px;
top: 50%;
@media (max-width: 1024px) {
width: 300px;
}
text-align: center;
color: var(--color-white-1);
`
export const iframe = css`
position: absolute;
top: 0;
left: 0;
`