diff options
author | Noah Loomans <noahloomans@gmail.com> | 2017-07-15 15:06:06 +0200 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2017-07-15 15:06:06 +0200 |
commit | f37241eb6327f30f418d9b3b86cac0cfff1348f2 (patch) | |
tree | e9dfba5643139a4576fc15a6a5e48e455b598cd1 | |
parent | 93f7b5c8544057cbb5656e12390d4b97df4cb6e4 (diff) |
Add markdown style lists
-rw-r--r-- | _includes/header.html | 2 | ||||
-rw-r--r-- | style/_markdown.scss | 9 |
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- '; + } +} |