Dryer comment avatar styling
This commit is contained in:
@ -44,26 +44,18 @@ section#comments {
|
|||||||
height: 4rem;
|
height: 4rem;
|
||||||
|
|
||||||
.avatar {
|
.avatar {
|
||||||
all: unset;
|
|
||||||
transition-duration: var(--transition);
|
transition-duration: var(--transition);
|
||||||
transition-property: transform, box-shadow;
|
margin: 0;
|
||||||
box-shadow: var(--edge-highlight), var(--shadow);
|
|
||||||
border-radius: var(--rounded-corner);
|
|
||||||
background-position: 50%;
|
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-color: var(--fg-muted-1);
|
background-color: var(--fg-muted-1);
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
transform: rotate(10deg) scale(1.1);
|
transform: rotate(10deg) scale(1.1);
|
||||||
box-shadow: var(--edge-highlight), var(--shadow-raised);
|
border-radius: var(--rounded-corner);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
transform: scale(var(--active));
|
transform: scale(var(--active));
|
||||||
box-shadow: var(--edge-highlight), var(--shadow);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user