79 lines
1.3 KiB
SCSS
79 lines
1.3 KiB
SCSS
.custom-gated-topic-container {
|
|
background: var(--tertiary-low);
|
|
border-top: 5px solid var(--tertiary);
|
|
position: fixed;
|
|
width: 100%;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 999;
|
|
min-height: 50%;
|
|
}
|
|
|
|
.custom-gated-topic-content {
|
|
text-align: center;
|
|
margin: 10vh auto 0;
|
|
padding: 1rem;
|
|
|
|
&--header {
|
|
font-size: var(--font-up-5);
|
|
margin-bottom: 1rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
&--text {
|
|
font-size: var(--font-up-2);
|
|
}
|
|
|
|
&--cta {
|
|
margin-top: 2rem;
|
|
|
|
&__signup {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
&__login {
|
|
#cta-login-link {
|
|
background: transparent;
|
|
color: var(--primary-high);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.topic-in-gated-category {
|
|
overflow-y: hidden;
|
|
height: 100%;
|
|
|
|
.topic-navigation {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.post-stream {
|
|
max-height: 150vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.container.posts {
|
|
position: relative;
|
|
&:before {
|
|
// ensure to cover most of the content when zoomed out
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 50;
|
|
background: rgb(255, 255, 255);
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(255, 255, 255, 0) 10%,
|
|
rgba(255, 255, 255, 0.6) 60%,
|
|
rgba(255, 255, 255, 1) 100%
|
|
);
|
|
}
|
|
}
|
|
}
|