-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.css
74 lines (64 loc) · 1.32 KB
/
index.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
@import url('https://cursedprograms.github.io/cursedentertainment/styles/main-style.css');
body {
overflow: hidden;
}
canvas {
border: 1px solid var(--color-primary-light);
display: block;
margin: 20px auto;
}
.button-container {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
}
input[type="color"] {
width: 40px;
height: 40px;
padding: 0;
border: none;
cursor: pointer;
}
label {
background-color: var(--color-primary);
color: var(--color-text);
padding: 5px;
margin-left: 10px;
border-radius: 5px;
}
input[type="range"] {
width: 100px;
margin-left: 5px;
background-color: var(--color-primary);
}
#brushSize {
width: 15%;
height: 10px;
-webkit-appearance: none;
appearance: none;
background: var(--color-light-grey);
border-radius: 5px;
outline: none;
opacity: 0.7;
transition: opacity 0.2s;
}
#brushSize:hover {
opacity: 1;
}
#brushSize::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
background: var(--color-tertiary);
border-radius: 50%;
cursor: pointer;
}
#brushSize::-moz-range-thumb {
width: 20px;
height: 20px;
background: var(--color-tertiary);
border-radius: 50%;
cursor: pointer;
}