-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathstyles.css
53 lines (50 loc) · 928 Bytes
/
styles.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
body {
display: flex;
justify-content: center;
align-items: center;
margin: 40px;
flex-direction: column;
font-family: "verdana";
}
h1 {
font-weight: bold;
font-size: 3rem;
letter-spacing: -4.5px;
}
form {
margin: 20px;
}
canvas {
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
#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;
}