njpma/app/static/css/partials/_ascroll.scss

115 lines
2.1 KiB
SCSS
Raw Normal View History

#ascroll {
font-family: "noto_sans";
2021-10-10 15:25:17 +00:00
width: 100%;
2021-10-21 16:11:05 +00:00
color: #222;
h1 {
padding-left: var(--spacing-2);
padding-right: var(--spacing-2);
padding-top: 32px;
font-size: 20px;
letter-spacing: 1px;
font-weight: bold;
2021-10-22 09:12:59 +00:00
max-width: var(--container-width);
margin: auto;
}
2021-10-11 13:50:19 +00:00
h2 {
padding: 4px var(--spacing-2);
2021-10-22 09:12:59 +00:00
max-width: var(--container-width);
margin: auto;
2021-10-11 13:50:19 +00:00
}
.intro {
padding: 4px var(--spacing-2) 64px;
2021-10-22 09:12:59 +00:00
max-width: var(--container-width);
margin: auto;
}
.vbox {
2021-10-22 09:12:59 +00:00
max-width: var(--container-width);
margin: auto;
2021-10-11 13:50:19 +00:00
}
.player {
position: absolute;
display: none;
2021-10-10 15:25:17 +00:00
width: 100%;
height: auto;
2021-10-22 09:12:59 +00:00
max-width: var(--container-width);
2021-10-28 20:43:22 +00:00
max-height: 80vh;
2021-10-10 15:25:17 +00:00
margin: auto;
//transition: opacity 0.4s;
}
.annotation {
2021-10-11 09:28:51 +00:00
min-height: 100vh;
.frame {
2021-10-22 09:12:59 +00:00
max-width: var(--container-width);
margin: auto;
2021-10-28 20:43:22 +00:00
figure {
text-align: center;
}
img {
2021-10-10 15:25:17 +00:00
width: 100%;
height: auto;
2021-10-28 20:43:22 +00:00
max-height: 80vh;
margin: auto;
object-fit: contain;
}
2021-10-10 15:25:17 +00:00
figcaption {
text-align: right;
padding-right: 4px;
font-size: 14px;
}
}
.text {
2021-10-22 09:12:59 +00:00
max-width: var(--container-width);
margin: auto;
padding: 20px 20px;
2021-10-26 10:26:07 +00:00
font-size: 20px;
line-height: 24px;
2021-10-25 15:11:50 +00:00
2021-10-26 21:17:13 +00:00
a {
word-wrap: anywhere;
}
2021-10-25 15:11:50 +00:00
figure {
width: 100%;
text-align: center;
}
img {
margin: auto;
max-width: 100%;
}
}
}
2021-10-26 10:26:07 +00:00
.annotation-icon-wrapper {
border: 3px solid rgba(#fff, 0.8);
border-radius: 50%;
2021-10-27 11:12:11 +00:00
background: var(--gradient-body);
2021-10-26 10:26:07 +00:00
background-size: 300% 100%;
width: 52px;
height: 52px;
display: flex;
align-items: center;
justify-content: center;
animation: background_animation 30s ease-in-out infinite;
opacity: 0.9;
&:hover, &:focus {
opacity: 1;
}
}
.annotation-icon {
color: rgba(#fff, 1);
font-size: 38px;
}
2021-10-26 10:47:33 +00:00
.related-film {
padding: calc(var(--spacing) * 4) var(--spacing-2);
2021-10-26 10:47:33 +00:00
max-width: var(--container-width);
margin: auto;
2021-10-26 11:09:16 +00:00
line-height: 1.4;
2021-10-26 10:47:33 +00:00
}
}