lbry.tech/app/sass/pages/_page.scss

55 lines
935 B
SCSS
Raw Normal View History

2018-05-08 22:55:33 +02:00
.page {
2018-10-06 00:46:08 +02:00
height: 100%;
2018-05-08 22:55:33 +02:00
display: flex;
2018-07-12 23:33:54 +02:00
flex: 1;
2018-05-08 22:55:33 +02:00
flex-direction: column;
}
.page__header-wrap {
width: 100%;
}
.page__header {
@include center;
2018-10-06 00:46:08 +02:00
width: 100%;
2018-10-13 00:29:53 +02:00
background-color: $lbry-black;
2018-05-08 22:55:33 +02:00
background-position: center;
background-repeat: no-repeat;
background-size: cover;
2018-10-13 00:29:53 +02:00
color: $lbry-white;
2018-05-11 16:07:16 +02:00
padding-right: env(safe-area-inset-right);
padding-left: env(safe-area-inset-left);
2018-05-08 22:55:33 +02:00
position: relative;
}
.page__header__title {
font-weight: 300;
2018-10-13 00:29:53 +02:00
text-shadow: 1px 1px 2px rgba($lbry-black, 0.3);
2018-05-10 21:44:31 +02:00
@media (min-width: 901px) {
font-size: 3rem;
2018-05-22 21:57:34 +02:00
line-height: 6.5rem;
2018-05-10 21:44:31 +02:00
}
@media (max-width: 900px) {
font-size: 2rem;
2018-05-22 21:57:34 +02:00
line-height: 1;
padding-top: 1rem;
padding-bottom: 1rem;
2018-05-10 21:44:31 +02:00
}
2018-05-08 22:55:33 +02:00
}
.page__content {
flex: 1;
padding-top: 2rem;
2018-05-11 16:07:16 +02:00
padding-right: env(safe-area-inset-right);
2018-10-06 00:46:08 +02:00
padding-bottom: 2rem;
2018-05-11 16:07:16 +02:00
padding-left: env(safe-area-inset-left);
2018-05-08 22:55:33 +02:00
}
2018-07-12 17:21:42 +02:00
.page__markup {
@extend %markdown;
}