-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
66 lines (59 loc) · 913 Bytes
/
styles.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
/* styles.css */
body {
margin: 0;
}
.outsideWrapper {
width: 100%;
/*min-width: 224px;*/
max-width: 384px;
max-height: 384px;
height: 0;
padding-bottom: 100%; /* Maintain a 1:1 aspect ratio */
position: relative;
}
.insideWrapper {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
canvas {
position: absolute;
top: 0;
left: 0;
display: block;
margin: auto;
border: 1px solid black;
width: 100%;
height: 100%;
max-width: 384px;
max-height: 384px;
}
.viz {
width: 100%;
height: 100%;
}
.canvasBGImage {
position: absolute;
top: 0;
left: 0;
display: block;
margin: auto;
width: 100%;
height: 100%;
max-width: 384px;
max-height: 384px;
}
.flex {
display: flex;
justify-content: center;
padding-bottom: 30px;
max-width: 384px;
}
.flexWrapper {
display: block;
flex-basis: 0;
flex-grow: 1;
flex-shrink: 1;
}