Files
rickvanlieshout.com/src/components/PostHeader/PostHeader.module.scss

54 lines
978 B
SCSS

@use "../../assets/scss/variables" as *;
@use "../../assets/scss/mixins" as *;
.header {
align-items: baseline;
background: $color-bg;
border-bottom: 1px solid #808080;
color: $color-base;
display: flex;
height: 50px;
justify-content: space-between;
margin: auto;
max-width: $layout-post-width;
position: sticky;
top: 0;
z-index: 999;
.title {
font-size: $typographic-base-font-size * 1.125 !important;
font-weight: 600;
line-height: 50px !important;
@include line-height(1.125);
@include margin(0.5, 0, 0.5, 0);
.link {
color: $color-base;
&:hover,
&:focus {
color: $color-base;
}
}
}
.name {
color: $color-base;
}
}
@media only screen and (max-device-width: 400px) {
.surname {
display: none;
}
}
.photo {
background-clip: padding-box;
border-radius: 50%;
display: inline-block;
height: 40px;
margin-top: 5px;
width: 40px;
@include margin-bottom(0);
}