-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
101 lines (89 loc) · 1.56 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
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);
}
.slider {
position: absolute;
top: 20px;
right: 50%;
width: 110px;
transform: translateX(50%);
}
#myRange {
appearance: none;
width: 100%;
height: 15px;
background: #5a5a5a;
outline: none;
border-radius: 10px;
}
#myRange::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
background: #bebebe;
border-radius: 100%;
cursor: pointer;
}
a, a:hover, a:visited, a:active {
color: inherit;
text-decoration: none;
}