-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
85 lines (73 loc) · 1.43 KB
/
styles.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
html {
margin: 0;
}
body {
margin: 0;
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
body > h1 {
margin-block: 15px;
}
#timer {
margin-bottom: 10px;
}
#outlineBox {
position: relative;
border: 1px solid black;
width: 750px;
height: 400px;
}
#clickMe /*Target*/ {
position: absolute;
border: 1px solid black;
background-color: rgb(42, 240, 247);
width: 50px;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
}
.hidden {
display: none !important;
}
.modal {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 70%;
max-width: 750px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
background-color: white;
padding-inline: 5rem;
padding-top: 3rem;
padding-bottom: 1.5rem;
border-radius: 5px;
box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
z-index: 10;
text-align: center;
}
.modal button {
margin-top: 10px;
}
#modalWindowText {
width: 94%;
}
.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(3px);
z-index: 5;
}