Skip to content

Commit 1dc5db3

Browse files
Add hover animation effect.
1 parent a27dfd1 commit 1dc5db3

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/header.go

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,16 @@ const headerTemplate = `
8282
}
8383
.icon {
8484
height: 1em;
85-
margin-right: 0.5em;
85+
width: 1em;
86+
display: inline-block;
87+
border-radius: 50%;
88+
transition: background-color 0.3s ease;
89+
padding: 0.5em;
90+
overflow: visible;
91+
}
92+
.icon:hover {
93+
background-color: #ffb772;
94+
cursor: pointer;
8695
}
8796
.icons {
8897
float: right;

0 commit comments

Comments
 (0)