-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
69 lines (61 loc) · 1.08 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
body {
padding: 0;
margin: 0;
background-color: rgb(0, 0, 0);
width: 100vw;
overscroll-behavior: none;
overflow: hidden;
}
button {
padding: 7px 9px;
margin: 10px 3px;
font-size: 18px;
border-radius: 10px;
border: 2px solid white;
color: white;
background-color: rgba(0,0,0,0);
transition: all 0.5s;
}
button:hover {
cursor: pointer;
}
button:active {
background-color: white;
color: black;
}
button:focus {
outline: none;
}
input[type=color] {
border: 2px solid white;
padding: 1px;
background-color: rgba(255, 255, 255, 0.5);
border-radius: 50%;
height: 30px;
width: 30px;
outline: none;
position: absolute;
right: 10px;
top: 15px;
cursor: pointer;
}
input[type="color"]::-webkit-color-swatch-wrapper {
padding: 0;
}
input[type="color"]::-webkit-color-swatch {
border: none;
border-radius: 50%;
}
#random-btn {
width: 30px;
height: 30px;
position: absolute;
right: 47px;
top: 15px;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
transition: all 0.1s;
}
#random-btn:active {
transform: rotate(90deg);
}