From c9a3e6c8c4bad2dffc7b69da703da56ca5b4180e Mon Sep 17 00:00:00 2001 From: MarioSwitch Date: Wed, 17 Jul 2024 17:37:28 +0200 Subject: [PATCH] commit 4 --- _includes/navbar.html | 9 +++++++++ _layouts/default.html | 14 ++++++++++++++ assets/css/style.css | 31 +++++++++++++++++++++++++++++++ docs/minecraft.md | 5 +++++ 4 files changed, 59 insertions(+) create mode 100644 _includes/navbar.html create mode 100644 _layouts/default.html create mode 100644 assets/css/style.css diff --git a/_includes/navbar.html b/_includes/navbar.html new file mode 100644 index 0000000..8ac8633 --- /dev/null +++ b/_includes/navbar.html @@ -0,0 +1,9 @@ + + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..15b7e21 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,14 @@ + + + + + {{ page.title }} + + + + {% include navbar.html %} +
+ {{ content }} +
+ + diff --git a/assets/css/style.css b/assets/css/style.css new file mode 100644 index 0000000..ec6bec7 --- /dev/null +++ b/assets/css/style.css @@ -0,0 +1,31 @@ +nav { + background-color: #333; + overflow: hidden; + } + + nav ul { + list-style-type: none; + margin: 0; + padding: 0; + } + + nav ul li { + float: left; + } + + nav ul li a { + display: block; + color: white; + text-align: center; + padding: 14px 16px; + text-decoration: none; + } + + nav ul li a:hover { + background-color: #111; + } + + .content { + padding: 20px; + } + \ No newline at end of file diff --git a/docs/minecraft.md b/docs/minecraft.md index d918f85..af887cf 100644 --- a/docs/minecraft.md +++ b/docs/minecraft.md @@ -1 +1,6 @@ +--- +layout: default +title: Minecraft Title +--- + # Minecraft \ No newline at end of file