summary refs log tree commit diff
path: root/src/components/layout/layout.module.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/layout/layout.module.css')
-rw-r--r--src/components/layout/layout.module.css34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/components/layout/layout.module.css b/src/components/layout/layout.module.css
new file mode 100644
index 0000000..5b9ccc2
--- /dev/null
+++ b/src/components/layout/layout.module.css
@@ -0,0 +1,34 @@
+main.layout {
+  min-height: 100vh;
+  display: grid;
+  max-width: 1000px;
+  margin: 0 auto;
+  grid-template-columns: 200px 1fr;
+  grid-template-rows: 200px 1fr 100px auto;
+}
+
+.layout header {
+  display: flex;
+  grid-row: 1 / 2;
+  grid-column: 1 / 3;
+}
+
+.layout nav {
+  grid-row: 2 / 3;
+  grid-column: 1 / 2;
+}
+
+.layout article {
+  grid-row: 2 / 3;
+  grid-column: 2 / 3;
+}
+
+.layout footer {
+  grid-column: 1 / 3;
+  grid-row: 3 / 4;
+}
+
+.layout::after {
+  grid-column: 1 / 3;
+  grid-row: 4 / 5;
+}