-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
92 lines (79 loc) · 1.44 KB
/
Copy pathmain.css
File metadata and controls
92 lines (79 loc) · 1.44 KB
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
* {
margin: 0;
padding: 0;
border: 0;
user-select: none;
}
*, *:before, *:after {
box-sizing: border-box;
}
* { -webkit-tap-highlight-color: transparent; }
*::-moz-focus-inner { border: 0; }
*:focus-visible { outline: none; }
html, body {
height: 100%;
width: 100%;
}
body {
display: grid;
place-items: center;
background: #000000;
color: #dddddd;
font-family: sans-serif;
}
canvas {
height: 100vh;
width: 100vw;
}
.select {
position: fixed;
background-color: black;
/* border-radius: 32px;
corner-shape: squircle;*/
padding: 24px;
display: flex;
flex-wrap: wrap;
justify-content: center;
box-shadow: 0 0 16px 16px black;
}
input[type="radio"] {
appearance: none;
display: inline-block;
width: 8mm;
height: 8mm;
border: .4mm solid #aaa;
border-radius: 32%;
corner-shape: squircle;
margin-block: 0;
margin-inline: 0;
padding-block: 0;
padding-inline: 0;
margin: 8px;
transition:
transform .5s ease-in-out,
filter 1s ease-in-out;
filter: brightness(60%) sepia(.4);
}
input[type="radio"]:checked {
transform: scale(1.6);
filter: unset;
}
#tiles { top: 10%; }
#colors { bottom: 10%; }
/* small screen */
@media screen and (max-width: 15cm) {
.select { width: 90%; }
}
/* big screen */
@media screen and (min-width: 15cm) {
.select { width: 50%; }
}
#help {
position: fixed;
top: 45%;
background-color: black;
padding: 1em;
font-size: 22pt;
box-shadow: 0 0 16px 16px black;
transition: opacity 1s ease-in-out;
}