-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
134 lines (113 loc) · 2.46 KB
/
index.css
File metadata and controls
134 lines (113 loc) · 2.46 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
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Arial', sans-serif;
background: #000;
margin: 0 auto;
}
h1 {
color: #e5c343;
}
canvas {
background: white;
}
header {
grid-area: header;
background: silver;
padding: 0.25rem;
button {
border: 0;
background: transparent;
padding: 0.25rem;
font-size: 1.25rem;
&:hover {
box-shadow: 1px 1px black,
inset -1px -1px gray,
inset 1px 1px white;
}
&:active {
box-shadow: 1px 1px white,
inset 1px 1px gray,
inset 1px 1px black;
}
}
}
aside {
grid-area: aside;
background: silver;
width: 6rem;
padding: 4px 0 0 0;
box-shadow: inset 0 -2px #777777;
display: flex;
flex-wrap: wrap;
nav {
display: flex;
flex-wrap: wrap;
align-content: flex-start;
justify-content: center;
}
button {
width: 2.5rem;
height: 2.5rem;
background-color: lightgray;
border: 2px solid #eee;
border-right-color: #000;
border-bottom-color: #000;
svg {
width: 2.25rem;
height: 2.25rem;
}
&.active, &:active {
border-color: black;
border-right-color: #eee;
border-bottom-color: #eee;
}
&[disabled] {
background-image: radial-gradient(#000 1px, transparent 1px);
background-size: 4px 4px;
}
}
}
main {
display: flex;
grid-area: main;
justify-self: flex-start;
overflow: auto;
padding: 0.5rem 0 0.5rem 0.5rem;
box-shadow: inset 2px 2px black;
}
footer {
grid-area: footer;
display: flex;
gap: 0.25rem;
width: 100vw;
background-color: silver;
padding: 0.25rem;
box-shadow: inset 0 2px #eee;
align-items: center;
#color-picker {
box-shadow: inset 1px 1px #777777,
inset -1px -1px #eee;
background: transparent;
border: none;
}
#coords {
width: 6rem;
height: 100%;
padding: 0.25rem;
box-shadow: inset 1px 1px #777777,
inset -1px -1px #eee;
}
}
.container {
background-color: #777777;
display: grid;
justify-content: flex-start;
grid-template-areas:
"header header header header"
"aside main main ."
"footer footer footer footer";
}