-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
96 lines (83 loc) · 1.64 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
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
font-weight: 400;
font-size: 14px;
}
.content {
width: 500px;
padding: 20px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.content-title {
margin-bottom: 10px;
}
.image {
width: 100%;
border-radius: 5px;
margin-bottom: 10px;
}
p {
text-align: justify;
margin-bottom: 20px;
}
.popup-btn {
border: 0;
background-color: black;
color: white;
font-family: inherit;
font-weight: inherit;
padding: 10px 35px;
border-radius: 5px;
cursor: pointer;
transition: all 0.3s linear;
}
.popup-btn:hover,
.close:hover {
box-shadow: 0 0 0.325rem black;
}
.popup-model {
width: 300px;
padding: 20px;
background-color: whitesmoke;
border-radius: 5px;
box-shadow: 0 0 0.325rem whitesmoke;
position: absolute;
top: 35%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
visibility: collapse;
transition: 0.15s;
}
.model-title {
text-align: center;
margin-bottom: 1rem;
}
.close {
width: 100%;
padding: 10px;
background-color: black;
color: white;
cursor: pointer;
font-family: inherit;
font-weight: inherit;
border-radius: 5px;
}
.content-active {
filter: blur(5px);
transition: 0.3s;
}
.popup-model-active {
top: 43%;
visibility: visible;
transition: 0.3s;
}