feat: add hover effect to article list card, tag cloud and archive list
This commit is contained in:
parent
0eb492edbd
commit
199517d988
@ -11,6 +11,12 @@
|
||||
border-radius: var(--card-border-radius);
|
||||
overflow: hidden;
|
||||
|
||||
transition: box-shadow .3s ease;
|
||||
|
||||
&:hover {
|
||||
@include box_shadow(2);
|
||||
}
|
||||
|
||||
&:not(:last-of-type) {
|
||||
margin-bottom: var(--section-separation);
|
||||
}
|
||||
|
@ -34,6 +34,11 @@
|
||||
margin-bottom: 10px;
|
||||
margin-right: 5px;
|
||||
font-size: 1.4rem;
|
||||
transition: box-shadow 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
@include box_shadow(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -48,12 +53,17 @@
|
||||
border-radius: var(--card-border-radius);
|
||||
@include box_shadow(1);
|
||||
display: flex;
|
||||
transition: box-shadow 0.3s ease;
|
||||
|
||||
@media (max-width: $on-desktop-large){
|
||||
&:hover {
|
||||
@include box_shadow(2);
|
||||
}
|
||||
|
||||
@media (max-width: $on-desktop-large) {
|
||||
padding: 12px 20px;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
|
||||
span.year {
|
||||
flex: 1;
|
||||
color: var(--card-text-color-main);
|
||||
|
Loading…
Reference in New Issue
Block a user