-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
101 lines (86 loc) · 1.23 KB
/
main.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
html {
background-color: #1E1E1E;
color: white;
font-family: consolas;
}
h1 {
text-align: center;
}
p {
margin: auto;
}
.horizontal {
display: flex;
flex-direction: row;
justify-content: space-around;
flex-wrap: wrap;
}
.axis_config {
margin-bottom: 4px;
}
.axis_config > div {
margin: 2px;
display: flex;
flex-direction: row;
}
.axis_config input {
margin: auto;
margin-left: 1em;
}
#formule_view_container {
display: flex;
flex-direction: column;
justify-content: space-around;
width: 80%;
}
input {
background-color: inherit;
border: 1px #555 solid;
color: white;
}
input[type="number"] {
width: 80px;
}
canvas {
margin: auto;
display: flex;
width: 100%;
image-rendering: pixelated;
}
@media (min-width: 400px) and (max-width: 800px) {
canvas {
width: calc(75% + 100px);
}
}
@media (min-width: 800px) and (max-width: 1200px) {
canvas {
width: calc(50% + 300px);
}
}
@media (min-width: 1200px) {
.axis_config {
flex-direction: column;
}
#formule_view_container {
flex-direction: row;
}
canvas {
width: 50%;
}
}
ul {
margin: 0;
padding: 0;
}
.multicolumn {
columns: 2;
}
.multicolumn > li {
width: 100%;
margin-left: 40px;
}
button {
background-color: inherit;
color: white;
margin: auto;
}