-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
129 lines (111 loc) · 2.12 KB
/
styles.css
File metadata and controls
129 lines (111 loc) · 2.12 KB
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
:root {
--blur: 0px;
--brightness: 1;
--contrast: 100%;
--hue: 0deg;
--invert: 0%;
--opacity: 1;
--saturate: 100%;
}
* {
box-sizing: border-box;
font-family: 'Open-sans', sans-serif;
text-transform: uppercase;
}
html, body {
margin: 0;
padding: 0;
}
h1 {
font-size: 2.5em;
margin: 0 0 20px 0;
text-align: center;
}
img {
filter: invert(var(--invert)) contrast(var(--contrast)) opacity(var(--opacity)) blur(var(--blur)) hue-rotate(var(--hue)) saturate(var(--saturate)) brightness(var(--brightness));
margin: auto;
max-width: 550px;
width: 100%;
}
.Variables {
display: flex;
flex-direction: column;
height: 100vh;
overflow: hidden;
padding: 15px;
width: 100vw;
}
.Variables-controls {
display: grid;
font-size: .8em;
font-weight: 100;
grid-column-gap: 30px;
grid-row-gap: 15px;
grid-template-columns: 1fr 1fr;
letter-spacing: 1px;
margin: auto;
padding: 25px;
width: calc(100vw - 200px);
}
.Variables-image {
margin: auto;
}
/* Range Input Styles */
input[type=range] {
background: transparent;
width: 100%;
-webkit-appearance: none;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
}
input[type=range]:focus {
outline: none;
}
input[type=range]::-ms-track {
background: transparent;
border-color: transparent;
color: transparent;
cursor: pointer;
width: 100%;
}
input[type=range]::-webkit-slider-thumb {
background: #222;
border-radius: 5px;
height: 10px;
margin-top: -4px;
width: 10px;
}
input[type=range]::-moz-range-thumb {
background: #222;
border-radius: 5px;
height: 10px;
width: 10px;
}
input[type=range]::-ms-thumb {
background: #222;
border-radius: 5px;
height: 10px;
width: 10px;
}
input[type=range]::-webkit-slider-runnable-track {
background: #fff;
border: 1px solid #222;
border-radius: 2px;
height: 4px;
width: 100%;
}
input[type=range]::-moz-range-track {
background: #fff;
border: 1px solid #222;
border-radius: 2px;
height: 4px;
width: 100%;
}
input[type=range]::-ms-track {
background: #fff;
border: 1px solid #222;
border-radius: 2px;
height: 4px;
width: 100%;
}