Skip to content

Commit

Permalink
commit 4
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioSwitch committed Jul 17, 2024
1 parent 1e7eb19 commit c9a3e6c
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _includes/navbar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<nav>
<ul>
<li><a href="{{ '/' | relative_url }}">Home</a></li>
<li><a href="{{ '/about/' | relative_url }}">About</a></li>
<li><a href="{{ '/docs/' | relative_url }}">Docs</a></li>
<!-- Add more links as needed -->
</ul>
</nav>

14 changes: 14 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ page.title }}</title>
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
</head>
<body>
{% include navbar.html %}
<div class="content">
{{ content }}
</div>
</body>
</html>
31 changes: 31 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
@@ -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;
}

5 changes: 5 additions & 0 deletions docs/minecraft.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
---
layout: default
title: Minecraft Title
---

# Minecraft

0 comments on commit c9a3e6c

Please sign in to comment.