-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
64 lines (53 loc) · 937 Bytes
/
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
body {
background-color: #000;
color: white;
}
input, textarea {
background-color: #333;
color: white;
}
button {
background-color: transparent;
border: 2px solid white;
color: white;
}
div {
margin-top: 10px;
margin-bottom: 10px;
}
.editor, .editor > * {
display: block;
}
#recent-colors {
list-style: none;
padding-inline-start: 0;
}
#recent-colors > li, div.horizontal {
display: inline;
}
#recent-colors > li:after {
content: '';
padding-right: 12px;
}
#pixels {
display: grid;
width: min-content;
height: min-content;
background: url("pattern.png") repeat;
background-size: 30px;
}
#pixels > button {
width: auto;
height: auto;
border-right: none;
border-bottom: none;
border-top: 1px solid rgba(0, 0, 0, 0.3);
border-left: 1px solid rgba(0, 0, 0, 0.3);
outline: none;
}
#pixels:nth-child(-n+2) {
border-top: none;
}
#pixels:nth-child(odd) {
border-left: none;
}