mirror of
https://github.com/primer/css.git
synced 2024-12-21 05:01:45 +03:00
69 lines
1.3 KiB
SCSS
69 lines
1.3 KiB
SCSS
.jumbotron {
|
|
position: relative;
|
|
padding-top: $spacer-6;
|
|
padding-bottom: $spacer-6;
|
|
|
|
@include breakpoint(sm) {
|
|
padding-top: $spacer-6 * 1.5;
|
|
padding-bottom: $spacer-6 * 1.5;
|
|
}
|
|
|
|
@include breakpoint(xl) {
|
|
padding-top: $spacer-6 * 3;
|
|
padding-bottom: $spacer-6 * 3;
|
|
}
|
|
}
|
|
|
|
.jumbotron-supertron {
|
|
@include breakpoint(lg) {
|
|
height: 45vw;
|
|
min-height: 590px;
|
|
max-height: 55vh;
|
|
padding-top: $spacer-6 + $spacer-6;
|
|
padding-bottom: $spacer-6 + $spacer-6;
|
|
}
|
|
}
|
|
|
|
.jumbotron-minitron {
|
|
padding-top: $spacer-4;
|
|
padding-bottom: $spacer-4;
|
|
|
|
@include breakpoint(sm) {
|
|
padding-top: $spacer-5;
|
|
padding-bottom: $spacer-5;
|
|
}
|
|
}
|
|
|
|
.jumbotron-shadow {
|
|
// Shadow
|
|
&::after {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 30px;
|
|
content: " ";
|
|
background-color: transparent;
|
|
background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
|
|
background-repeat: repeat-x;
|
|
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
|
|
}
|
|
}
|
|
|
|
.jumbotron-photo {
|
|
position: relative;
|
|
background-color: $gray-dark;
|
|
background-size: cover;
|
|
|
|
&::before {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
content: "";
|
|
background-color: rgba(0, 0, 0, 0.25);
|
|
}
|
|
}
|