-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstyle.css
78 lines (66 loc) · 1.25 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
body {
background: hsl(152.32 0% 46.63%); /* lab(50% 0 0) */
font: 120%/1.5 Helvetica Neue, Helvetica, Segoe UI, sans-serif;
width: fit-content;
width: 50em;
max-width: 90vw;
margin: 1em auto;
color: white;
}
input {
font: inherit;
box-sizing: border-box;
}
.inputs input[type="text"] {
width: 100%;
border: 5px solid var(--color);
border-right-width: 2em;
background: hsla(0 0% 100% / .5);
color: black;
font-size: 150%;
padding: 0 .2em;
}
.inputs label {
display: block;
}
#output {
margin-top: 1em;
}
[property="gradient"] {
background: var(--gradient);
padding: 2em;
color: black;
}
[property="gradient"] details {
padding: .5em;
background: hsl(0 0% 100% / .5);
}
[property="gradient"] details input,
[property="gradient"] details textarea {
background: hsl(0 0% 100% / .5);
border: 1px solid white;
}
input[type=number] {
width: 4em;
padding: 0 .2em;
font-weight: bold;
}
textarea {
display: block;
margin-top: .5em;
width: 100%;
font: 80%/1.4 Consolas, Monaco, monospace;
height: 7em;
}
[property="step"] {
padding: .4em;
background: var(--color);
font-weight: bold;
font-size: 90%;
}
[property="step"] code {
font-family: Consolas, Monaco, monospace;
}
meta[property][mv-mode="edit"] {
display: none;
}