-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (88 loc) · 1.65 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@900&display=swap");
* {
font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
*:focus-visible {
outline: none;
}
body {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-evenly;
margin-top: 1rem;
}
h1 {
display: flex;
justify-content: center;
text-align: center;
}
button {
padding: 0.6rem 2rem;
border-radius: 0.75rem;
border: none;
background-color: #0070f3;
color: white;
letter-spacing: 0.05rem;
margin: 1rem;
box-shadow: 0 0 10px 0 #0071f39c;
transition: 200ms ease;
}
button:hover {
background-color: #0071f3ec;
}
.container {
display: flex;
justify-content: space-evenly;
align-items: center;
margin-bottom: 5vh;
}
.controller {
display: flex;
flex-direction: column;
margin-bottom: 5vw;
}
.size {
display: flex;
margin-top: 1rem;
}
input[type="range"] {
appearance: none;
margin-left: 1rem;
}
input[type="range"]::-webkit-slider-thumb {
appearance: none;
border: 1px solid #0070f3;
height: 1rem;
width: 1rem;
border-radius: 25px;
background: white;
cursor: pointer;
margin-top: -0.37rem;
}
input[type="range"]::-webkit-slider-thumb:hover {
box-shadow: 0 0 2px 0 #0070f3;
}
input[type="range"]::-webkit-slider-runnable-track {
height: 0.3rem;
cursor: pointer;
background: #0070f3;
border-radius: 10px;
}
@media only screen and (max-width: 770px) {
.container {
flex-direction: column-reverse;
}
body {
padding-top: 6rem;
}
}
@media only screen and (max-width: 510px) {
#mycanvas {
width: 85vw;
height: 85vw;
}
body {
padding-top: 3rem;
}
}