-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpopup.css
More file actions
102 lines (92 loc) · 2.17 KB
/
popup.css
File metadata and controls
102 lines (92 loc) · 2.17 KB
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
#popup-container {
position: fixed;
top: 0;
bottom: 0;
right: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.5);
display: none;
align-items: center;
justify-content: center;
z-index: 3;
}
#popup-container.active {
display: flex;
}
#popup-container img {
width: 60%;
}
#closeTop {
position: absolute;
display: flex;
align-items: center;
top: 10px;
right: 10px;
height: 50px;
width: 50px;
border-radius: 50%;
background-color: rgba(0, 0, 0, 0);
color: #290D6B;
padding: 1rem;
font-size: 2rem;
border: none;
font-family: inherit;
cursor: pointer;
transition: all 0.3s ease-in-out;
}
#closeTop:hover {
background-color: #290D6B;
color: white;
}
#closeBottom {
padding: 0.5rem 1.5rem;
margin: 20px 0;
font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: 2rem;
font-weight: 700;
cursor: pointer;
border-radius: 70px;
border: 4px solid black;
background-color: #F8F8F8;
color: black;
transition: all 0.3s ease-in-out;
}
#closeBottom:hover{
border: 4px solid #290D6B;
background-color: #290D6B;
color: white;
}
#popup {
display: flex;
flex-direction: column;
align-items: center;
background-color: #fff;
width: 70vw;
height: 70vh;
padding: 2rem;
border-radius: 8px;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
position: relative;
overflow: scroll;
overflow-x: hidden;
z-index: 4;
}
#popup h1 {
font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
padding: 40px 0 40px 0;
font-size: 3rem;
font-weight: bolder;
text-transform: uppercase !important;
}
.popupPart h2 {
width: 100%;
text-align: center;
font-size: 2rem;
font-weight: bolder;
padding: 20px 0 40px 0;
}
.popupPart p {
padding: 20px 20%;
font-size: 1.5rem;
text-align: center;
}