Logos in navigation bar implemented with stylesheet modifications
This commit is contained in:
@@ -33,6 +33,27 @@
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
#favorite-teams-container {
|
||||
margin-right: 25px;
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 28px;
|
||||
height: auto;
|
||||
margin: 0 4px;
|
||||
cursor: pointer;
|
||||
|
||||
transition: width 0.3s ease; /* Adding transition for smooth effect */
|
||||
}
|
||||
|
||||
img:hover {
|
||||
width: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
#user {
|
||||
width: 25px;
|
||||
cursor: pointer;
|
||||
|
||||
@@ -43,7 +43,9 @@
|
||||
|
||||
<div id="favorite-teams-container" class="logos-container">
|
||||
{{#each fav_teams}}
|
||||
<a href="/club/{{this.teamid}}">
|
||||
<img id="teamlogo" src="{{this.teamlogo}}" alt="teamlogo">
|
||||
</a>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user