-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
79 lines (63 loc) · 1.23 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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&display=swap');
body, body * {
padding: 0;
margin: 0;
font-family: 'Montserrat', sans-serif;
}
body {
width: 100vw;
height: 100vh;
}
:root {
--background-color: #ffffff;
--shadow-color: #00000020;
--text-color: #000000;
}
button{
margin-bottom: 1rem;
width: 10%;
}
#container {
background-color: var(--background-color);
box-shadow: 0 0 1.25rem 0.3rem var(--shadow-color);
width: 600px;
height: 180px;
border-radius: 50px;
}
#textDiv {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
p {
color: var(--text-color);
font-size: 5rem;
z-index: 1;
}
img {
position: absolute;
top: 0;
bottom: 0;
}
canvas {
width: 500px;
height: 180px;
border-radius: 20px;
position: absolute;
top: 0;
bottom: 0;
z-index: 2;
}
.addedTime {
position: absolute;
top: 20%;
opacity: 0;
display: none;
z-index: 5;
font-weight: 400;
font-size: 3.25rem;
color: var(--background-color);
text-shadow: 0px 0px 10px #000000, 8px 8px 12px #000000;
transition: top 1s ease-out, opacity .5s ease-out;
}