-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
87 lines (81 loc) · 1.52 KB
/
style.css
File metadata and controls
87 lines (81 loc) · 1.52 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
body {
display: flex;
justify-content: center;
align-items: center;
margin: 40px;
flex-direction: column;
}
h1 {
font-weight: bold;
font-size: 3rem;
letter-spacing: -4.5px;
}
form {
margin: 20px;
}
canvas {
border-radius: 10px;
height: 50%;
}
#palette,
#complementary {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
width: 80%;
}
#palette div,
#complementary div {
height: 120px;
width: 120px;
display: flex;
justify-content: center;
align-items: center;
/* create a little bit of contrast for the text */
mix-blend-mode: difference;
color: #fff;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-shadow: 1px 1px #333;
}
#palette div,
#complementary div {
height: 120px;
width: 120px;
display: flex;
justify-content: center;
align-items: center;
}
#audioContextSuspended {
display: none;
position: absolute;
top:0;
left:0;
width: 100%;
height: 100%;
background: rgba(108, 122, 137, 0.95);
}
#audioContextSuspended > div {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#audioContextSuspended > div > button {
background-color: #cc0000;
border: none;
color: #ffffff;
font-family: Arial;
font-size: 12pt;
font-weight: bold;
padding: 10px 20px;
text-decoration: none;
text-shadow: 0px -1px 0px #7a2a1d;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
#audioContextSuspended > div > button:hover {
background-color: #ff0000;
}