Skip to content

Commit 2548aaa

Browse files
committed
сделал навигацию
1 parent e57f520 commit 2548aaa

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

src/includes/home-top.njk

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@
77
<p>Суть конкурса, в первую очередь, в том, чтобы все принимающие участие в нём получили от этого удовольствие и он оставил после себя приятные воспоминания, ну а уже потом — места на пьедестале и денежные призы.</p>
88
</div>
99

10+
<nav class="content__top__nav">
11+
<ul>
12+
<li><a href="{{ '/posts/10-results/' | url }}">результаты</a></li>
13+
<li><a href="{{ '/posts/08-final/' | url }}">финальные версии</a></li>
14+
<li><a href="{{ '/posts/05-demo/' | url }}">демоверсии</a></li>
15+
<li><a href="{{ '/posts/03-theme/' | url }}">тема конкурса</a></li>
16+
</ul>
17+
</nav>
18+
1019
{# <div style="margin-top: 10px;">
1120
<iframe style="border: 0; width: 100%; height: 75px;" src="https://romanshuvalov.com/stuff/web-progress-bar/bar.php?start=2021-07-25-00&finish=2021-08-02-20&title=Two Weeks Game" title="Таймер"></iframe>
1221
</div> #}

src/styles/main.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,27 @@ body {
4545
padding-bottom: 10px;
4646
}
4747

48+
.content__top__nav {
49+
margin-top: 15px;
50+
}
51+
52+
.content__top__nav ul {
53+
padding: 0;
54+
}
55+
56+
.content__top__nav li {
57+
display: inline-block;
58+
list-style: none;
59+
}
60+
61+
.content__top__nav li:not(:first-child) {
62+
margin-left: .25em;
63+
}
64+
65+
.content__top__nav li:not(:first-child)::before {
66+
content: ' · ';
67+
}
68+
4869
.content__blog {
4970
margin-top: 20px;
5071
}

0 commit comments

Comments
 (0)