From babc178e841443e1906e7a1f5136d896ab8bf611 Mon Sep 17 00:00:00 2001 From: Nick Playfair Date: Mon, 22 Feb 2021 21:59:53 +0000 Subject: [PATCH] Basic 2 column layout --- src/index.html | 45 ++++++++++++++++++++++++++------------------- src/style.css | 18 ++++++++++++++++++ 2 files changed, 44 insertions(+), 19 deletions(-) create mode 100644 src/style.css diff --git a/src/index.html b/src/index.html index db1b5ef..7622213 100644 --- a/src/index.html +++ b/src/index.html @@ -1,22 +1,29 @@ - - - - BOM2Table - - + + + + + BOM2Table + + +
+

BOM to Table

+
+
+
+

Upload BOM csv file

+ +
+
+
+
+

Table HTML

+ +
+
+
-

BOM to table

- - -
-
- -

Table HTML

- -
- - - - \ No newline at end of file + + + diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..fccbbdf --- /dev/null +++ b/src/style.css @@ -0,0 +1,18 @@ +header { + margin: 1.5rem; +} +header h1 { + text-align: center; +} +main { + display: flex; + flex-direction: row; + flex-flow: wrap; + min-width: 500px; + max-width: 80vw; + justify-content: space-evenly; +} + +section { + flex 0 0 50%; +} \ No newline at end of file