-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
110 lines (98 loc) · 1.86 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Raleway', Sans-Serif;
background-color: #242424;
color: #fff;
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
main {
width: 430px;/*auto ou 430 no media*/
height: 932px;
background-color: #151515;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 52px;
position: relative;
overflow: hidden;
}
span {
font-size: 30px;
line-height: 38px;
text-align: center;
margin: 350px 0px 100px;
}
i {
font-size: 24px;
}
main .controls {
display: flex;
flex-direction: column;
align-items: center;
width: 321px;
gap: 82px;
}
.hue, .brightness, .contrast {
display: flex;
align-items: center;
gap: 16px;
}
.hue>div, .brightness>div, .contrast>div {
display: flex;
align-items: center;
/*height: 5px;*/
border-radius: 12px;
background-color: #fff;
}
.hue>div {
background: linear-gradient(to right,
red,
yellow,
lime,
aqua,
blue,
magenta,
red);
}
input[type="range"] {
width: 281px;
height: 5px;
appearance: none;
background-color: transparent;
}
.hue>div>input[type="range"]::-webkit-slider-thumb,
.brightness>div>input[type="range"]::-webkit-slider-thumb,
.contrast>div>input[type="range"]::-webkit-slider-thumb {
width: 18px;
height: 18px;
border: 3px solid #fff;
border-radius: 50%;
background-color: transparent;
appearance: none;
cursor: pointer;
display: flex;
align-items: center;
}
.brightness>div>input[type="range"]::-webkit-slider-thumb,
.contrast>div>input[type="range"]::-webkit-slider-thumb {
background-color: #151515;
}
main .preview {
display: flex;
width: 846px;
height: 846px;
background-color: red;
border-radius: 50%;
box-shadow: 0px 0px 53px 13px red;
position: absolute;
top: -500px;
}