add link hover style to social icons
This commit is contained in:
parent
a10cac8183
commit
5b8b8241f3
|
@ -36,14 +36,24 @@
|
|||
padding: 12px 0;
|
||||
}
|
||||
|
||||
.social-icons a {
|
||||
display: inline-block;
|
||||
line-height: 20px;
|
||||
transition: var(--link-transition);
|
||||
}
|
||||
|
||||
.social-icons a:not(:last-of-type) {
|
||||
margin-inline-end: 12px;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.social-icons a svg {
|
||||
height: 26px;
|
||||
width: 26px;
|
||||
}
|
||||
.social-icons a:hover {
|
||||
color: var(--link-hover-color);
|
||||
box-shadow: var(--link-hover-underline-shadow);
|
||||
}
|
||||
|
||||
code {
|
||||
direction: ltr;
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
.entry-header h2 {
|
||||
font-size: 24px;
|
||||
line-height: 1.3;
|
||||
transition: all 0.3s ease;
|
||||
transition: var(--link-transition);
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
--link-underline-shadow: 0 1px 0 var(--link-color);
|
||||
--link-hover-underline-color: #6549c0;
|
||||
--link-hover-underline-shadow: 0 2px 0 var(--link-hover-underline-color);
|
||||
--link-transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.dark {
|
||||
|
|
Loading…
Reference in New Issue