chore: Sort styles for media (no behaviour changes)

This commit is contained in:
daudix
2024-01-20 19:20:43 +03:00
parent 3e8e9647d8
commit 1d80b2d169

View File

@ -1,19 +1,19 @@
img, img,
video { video {
border-radius: var(--rounded-corner);
box-shadow: var(--shadow);
display: block; display: block;
margin: 2rem auto; margin: 2rem auto;
max-width: 100%; max-width: 100%;
border-radius: var(--rounded-corner);
box-shadow: var(--shadow);
} }
img { img {
transition: var(--transition-longer); transition: var(--transition-longer);
&:not(.no-hover):hover { &:not(.no-hover):hover {
transform: scale(110%);
border-radius: 0; border-radius: 0;
box-shadow: var(--shadow-raised); box-shadow: var(--shadow-raised);
transform: scale(110%);
} }
} }