-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
172 lines (128 loc) · 2.3 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
:root {
background-color: lightgray;
font-family: 'Josefin Sans', sans-serif;
}
body, h1, h2, h3, h4, h5, h6, p, canvas {
margin: 0px;
padding: 0px;
}
h1 {
margin-bottom: 0.5em;
}
h2 {
margin-bottom: 0.25em;
}
p {
margin-bottom: 0.5em;
}
a {
text-decoration: none;
font-weight: bold;
color: #AC91F7;
}
.right-aligned {
text-align: right;
}
.container {
display: flex;
flex-direction: row;
flex-shrink: 0px;
height: 100%;
}
.sidebar-container {
height: calc(100%-40px);
width: 25%;
background-color: white;
padding: 20px;
margin: 10px 5px 10px 10px;
}
.text-section {
margin-bottom: 1em;
}
.file-input {
display: flex;
flex-direction: column;
margin-bottom: 1em;
}
.file-input div {
margin: 3px 0px;
}
button {
font-family: inherit;
font-size: inherit;
border: none;
padding: 2px 8px 0px 8px;
background-color: lightgray;
cursor: pointer;
}
button:hover {
background-color: rgb(200, 200, 200);
}
.results-container {
height: calc(100%-40px);
width: 75%;
background-color: white;
padding: 30px;
margin: 10px 10px 10px 5px;
}
.results-container-reverse {
height: calc(100%-40px);
width: 75%;
background-color: white;
padding: 125px 30px;
margin: 10px 10px 10px 5px;
}
.input {
width: 100%;
}
.input-group {
width: 50%;
margin: 10px auto 50px;
}
.results {
display: flex;
flex-direction: column;
width: 100%;
}
.results-horizontal {
display: flex;
flex-direction: row;
justify-content: center;
width: 100%;
}
.line-results-group {
width: 514px;
margin: 10px auto;
}
.square-results-group {
width: 257px;
margin: 10px auto;
}
canvas {
border: 1px solid black;
display: block;
image-rendering: pixelated;
image-rendering: crisp-edges;
}
.input-group canvas.square-image {
width: 255px;
height: 255px;
margin-left: auto;
margin-right: auto;
display: block;
}
.input-group canvas.line-image {
width: 512px;
height: 50px;
margin: 10px auto;
}
.line-results-group canvas.line-image {
width: 512px;
height: 50px;
margin: 10px 0px;
}
.square-results-group canvas.square-image {
width: 255px;
height: 255px;
margin: 10px 0px;
}