Files
blog/sass/_media.scss
daudix 5d8b14530b feat: Rewrite nav, improve comment faves/boosts
Also, this is perhaps last featire commit here, I'll merge duckquill and my main site, it can be still used as a theme, it's just will be more convenient
2024-01-17 18:58:49 +03:00

42 lines
604 B
SCSS

img,
video {
display: block;
margin: 2rem auto;
max-width: 100%;
border-radius: var(--rounded-corner);
box-shadow: var(--shadow);
}
img {
transition: var(--transition-longer);
&:not(.no-hover):hover {
transform: scale(125%);
border-radius: 0;
box-shadow: var(--shadow-raised);
}
&:active {
transform: scale(var(--active));
}
@media screen and (max-width: 480px) {
&:not(.no-hover):hover {
transform: scale(110%);
}
}
}
.full {
width: 100%;
}
.pixels {
image-rendering: pixelated;
}
.transparent {
border-radius: 0;
box-shadow: none;
}