-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
50 lines (41 loc) · 949 Bytes
/
index.css
File metadata and controls
50 lines (41 loc) · 949 Bytes
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
:root { --outline: 0; } /* Outline Mode */
* { box-sizing: border-box; outline: calc(var(--outline) * 1px) dotted gold; }
body {
margin: 0;
padding: 0;
font-family: monospace;
color: #CCC;
font-size: 1.51911em; /* Exactly 30px */
line-height: 1.51911em;
background-color: #333;
}
p { margin: 0 auto; padding: 0; width: max-content; }
section {
width: 100%;
display: flex;
align-items: center;
justify-items: center;
justify-self: center;
}
svg { width: 100%; }
.svgen {
width: 100%;
display: inline-block;
line-height: 0; /* Removes unwanted padding */
color: black; /* used by SVG bounding box */
overflow: hidden;
}
#svgen-ui {
position: absolute;
width: 79%;
height: 100vh;
top: 0;
left: -78.75%;
background: black;
background: linear-gradient(135deg, #444, #333, #222, #111);
border-right: 1px solid gold;
transition-duration: 50ms;
&:hover {
left: -20%;
}
}