-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
81 lines (69 loc) · 1.25 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
body {
text-align: center;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
min-height: 100vh;
font-family: 'Arial Narrow', Arial, sans-serif;
text-transform: uppercase;
}
#canvasWrapper {
display: flex;
flex-direction: column;
align-items: center;
}
#canvasContainer {
height: 55vw;
width: 55vw;
max-height: 55vw;
max-width: 55vw;
display: flex;
justify-content: center;
align-items: center;
margin: auto;
}
canvas {
max-width: 100%;
max-height: 100%;
}
#controls {
margin-top: 10px;
}
#controls button {
background-color: transparent;
border: 2px solid black;
padding: 0.6rem 1.2rem;
cursor: pointer;
margin: 0.3rem;
}
#controls button:hover {
background-color: lightgray;
}
#controls button:focus-visible {
outline: none;
}
footer#credit {
width: 100%;
text-align: center;
font-size: 0.7rem;
}
footer#credit a {
color: black;
text-decoration: none;
}
footer#credit a:hover {
text-decoration: underline;
}
@media (max-width: 580px) {
h1 {
font-size: 1.4rem;
}
}
@media (max-width: 589px) {
#controls button {
width: 80vw;
}
}