-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
105 lines (85 loc) · 1.25 KB
/
index.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
:root {
color: #ddd;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #222;
height: 99vh;
padding: 5px;
}
input[type=color] {
height: 30px;
width: 50px;
}
:invalid {
outline: solid 2px red;
}
.borderless {
background: none;
border: none;
cursor: pointer;
}
div#page {
height: 100%;
position: relative;
}
h1#marbelous {
position: absolute;
}
div#svg-container {
height: 100%;
& svg {
height: 100%;
width: 100%;
}
}
div#downloads {
bottom: 10px;
left: 10px;
position: fixed;
& button#download-png, button#download-svg {
padding: .5em;
}
}
button#generate {
bottom: 10px;
padding: .5em;
position: fixed;
right: 10px;
}
details#settings_container {
cursor: default;
position: absolute;
right: 10px;
top: 0;
width: 200px;
summary {
margin-bottom: 1rem;
}
& div#settings_controls {
display: grid;
grid-template-columns: 3fr 4fr;
row-gap: .8rem;
}
& input#settings_complexity {
width: 50px;
}
& input#settings_curveness {
width: 100%
}
& button#settings_add-color {
color: lightgreen;
font-size: 1.3em;
}
& div#settings_colors * {
vertical-align: middle;
& button.remove-color {
font-size: .7rem;
}
}
}