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

79 lines
1.3 KiB
SCSS
Raw Normal View History

2018-05-08 15:55:33 -05:00
.page {
2018-10-05 17:46:08 -05:00
height: 100%;
2018-05-08 15:55:33 -05:00
display: flex;
2018-07-12 16:33:54 -05:00
flex: 1;
2018-05-08 15:55:33 -05:00
flex-direction: column;
}
.page__header-wrap {
width: 100%;
}
.page__header {
@include center;
2018-10-05 17:46:08 -05:00
width: 100%;
2019-05-14 14:40:35 -05:00
top: 4rem;
2018-10-05 17:46:08 -05:00
2018-10-12 17:29:53 -05:00
background-color: $lbry-black;
2018-05-08 15:55:33 -05:00
background-position: center;
background-repeat: no-repeat;
background-size: cover;
2018-10-12 17:29:53 -05:00
color: $lbry-white;
2018-05-11 09:07:16 -05:00
padding-right: env(safe-area-inset-right);
padding-left: env(safe-area-inset-left);
2019-05-14 14:40:35 -05:00
z-index: 2;
2018-05-08 15:55:33 -05:00
}
.page__header__title {
font-weight: 300;
2018-10-12 17:29:53 -05:00
text-shadow: 1px 1px 2px rgba($lbry-black, 0.3);
2018-05-10 14:44:31 -05:00
@media (min-width: 901px) {
font-size: 3rem;
2018-05-22 14:57:34 -05:00
line-height: 6.5rem;
2018-05-10 14:44:31 -05:00
}
@media (max-width: 900px) {
font-size: 2rem;
2018-05-22 14:57:34 -05:00
line-height: 1;
padding-top: 1rem;
padding-bottom: 1rem;
2018-05-10 14:44:31 -05:00
}
2019-05-14 14:40:35 -05:00
@media (min-width: 801px) {
button {
display: none;
}
}
@media (max-width: 800px) {
button {
margin-right: 1rem; padding-right: 1rem;
position: relative;
&::after {
width: 1px; height: 100%;
top: 0; right: 0;
background-color: $lbry-white;
content: "";
opacity: 0.3;
position: absolute;
}
}
}
2018-05-08 15:55:33 -05:00
}
.page__content {
flex: 1;
padding-top: 2rem;
2018-05-11 09:07:16 -05:00
padding-right: env(safe-area-inset-right);
2018-10-05 17:46:08 -05:00
padding-bottom: 2rem;
2018-05-11 09:07:16 -05:00
padding-left: env(safe-area-inset-left);
2018-05-08 15:55:33 -05:00
}
2018-07-12 10:21:42 -05:00
.page__markup {
@extend %markdown;
}