mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
52 lines
1002 B
CSS
52 lines
1002 B
CSS
header.masthead {
|
|
position: relative;
|
|
background: #343a40 no-repeat center;
|
|
-webkit-background-size: cover;
|
|
-moz-background-size: cover;
|
|
-o-background-size: cover;
|
|
background-size: cover;
|
|
padding-top: 8rem;
|
|
padding-bottom: 8rem;
|
|
min-height: 400px;
|
|
height: 40vh;
|
|
z-index: -2;
|
|
}
|
|
|
|
header.masthead.masthead-shrink {
|
|
-webkit-background-size: contain;
|
|
-moz-background-size: contain;
|
|
-o-background-size: contain;
|
|
background-size: contain;
|
|
}
|
|
|
|
header.masthead .overlay {
|
|
position: absolute;
|
|
background-color: #212529;
|
|
height: 100%;
|
|
width: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
opacity: 0.4;
|
|
z-index: -1;
|
|
}
|
|
|
|
header.masthead .textbox-container {
|
|
background-color: rgba(30, 30, 30, 0.2);
|
|
}
|
|
|
|
header.masthead > .row {
|
|
max-width: 1140px;
|
|
margin: auto;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
header.masthead {
|
|
padding-top: 1rem;
|
|
padding-bottom: 12rem;
|
|
}
|
|
|
|
header.masthead h1 {
|
|
font-size: 3rem;
|
|
}
|
|
}
|