Files
dspace-angular/themes/mantis/app/+home-page/home-page.component.scss

53 lines
1.2 KiB
SCSS

@import 'src/app/+home-page/home-page.component.scss';
div.background-image {
color: white;
background-color: $info;
position: relative;
background-position-y: -200px;
background-image: url('/assets/images/banner.jpg');
background-size: cover;
@media screen and (max-width: map-get($grid-breakpoints, lg)) {
background-position-y: 0;
}
.container {
position: relative;
text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
&:before, &:after {
content: '';
display: block;
width: $banner-background-gradient-width;
height: 100%;
top: 0;
position: absolute;
}
&:before {
background: linear-gradient(to left, $banner-text-background, transparent);
left: -$banner-background-gradient-width;
}
&:after {
background: linear-gradient(to right, $banner-text-background, transparent);
right: -$banner-background-gradient-width;
}
background-color: $banner-text-background;
}
small.credits {
a {
color: inherit;
}
opacity: 0.3;
position: absolute;
right: $spacer;
bottom: 0;
}
}