1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-27 14: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:
Rohan Kumar 2021-05-06 11:33:05 -07:00
parent 5374e18afc
commit 558b6844ca
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
3 changed files with 3 additions and 6 deletions

View file

@ -6,6 +6,8 @@
/* IndieWeb u-photo should be distinct from the background */ /* IndieWeb u-photo should be distinct from the background */
.u-photo { .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); -webkit-filter: invert(1);
filter: invert(1); filter: invert(1);
} }

View file

@ -52,11 +52,6 @@ nav li {
margin-bottom: 0.5rem; 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 */ /* single-line nav on widescreen, multi-line nav on narrow screens */
@media (min-width: 28rem) { @media (min-width: 28rem) {
nav li { nav li {

View file

@ -1,7 +1,7 @@
<header id="banner"> <header id="banner">
<nav> <nav>
<ul class="unstyled-list"> <ul class="unstyled-list">
<li class="home"> <li>
<a rel="home" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> <a rel="home" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</li> </li>
{{ range .Site.Menus.main.ByWeight -}} {{ range .Site.Menus.main.ByWeight -}}