Remove anchor link

This commit is contained in:
Jesper 2022-09-21 18:02:22 +02:00
parent 3270723d79
commit d5cb6471b1
3 changed files with 13 additions and 11 deletions

View File

@ -15,6 +15,16 @@ li a {
text-align: center text-align: center
} }
.name {
text-align: center;
text-decoration: inherit;
font-weight: 500;
}
.name:hover {
color: #535bf2;
}
body { body {
font-family: Inter, Avenir, Helvetica, Arial, sans-serif; font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px; font-size: 16px;
@ -29,14 +39,6 @@ body {
-moz-osx-font-smoothing: grayscale -moz-osx-font-smoothing: grayscale
} }
.navbar a {
font-weight: 500
}
.navbar a:hover {
color: #535bf2
}
h1 { h1 {
font-size: 3.2em; font-size: 3.2em;
line-height: 1.1 line-height: 1.1
@ -53,7 +55,7 @@ ul {
overflow: hidden overflow: hidden
} }
li a { li .name {
display: block; display: block;
color: #fff; color: #fff;
padding: 14px 16px; padding: 14px 16px;

View File

@ -11,7 +11,7 @@
<div class="navbar"> <div class="navbar">
<ul> <ul>
<li style="float:right"><img alt="avatar" src="{{.DiscordAvatar}}" width="50" height="50px"></li> <li style="float:right"><img alt="avatar" src="{{.DiscordAvatar}}" width="50" height="50px"></li>
<li style="float:right"><a class="active" href="#"><b>{{.DiscordName}}</b></a></li> <li style="float:right"><span class="name"><b>{{.DiscordName}}</b></span></li>
</ul> </ul>
</div> </div>
<div class="login"> <div class="login">

View File

@ -12,7 +12,7 @@
<div class="navbar"> <div class="navbar">
<ul> <ul>
<li style="float:right"><img alt="avatar" src="{{.DiscordAvatar}}" width="50" height="50px"></li> <li style="float:right"><img alt="avatar" src="{{.DiscordAvatar}}" width="50" height="50px"></li>
<li style="float:right"><a class="active" href="#"><b>{{.DiscordName}}</b></a></li> <li style="float:right"><span class="name"><b>{{.DiscordName}}</b></span></li>
</ul> </ul>
</div> </div>
<div class="login"> <div class="login">