Skip to content

Commit 27f9c8b

Browse files
committed
Move navigation buttons to top
1 parent 8b30387 commit 27f9c8b

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

site/index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ <h1 class="title">
2626
</div>
2727
</div>
2828
</section>
29+
<div class="nav-buttons">
30+
<div class="container has-text-centered">
31+
<a class="button is-primary is-rounded is-size-6" href="#">Read the docs</a>
32+
</div>
33+
</div>
2934
<section class="section">
3035
<div class="container is-max-tablet">
3136
<p class="is-size-4">
@@ -60,10 +65,6 @@ <h1 class="title">
6065
(fn handler [_request]
6166
{:body {:results (jdbc/execute! db ["SELECT * FROM items"])}}))</code></pre>
6267
</div>
63-
64-
<div class="container has-text-centered">
65-
<a class="button is-primary is-rounded is-size-5" href="#">Read the docs</a>
66-
</div>
6768
</section>
6869
</body>
6970
</html>

site/style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@
2020
background: #292929;
2121
}
2222

23+
.nav-buttons {
24+
margin-top: -22px;
25+
}
26+
27+
.is-size-4 {
28+
font-size: 1.55rem !important;
29+
}
30+
2331
.is-size-5 {
2432
font-size: 1.35rem !important;
2533
}

0 commit comments

Comments
 (0)