mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Add ease transition for links (#469)
This commit is contained in:
committed by
GitHub
parent
4e9dba0df5
commit
3181d37946
@@ -26,6 +26,7 @@ a {
|
||||
font-weight: 300;
|
||||
color: $link-color;
|
||||
text-decoration: none;
|
||||
transition: all .25s ease-in;
|
||||
&:focus,
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
|
||||
@@ -6,13 +6,15 @@
|
||||
font-size: 1.6em;
|
||||
a {
|
||||
display: block;
|
||||
text-align: center;
|
||||
width: 3.0rem;
|
||||
height: 3.0rem;
|
||||
color: $alt-fg-color;
|
||||
background-color: $alt-bg-color;
|
||||
font-size: 2.0rem;
|
||||
padding: 0.5rem;
|
||||
border-radius: 0.5rem;
|
||||
opacity: 50%;
|
||||
transition: opacity 0.5s, color 0.5s;
|
||||
transition: all .25s ease-in;
|
||||
&:hover, &:focus {
|
||||
color: $link-color;
|
||||
opacity: 100%;
|
||||
|
||||
Reference in New Issue
Block a user