-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
118 lines (105 loc) · 1.92 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
body {
font-family: avenir, arial, sans-serif, monospace;
background: black;
color: white;
}
#instructions {
color: white;
font-weight: normal;
border: solid black;
border-width: 0.5rem 0 0;
padding-top: 0.5rem;
display: inline-block;
transition: border-color 0.25s;
}
canvas {
background: white;
outline: none;
border-radius: 0.25rem;
margin-bottom: 1rem;
}
canvas:focus {
outline: 10px solid #555;
}
button:not(:last-child) {
border: 2px solid whitesmoke;
height: 3rem;
margin-right: 10px;
}
.color-group {
display: flex;
flex-direction: row;
background: #333;
padding: 10px;
max-width: 600px;
margin: auto;
border-radius: 0.25rem;
}
.color-group:hover, .color-group:focus-within {
background: #555;
}
.color-group button {
flex: 1;
border: none;
}
.color-group button#clear, .color-group button#download {
border-radius: 1rem;
font-size: medium;
}
.color-group button:hover, .color-group button:focus {
background: #555;
color: white;
outline: 4px solid white !important;
}
.color-group button:hover#white, .color-group button:focus#white {
outline-color: black !important;
}
.center-horizontally {
text-align: center;
}
#red {
background: red;
}
#red:hover:before, #red:focus:before {
content: "Red";
}
#orange {
background: orange;
}
#orange:hover:before, #orange:focus:before {
content: "Orange";
color: black;
}
#yellow {
background: yellow;
}
#yellow:hover:before, #yellow:focus:before {
content: "Yellow";
color: black;
}
#green {
background: green;
}
#green:hover:before, #green:focus:before {
content: "Green";
}
#blue {
background: blue;
}
#blue:hover:before, #blue:focus:before {
content: "Blue";
}
#white {
background: white;
}
#white:hover:before, #white:focus:before {
content: "White";
color: black;
}
#black {
background: black;
}
#black:hover:before, #black:focus:before {
content: "Black";
}
/*# sourceMappingURL=style.css.map */