owncast/web/components/common/ContentHeader/ContentHeader.module.scss

72 lines
1.1 KiB
SCSS
Raw Normal View History

@import '../../../styles/mixins.scss';
$vert-spacing: 0.75rem;
2022-08-17 03:49:21 +03:00
.root {
position: relative;
display: grid;
padding: var(--content-padding);
2022-08-17 03:49:21 +03:00
}
.row {
margin-bottom: $vert-spacing;
2022-08-17 03:49:21 +03:00
}
.logoTitleSection {
display: flex;
2022-10-22 22:08:38 +03:00
flex-direction: column;
.logo {
margin: auto 0.6rem;
}
@include screen(desktop) {
2022-10-22 22:08:38 +03:00
flex-direction: row;
2022-08-17 03:49:21 +03:00
.logo {
2022-10-22 22:08:38 +03:00
margin: 0.6rem;
2022-08-17 03:49:21 +03:00
}
}
@include screen(tablet) {
align-items: center;
.logo {
margin: 1.2rem auto;
}
}
2022-08-17 03:49:21 +03:00
}
.titleSection {
display: flex;
flex-direction: column;
margin-left: 0.6rem;
@include screen(tablet) {
margin-left: 0;
}
2022-08-17 03:49:21 +03:00
.title {
font-family: var(--theme-text-display-font-family);
color: var(--theme-color-palette-0);
font-size: 1.8rem;
font-weight: 600;
2022-08-17 03:49:21 +03:00
line-height: 30px;
margin: unset;
2022-08-17 03:49:21 +03:00
}
.subtitle {
font-size: 1.15rem;
font-weight: 300;
color: var(--theme-color-palette-0);
2022-09-10 22:08:22 +03:00
max-width: 900px;
margin: $vert-spacing 0;
2022-08-17 03:49:21 +03:00
}
}
.tagList {
color: var(--theme-color-palette-10);
2022-08-17 03:49:21 +03:00
span {
display: inline-block;
margin-right: 0.5rem;
font-weight: 400;
2022-08-17 03:49:21 +03:00
}
}