-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
78 lines (66 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
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;1,400&display=swap");
:root {
--color-primary: black;
}
* {
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
height: 100vh;
display: grid;
place-items: center;
}
.container {
width: 65vw;
display: flex;
flex-flow: column nowrap;
align-items: center;
justify-content: space-evenly;
margin: 0.5em;
}
@media screen and (max-width: 1200px) {
.container {
width: 75vw;
}
}
@media screen and (max-width: 600px) {
.container {
width: 85vw;
}
}
#canvas {
width: 75vh;
max-height: 75vh;
margin-top: 2em;
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}
@media (orientation: portrait) {
#canvas {
max-width: 75vw;
height: 75vw;
}
}
button {
padding: 0.5em;
margin: 0.5em;
border: 2px solid var(--color-primary);
background-color: transparent;
border-radius: 5px;
font-size: 0.8em;
font-weight: 500;
}
button:active {
background-color: var(--color-primary);
color: white;
}
#instructions {
font-size: 0.8em;
text-align: center;
margin-top: 1em;
}
#stop-btn {
display: none;
}