-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
executable file
·150 lines (144 loc) · 2.27 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
/* Resets */
html,
body {
width: 100%;
height: 100%;
margin: 0px;
border: 0;
overflow: hidden;
display: block;
background: lightgrey;
position: fixed;
}
* {
box-sizing: border-box;
}
#can {
background: white;
position: fixed;
left: calc(50% - 1200px);
top: calc(50% - 900px);
background: url('images/[email protected]'), #fff;
background-size: 30px, 30px;
perspective: 2px;
}
/* Logo */
.logo {
position: fixed;
top: 20px;
left: 20px;
z-index: 99;
}
.logo > img {
width: 70px;
height: 70px;
}
/* Nav */
nav {
position: fixed;
bottom: 25px;
left: 25px;
width: 60px;
display: flex;
flex-direction: column;
align-items: center;
background: #fff;
border-radius: 30px;
box-shadow: 0 3px 12px rgba(0,0,0,0.16);
padding: 9px 0px;
}
.spacer {
width: 32px;
height: 1px;
background: #EAEAEA;
border-radius: 1px;
margin: 5px 0px;
}
.item {
display: flex;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
}
.item > img,
.item > svg {
width: inherit;
height: inherit;
}
/* Color Selector */
.color {
position: absolute;
pointer-events: none;
}
#penColor {
width: inherit;
height: inherit;
-webkit-appearance: none;
appearance: none;
border: none;
outline: none;
}
#penColor:active {
outline: none;
}
#radius {
width: 42px;
height: 42px;
display: flex;
justify-content: center;
align-items: center;
}
#radius > .size {
width: 4px;
height: 4px;
background: #000;
border-radius: 50%;
}
.radius-sizes {
position: absolute;
display: flex;
background: #000;
border-radius: 21px;
height: 42px;
width: 146px;
margin-left: 90px;
align-items: center;
}
.radius-sizes.toggle {
display: none;
}
.radius-sizes > input {
width: 116px;
margin: 0px 15px;
}
.radius-sizes > a {
width: 28px;
height: 28px;
margin: 0px 12px;
}
#penWidth {
-webkit-appearance: none;
height: 4px;
border-radius: 2px;
background: #333333;
outline: none;
-webkit-transition: .2s;
}
#penWidth::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 18px;
height: 18px;
border-radius: 50%;
background: #fff;
cursor: pointer;
}
#penWidthDisplay {
width: 5px;
height: 5px;
max-width: 40px;
max-height: 40px;
border-radius: 50%;
background: black;
}