mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
Unbold home link
It says "Home". That's enough to know it navigates to the homepage. Bolding it makes it look like it's the current page.
This commit is contained in:
parent
5374e18afc
commit
558b6844ca
3 changed files with 3 additions and 6 deletions
|
@ -6,6 +6,8 @@
|
|||
|
||||
/* IndieWeb u-photo should be distinct from the background */
|
||||
.u-photo {
|
||||
/* Versions of Samsung Internet released recently as 2017 need this
|
||||
* prefix, along with Qt4-based QtWebkit used in e.g. rekonq */
|
||||
-webkit-filter: invert(1);
|
||||
filter: invert(1);
|
||||
}
|
||||
|
|
|
@ -52,11 +52,6 @@ nav li {
|
|||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
/* Make the home link bold to serve as a site heading */
|
||||
.home {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* single-line nav on widescreen, multi-line nav on narrow screens */
|
||||
@media (min-width: 28rem) {
|
||||
nav li {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<header id="banner">
|
||||
<nav>
|
||||
<ul class="unstyled-list">
|
||||
<li class="home">
|
||||
<li>
|
||||
<a rel="home" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
|
||||
</li>
|
||||
{{ range .Site.Menus.main.ByWeight -}}
|
||||
|
|
Loading…
Reference in a new issue