ui(header): tweak layout on content pages

This commit is contained in:
Jean-Philippe Sirois
2019-08-23 17:13:06 -04:00
parent 7681e159d2
commit eaf2e6edf3
+25 -5
View File
@@ -19,15 +19,30 @@ export const HeaderWrapper = styled.header`
} }
` `
export const TitleWrapper = styled.div`
display: flex;
align-items: center;
margin-bottom: 22px;
.is-home & {
flex-direction: column;
align-items: flex-start;
}
`
export const Title = styled.h1` export const Title = styled.h1`
margin: 32px 0; margin: 0;
font-weight: 700; font-weight: 700;
font-size: 110px; font-size: 50px;
text-transform: uppercase; text-transform: uppercase;
line-height: 1; line-height: 1;
color: #fff; color: #fff;
text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
.is-home & {
margin: 32px 0;
font-size: 110px;
@media screen and (max-width: 991px) { @media screen and (max-width: 991px) {
font-size: 72px; font-size: 72px;
} }
@@ -35,6 +50,7 @@ export const Title = styled.h1`
@media screen and (max-width: 767px) { @media screen and (max-width: 767px) {
font-size: 40px; font-size: 40px;
} }
}
` `
export const FadedBottomWave = styled.div` export const FadedBottomWave = styled.div`
@@ -112,11 +128,15 @@ export const InnerWrapper = styled.div`
` `
export const Logo = styled(TPHLogo)` export const Logo = styled(TPHLogo)`
width: 122px; width: 70px;
height: 122px; margin: 0 15px 0 0;
margin-bottom: 10px;
position: relative; position: relative;
z-index: 3; z-index: 3;
.is-home & {
width: 122px;
margin-bottom: 0 0 10px 0;
}
` `
export const Menu = styled.nav` export const Menu = styled.nav`