✨feature: Style main navigation
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -108,12 +108,15 @@ p {
|
|||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
li ul, li ol { margin: 0 1rem; }
|
|
||||||
|
|
||||||
ul { list-style-type: disc; }
|
ul { list-style-type: disc; }
|
||||||
|
|
||||||
|
#main-nav ul { list-style-type: none; }
|
||||||
|
|
||||||
ol { list-style-type: decimal; }
|
ol { list-style-type: decimal; }
|
||||||
|
|
||||||
|
li ul, li ol { margin: 0 1rem; }
|
||||||
|
|
||||||
ol ol { list-style: lower-alpha; }
|
ol ol { list-style: lower-alpha; }
|
||||||
|
|
||||||
ol ol ol { list-style: lower-roman; }
|
ol ol ol { list-style: lower-roman; }
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<!-- <img src="/images/logo.png" alt="Logo" class="h-8 mr-2"> -->
|
<!-- <img src="/images/logo.png" alt="Logo" class="h-8 mr-2"> -->
|
||||||
<h1 class=""><a class="no-underline!" href="/"><%= title %></a></h1>
|
<h1 class=""><a class="no-underline!" href="/"><%= title %></a></h1>
|
||||||
</div>
|
</div>
|
||||||
<nav>
|
<nav id="main-nav" class="flex items-center">
|
||||||
<ul class="flex space-x-4">
|
<ul class="flex space-x-4">
|
||||||
<li><a href="/" class="text-white hover:text-gray-400">Home</a></li>
|
<li><a href="/" class="text-white hover:text-gray-400">Home</a></li>
|
||||||
<li><a href="/about" class="text-white hover:text-gray-400">About</a></li>
|
<li><a href="/about" class="text-white hover:text-gray-400">About</a></li>
|
||||||
|
|||||||
Reference in New Issue
Block a user