python-gallery/gallery/user/themes/default/ui/main.scss

54 lines
927 B
SCSS
Raw Normal View History

main {
margin: 0;
padding: 0;
background-color: $black100;
color: $white100;
min-height: 100vh;
overflow-y: auto;
box-sizing: border-box;
header {
margin: 0;
padding: 0;
width: 100%;
height: 40vh;
position: relative;
background-color: $black200;
border-radius: $rad;
box-sizing: border-box;
img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
filter: blur(0.5rem);
object-fit: cover;
object-position: center 0px;
}
span {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: linear-gradient(to bottom, #00000000, rgba($black100, 1));
z-index: +1;
}
}
}