Skip to content

Commit

Permalink
Make topbar title a link
Browse files Browse the repository at this point in the history
  • Loading branch information
Osmose committed Nov 28, 2023
1 parent 18a6a18 commit 502b19d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/.templates/default.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<header class="topbar">
<div class="topbar-content">
<h1 class="topbar-title">
<span>Phantomake</span>
<a href="<%- ctx.absolutify('../') %>">Phantomake</a>
</h1>
<nav class="topbar-nav">
<a class="topbar-nav-link <%- output.path === 'index.html' && 'selected' %>" href="<%- ctx.absolutify('../') %>">Overview</a>
Expand Down
5 changes: 5 additions & 0 deletions docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ code:not(.hljs) {
font-weight: 500;
}

.topbar-title a {
color: var(--white);
text-decoration: none;
}

.topbar-nav {
flex: 0 0 auto;
font-size: .8em;
Expand Down

0 comments on commit 502b19d

Please sign in to comment.