Files
blog/sass/_media.scss
daudix d0eaa63568 Change indenting to 1 tab (4 spaces)
It's more readable this way
2024-02-27 18:38:23 +03:00

36 lines
475 B
SCSS

img,
video {
border-radius: var(--rounded-corner);
box-shadow: var(--shadow);
display: block;
margin: 1rem auto;
max-width: 100%;
&.full {
width: 100%;
}
&.pixels {
image-rendering: pixelated;
}
&.transparent {
border-radius: 0;
box-shadow: none;
}
}
img {
transition: var(--transition-longer);
&:not(.no-hover) {
cursor: zoom-in;
}
&:not(.no-hover):hover {
border-radius: 0;
box-shadow: var(--shadow-raised);
transform: scale(1.1);
}
}