Logos in navigation bar implemented with stylesheet modifications
This commit is contained in:
@@ -33,6 +33,27 @@
|
|||||||
font-size: 30px;
|
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 {
|
#user {
|
||||||
width: 25px;
|
width: 25px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|||||||
@@ -43,7 +43,9 @@
|
|||||||
|
|
||||||
<div id="favorite-teams-container" class="logos-container">
|
<div id="favorite-teams-container" class="logos-container">
|
||||||
{{#each fav_teams}}
|
{{#each fav_teams}}
|
||||||
<img id="teamlogo" src="{{this.teamlogo}}" alt="teamlogo">
|
<a href="/club/{{this.teamid}}">
|
||||||
|
<img id="teamlogo" src="{{this.teamlogo}}" alt="teamlogo">
|
||||||
|
</a>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user