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

58 lines
1 KiB
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%;
background-color: $black;
2018-05-08 22:55:33 +02:00
background-position: center;
background-repeat: no-repeat;
background-size: cover;
color: $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;
text-shadow: 1px 1px 2px rgba($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 {
background-image: url("/assets/media/images/grid.png");
2018-05-08 22:55:33 +02:00
background-repeat: repeat;
background-size: 32px;
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;
}