forked from color-js/color.js
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gradients.css
54 lines (50 loc) · 797 Bytes
/
gradients.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
:root {
--font-mono: Consolas, Inconsolata, Monaco, monospace;
}
body {
font: 100%/1.5 system-ui;
max-width: 84em;
margin: 1em auto;
padding-inline: 1em;
.gradient {
height: 100px;
display: flex;
> div {
flex: auto;
background: var(--step-color);
}
}
.color-inputs {
display: flex;
justify-content: space-between;
}
.oog .gradient {
height: 15px;
}
.method .info {
display: none;
}
.gradients:not(.flush) {
.method .info {
display: block;
}
}
.gamut-legend {
ul{
list-style: none;
display: flex;
gap: 3em;
padding: 0;
}
.color-block {
height: 1em;
width: 1em;
display: inline-block;
background-color: var(--step-color);
}
}
.footer {
margin-top: 2em;
text-align: center;
}
}