aboutsummaryrefslogtreecommitdiffhomepage
path: root/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'style.css')
-rw-r--r--style.css50
1 files changed, 50 insertions, 0 deletions
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..364ae86
--- /dev/null
+++ b/style.css
@@ -0,0 +1,50 @@
+html, body {
+ padding: 0;
+ margin: 0;
+ width: 100%;
+ background-color: #fafafa;
+}
+
+main {
+ width: min(80vh, 90vw);
+ display: flex;
+ align-items: center;
+ justify-content: space-around;
+ flex-direction: column;
+ margin: 0 auto;
+}
+
+main > * {
+ width: 100%;
+ margin: 16px;
+}
+
+canvas {
+ max-height: min(80vh, 90vw);
+ max-width: 100%;
+ width: auto;
+ flex-basis: auto;
+ border: 1px solid black;
+}
+
+input#slider {
+ width: 100%;
+ opacity: 0;
+}
+
+input#term {
+ width: 100%;
+ font-size: 2em;
+}
+
+button#render {
+ width: 100%;
+ height: 3em;
+ font-size: 2em;
+}
+
+.inputWrap {
+ display: block;
+ margin: 0 auto;
+ width: fit-content;
+}