1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00
docs/src/components/Header.module.scss

68 lines
1.1 KiB
SCSS

@import 'variables';
.header {
background: $brand-black
url('@oceanprotocol/art/jellyfish/jellyfish-back@2x.png') no-repeat
center -4rem;
background-size: cover;
width: 100%;
padding: $spacer / 2 0;
}
.headerContent {
composes: content from './Content.module.scss';
display: flex;
justify-content: space-between;
align-items: center;
}
.headerLogo {
display: flex;
align-items: center;
cursor: pointer;
&:hover,
&:focus,
&:active {
transform: none;
}
}
.headerLogoImage {
width: 4rem;
height: 4rem;
fill: #fff;
margin: 0;
}
.headerTitle {
font-size: $font-size-h3;
color: $brand-grey-light;
margin-left: $spacer / 2;
display: none;
@media (min-width: $break-point--small) {
display: inline-block;
}
}
.headerMenu {
justify-self: flex-end;
}
.section {
display: inline-block;
margin: 0 $spacer / 2;
font-family: $font-family-button;
color: $brand-grey-lighter;
&:last-child {
margin-right: 0;
}
&:hover,
&:focus {
color: $brand-white;
}
}