🐛 Improve navigation

This commit is contained in:
Kazhnuz 2025-08-23 00:31:42 +02:00
parent 0923f5dd10
commit 4401edf38b
2 changed files with 8 additions and 3 deletions

View file

@ -48,6 +48,7 @@ header#main-header {
padding:8px; padding:8px;
a { a {
color:white!important; color:white!important;
outline-color: white;
border-radius: var(--border-radius); border-radius: var(--border-radius);
padding:8px; padding:8px;
} }
@ -184,6 +185,10 @@ article {
margin: 0 0 1rem 0 margin: 0 0 1rem 0
} }
.no-margin {
margin: 0;
}
p:last-child { p:last-child {
margin-bottom: 0 margin-bottom: 0
} }

View file

@ -49,11 +49,11 @@
<div class="author-identity"> <div class="author-identity">
<img alt="" class="avatar u-photo photo" src="<?php echo ($page->user('profilePicture'));?>" height="64" width="64" decoding="async"> <img alt="" class="avatar u-photo photo" src="<?php echo ($page->user('profilePicture'));?>" height="64" width="64" decoding="async">
<div class="author-metadata"> <div class="author-metadata">
<div class="author-pseudo"> <p class="author-pseudo no-margin">
Écrit par <a href="<?php echo $page->user('authorUri'); ?>" class="p-name fn"><?php echo $page->user('displayName'); ?></a> Écrit par <a href="<?php echo $page->user('authorUri'); ?>" class="p-name fn"><?php echo $page->user('displayName'); ?></a>
<span class="pill p-pronouns"><?php echo $page->user('pronouns'); ?></span> <span class="pill p-pronouns"><?php echo $page->user('pronouns'); ?></span>
</div> </p>
<div class="p-note note"><?php echo $page->user('description'); ?></div> <p class="p-note note no-margin"><?php echo $page->user('description'); ?></p>
</div> </div>
</div> </div>
<ul class="author-links"> <ul class="author-links">