-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
66 lines (59 loc) · 942 Bytes
/
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.popup {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 20;
background-color: rgba(0,0,0,.7);
padding: 15px;
overflow: auto;
text-align: center;
font-size: 0;
visibility: hidden;
opacity: 0;
}
.popup--active {
visibility: visible;
opacity: 1;
}
.popup__inner, .popup::before {
display: inline-block;
vertical-align: middle;
}
.popup::before {
content: "";
height: 100%;
width: 0;
}
.popup__inner {
background-color: #fff;
width: 100%;
max-width: 450px;
font-size: 16px;
padding: 50px;
position: relative;
}
.popup__close {
display: inline-block;
width: 20px;
height: 20px;
position: absolute;
top: 15px;
right: 15px;
z-index: 1;
}
.btn {
display: inline-block;
background-color: #000;
color: #fff;
min-width: 200px;
text-transform: uppercase;
padding: .5em;
text-align: center;
}