mess with the header some more

This commit is contained in:
2023-03-01 00:17:17 +10:30
parent 13ccf0cb00
commit 20c7de0872
3 changed files with 9 additions and 5 deletions

View File

@ -73,12 +73,16 @@ a:hover {
/* seems like this doesnt always wowrk */ /* seems like this doesnt always wowrk */
a:has(img):hover, a:has(img):hover,
a:has(+ img):hover { a:hover:has(+ img):hover,
transform: none; a:hover:has(img):hover,
a:has(+ img):hover,
.profile-img-link:hover,
a.profile-img-link:hover important {
transform: translate(0);
} }
hr { hr {
border-top: 5px solid var(--border); border-top: 2px solid var(--border);
} }
body { body {

View File

@ -23,7 +23,7 @@
<header>{% include 'partials/header.njk' %}</header> <header>{% include 'partials/header.njk' %}</header>
<hr/> <hr/>
<article> <article>
<h2>{{ title }}</h2> {# <h2>{{ title }}</h2> #}
{{ content | safe }} {{ content | safe }}
</article> </article>
</div> </div>

View File

@ -1,4 +1,4 @@
<a href="/"> <a href="/" class="profile-img-link">
<img class="profile-img" src="/img/cropped.png"/> <img class="profile-img" src="/img/cropped.png"/>
</a> </a>
<div class="sidebar-contents"> <div class="sidebar-contents">