blob: 324623886d2bf4eff32ee2b87b67ce62d20c8585 [file] [log] [blame]
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
@import "media";
#header {
position: relative;
margin: 123px -20px 0;
min-height: calc(100vh - 123px);
}
#header-canvas {
padding: 0;
margin: 0;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
.text-area {
max-width: 706px;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
&--header {
@extend .header__large--greyish-brown;
text-align: center;
margin-bottom: 20px;
}
&--subheader {
@extend .subtitle__large--brownish-grey;
font-weight: normal !important;
text-align: center;
margin-bottom: 20px;
}
}
canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
}
@media (min-width: $fullhd) {
#header-canvas {
.text-area {
&--header {
font-size: 90px;
}
}
}
}
@media (max-width: $tablet) {
#header {
margin: 77px -20px 0;
min-height: calc(100vh - 77px);
}
#header-canvas {
.text-area {
max-width: 450px;
&--header {
margin-bottom: 14px;
}
&--subheader {
margin-bottom: 26px;
}
}
}
}
@media (max-width: $mobile) {
#header-canvas {
.text-area {
max-width: 290px;
&--header {
font-size: 48px !important;
line-height: 1.25 !important;
}
&--subheader {
font-size: 16px !important;
line-height: 1.63 !important;
}
}
}
}