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

78 lines
1.2 KiB
SCSS
Raw Normal View History

2023-06-21 06:56:37 +03:00
@import '../../../styles/mixins';
$vert-spacing: 0.75rem;
2022-08-17 03:49:21 +03:00
.root {
position: relative;
display: grid;
padding: var(--content-padding);
padding-left: var(--content-padding);
padding-right: var(--content-padding);
padding-top: calc(var(--content-padding) * 0.5);
color: var(--theme-color-components-text-on-light);
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;
2023-06-21 06:56:37 +03:00
2022-10-22 22:08:38 +03:00
.logo {
margin: auto 0.6rem;
}
@include screen(desktop) {
2022-10-22 22:08:38 +03:00
flex-direction: row;
2023-06-21 06:56:37 +03:00
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;
2023-06-21 06:56:37 +03:00
.logo {
margin: 1.2rem auto;
}
}
2022-08-17 03:49:21 +03:00
}
.titleSection {
display: flex;
flex-direction: column;
margin-left: 0.6rem;
2023-06-21 06:56:37 +03:00
@include screen(tablet) {
margin-left: 0;
}
2022-08-17 03:49:21 +03:00
.title {
font-family: var(--theme-text-display-font-family);
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;
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
}
}