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