1
0
Fork 0
forked from alemi/upub

fix: title is also link

This commit is contained in:
əlemi 2024-04-15 18:22:16 +02:00
parent eb99317e4a
commit cf7322dabb
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 8 additions and 1 deletions

View file

@ -18,6 +18,13 @@
--main-col-percentage: 70%; --main-col-percentage: 70%;
} }
.hidden { display: none; } .hidden { display: none; }
a.upub-title {
color: var(--primary);
text-decoration: none;
}
a.upub-title:hover {
text-decoration: underline;
}
img.avatar-circle { img.avatar-circle {
display: inline; display: inline;
max-height: 2em; max-height: 2em;

View file

@ -15,7 +15,7 @@ fn main() {
move || view! { move || view! {
<nav class="w-100"> <nav class="w-100">
<p> <p>
<code>μpub</code> <code><a class="upub-title" href="/web" >μpub</a></code>
<small class="ml-1 mr-1" ><a class="clean" href="/web" >micro social network, federated</a></small> <small class="ml-1 mr-1" ><a class="clean" href="/web" >micro social network, federated</a></small>
/* TODO kinda jank with the float but whatever, will do for now */ /* TODO kinda jank with the float but whatever, will do for now */
<small style="float: right" ><a href="https://git.alemi.dev/upub.git" >src</a></small> <small style="float: right" ><a href="https://git.alemi.dev/upub.git" >src</a></small>