popov.link/_scss/components/theme/_image.scss
Valentin Popov b69ef27a48
Add style image
Signed-off-by: Valentin Popov <info@valentineus.link>
2018-04-25 01:43:07 +04:00

30 lines
378 B
SCSS

@import 'utilities/boxshadow';
img {
max-width: 100%;
width: auto;
&:hover {
@include box-shadow(0 0 10px rgba(0, 0, 0, .5));
}
}
.fullscreen {
background: rgba(0, 0, 0, .5);
display: none;
height: 100%;
left: 0;
position: fixed;
text-align: center;
top: 0;
width: 100%;
&:target {
display: block;
}
img {
margin-top: 10rem;
}
}