-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
86 lines (72 loc) · 1.32 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
:root {
--g1: rgb(98, 0, 234);
--g2: rgb(236, 64, 122);
--accent: rgb(136, 0, 255);
}
body {
margin: 0;
padding: 0;
background-color: black;
color: white;
font-family: Arial, Helvetica, sans-serif;
}
@keyframes background-pan {
from {
background-position: 0% center;
}
to {
background-position: -200% center;
}
}
#canvas {
position: fixed;
z-index: -10;
width: 95vmin;
height: 95vmin;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
animation: background-pan 10s linear infinite;
background: linear-gradient(
to right,
var(--g1),
var(--g2),
var(--g1)
);
background-size: 200%;
}
#input {
margin-left: 10px;
width: 15%;
display: grid;
height: 100vmin;
align-items: center;
}
#input input {
width: 50%;
accent-color: var(--accent);
}
#input button {
background-color: rgb(185, 185, 185);
border: rgb(100, 100, 100) 2px solid;
height: 30px;
}
#input button:hover {
background-color: rgb(141, 181, 210);
}
#randomizeButton {
width: 50%;
}
.inputGroup {
width: 100%;
height: 30px;
display: inline-flex;
margin: 10px;
}
.inputGroup input {
margin-right: 0px;
margin-left: auto;
}
.inputGroup span {
align-self: center;
}