aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_includes/header.html2
-rw-r--r--style/_markdown.scss9
2 files changed, 10 insertions, 1 deletions
diff --git a/_includes/header.html b/_includes/header.html
index 6c6b8a6..3b0c26e 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -8,7 +8,7 @@
<div class="title">
<div class="name">Noah Loomans</div>
<div class="menu">
- <ul>
+ <ul class='no-markdown'>
<li>const menu = [</li>
<li><a href="/">'Home'</a>,</li>
<li><a href="/projects/">'Projects'</a>,</li>
diff --git a/style/_markdown.scss b/style/_markdown.scss
index 57d17dd..63e53b8 100644
--- a/style/_markdown.scss
+++ b/style/_markdown.scss
@@ -14,3 +14,12 @@ h2::before {
h3::before {
content: '### ';
}
+
+ul:not(.no-markdown) {
+ list-style-type: none;
+ padding-left: 0;
+
+ li::before {
+ content: '\00a0- ';
+ }
+}