From 6ca51ca6df4c76639175971bf07c402f305111f9 Mon Sep 17 00:00:00 2001 From: zepp Date: Wed, 11 Dec 2024 22:41:32 -0500 Subject: [PATCH] header and footer addition, placement in index.php and styling --- includes/footer.php | 3 +++ includes/header.php | 3 +++ index.php | 2 ++ style/style.css | 15 +++++++++++++++ 4 files changed, 23 insertions(+) create mode 100644 includes/footer.php create mode 100644 includes/header.php diff --git a/includes/footer.php b/includes/footer.php new file mode 100644 index 0000000..faecd8b --- /dev/null +++ b/includes/footer.php @@ -0,0 +1,3 @@ + diff --git a/includes/header.php b/includes/header.php new file mode 100644 index 0000000..951e0c7 --- /dev/null +++ b/includes/header.php @@ -0,0 +1,3 @@ +
+ emma's place - a celebration of self-expression through the personal web +
diff --git a/index.php b/index.php index 774b124..cce59ce 100644 --- a/index.php +++ b/index.php @@ -9,6 +9,7 @@
+

welcome to emma's place

@@ -61,6 +62,7 @@
  • walk with me for a moment
  • +
    diff --git a/style/style.css b/style/style.css index cdd770e..f6e4348 100644 --- a/style/style.css +++ b/style/style.css @@ -19,6 +19,21 @@ body { main { display: grid; grid-template-columns: 1fr 2fr; + grid-template-rows: 1fr 2fr 1fr; +} + +header { + grid-column: 1/3; + grid-row: 1/2; +} + +footer { + grid-column: 1/3; + grid-row: 4/5; +} + +nav { + grid-column: 1/2; } section {