Compare commits

...

3 Commits

8 changed files with 44 additions and 9 deletions

5
_includes/footer.html Normal file
View File

@ -0,0 +1,5 @@
<footer class="main-footer">
<ul class="inline-list">
<li><a href="https://tildegit.org/iris/neotel-website" target="_blank">website source</a></li>
</ul>
</footer>

7
_includes/nav.html Normal file
View File

@ -0,0 +1,7 @@
<nav class="main-nav">
<ul class="inline-list">
<li><a href="{{ site.baseurl }}/"><strong>{{ site.name }}</strong></a></li>
<li><a href="{{ site.baseurl }}/phonebook/">phonebook</a></li>
<li><a href="{{ site.baseurl }}/the-original/">the original</a></li>
</ul>
</nav>

View File

@ -8,5 +8,7 @@
</head>
<body>
{{ content }}
{% include footer.html %}
</body>
</html>

View File

@ -3,13 +3,7 @@ layout: base
---
<div class="container">
<nav class="main-nav">
<ul class="inline-list">
<li><a href="{{ site.baseurl }}/"><strong>{{ site.name }}</strong></a></li>
<li><a href="{{ site.baseurl }}/phonebook/">phonebook</a></li>
<li><a href="{{ site.baseurl }}/the-original/">the original</a></li>
</ul>
</nav>
{% include nav.html %}
<main>
<h1>{{ page.title }}</h1>

17
_sass/footer.scss Normal file
View File

@ -0,0 +1,17 @@
.main-footer
{
display: flex;
flex-flow: row wrap;
justify-content: center;
align-items: center;
margin: 1rem 0;
font-size: 0.8rem;
color: #888;
a
{
color: inherit;
}
}

View File

@ -3,7 +3,6 @@
height: 100%;
min-height: 100vh;
width: 100%;
min-width: 100vw;
max-width: 100vw;
display: flex;

View File

@ -7,4 +7,3 @@
margin: 0 0 1rem 0;
}

View File

@ -22,6 +22,17 @@ body
font-family: sans-serif;
}
a
{
color: #007fff;
&:hover,
&:focus
{
text-decoration-thickness: 2px;
}
}
.container
{
height: 100%;
@ -33,6 +44,7 @@ body
}
@import 'nav';
@import 'footer';
@import 'table';
@import 'utils';
@import 'index';