-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
98 lines (85 loc) · 1.67 KB
/
style.css
File metadata and controls
98 lines (85 loc) · 1.67 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
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap");
/* CSS Reset */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: JetBrains Mono;
font-size: 16px;
}
:root {
--latte-base: #eff1f5;
--latte-text: #4c4f69;
--latte-mauve: #8839ef;
--latte-green: #40a02b;
--latte-maroon: #e64553;
--macchiato-base: #303446;
--macchiato-text: #cad3f5;
--macchiato-mauve: #c6a0f6;
}
canvas {
background-color: var(--latte-base);
--scale: 50px;
touch-action: none;
display: block;
background: linear-gradient(to right, transparent 98%, lightgray 98%),
linear-gradient(to bottom, transparent 98%, lightgray 98%);
/* background-position: 0px 100vh; */
background-size: var(--scale) var(--scale);
}
.buttons-container {
position: fixed;
top: 1rem;
right: 1rem;
display: flex;
flex-direction: column;
gap: .5rem;
}
.button {
height: 3rem;
width: 3rem;
background-color: var(--macchiato-base);
color: var(--macchiato-text);
border: none;
border-radius: .5rem;
cursor: pointer;
display: grid;
place-content: center;
}
.left-menu {
display: flex;
gap: 1rem;
}
.options-container {
position: fixed;
right: 5rem;
top: 1rem;
display: flex;
flex-direction: column;
gap: 1rem;
padding: 1rem;
border-radius: .5rem;
background-color: var(--macchiato-base);
color: var(--macchiato-text);
}
label {
user-select: none;
cursor: pointer;
}
label > button {
pointer-events: none;
display: grid;
place-content: center;
}
svg {
width: 2rem;
}
.inputs-wrapper {
display: flex;
gap: 1rem;
}
input {
/* max-width: 8rem; */
}