Skip to content

Commit

Permalink
Replace the status bar with text mode #6
Browse files Browse the repository at this point in the history
1. Split the copyleft part from footer.html
2. Use the dirty status bar to replace the image.
  • Loading branch information
chusiang committed Mar 23, 2018
1 parent 2eb92e8 commit c813860
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions _includes/copyleft.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<p>Copyleft (ɔ) from 2015-2018 Vim Taiwan CC BY-NC 2.5 TW.</p>
</div>
6 changes: 3 additions & 3 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p>Copyleft (ɔ) from 2015-2018 Vim Taiwan CC BY-NC 2.5 TW.</p>
<img src="images/status_bar.png" class="status_bar">
</div>
<footer>
<div>"vim.html"</div>
</footer>
</body>
</html>
2 changes: 2 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

{{ content }}

{% include copyleft.html %}

{% include footer.html %}
6 changes: 6 additions & 0 deletions style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,9 @@ body {
width: 100%;
}
}

footer {
position: fixed;
bottom: 0;
width: 100%;
}

0 comments on commit c813860

Please sign in to comment.