32 lines
438 B
SCSS
32 lines
438 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(110%);
|
|
border-radius: 0;
|
|
box-shadow: var(--shadow-raised);
|
|
}
|
|
}
|
|
|
|
.full {
|
|
width: 100%;
|
|
}
|
|
|
|
.pixels {
|
|
image-rendering: pixelated;
|
|
}
|
|
|
|
.transparent {
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
}
|