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

115 lines
2.1 KiB
SCSS
Raw Normal View History

#ascroll {
font-family: "noto_sans";
2021-10-10 16:25:17 +01:00
width: 100%;
2021-10-21 17:11:05 +01: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 14:42:59 +05:30
max-width: var(--container-width);
margin: auto;
}
2021-10-11 14:50:19 +01:00
h2 {
padding: 4px var(--spacing-2);
2021-10-22 14:42:59 +05:30
max-width: var(--container-width);
margin: auto;
2021-10-11 14:50:19 +01:00
}
.intro {
padding: 4px var(--spacing-2) 64px;
2021-10-22 14:42:59 +05:30
max-width: var(--container-width);
margin: auto;
}
.vbox {
2021-10-22 14:42:59 +05:30
max-width: var(--container-width);
margin: auto;
2021-10-11 14:50:19 +01:00
}
.player {
position: absolute;
display: none;
2021-10-10 16:25:17 +01:00
width: 100%;
height: auto;
2021-10-22 14:42:59 +05:30
max-width: var(--container-width);
2021-10-28 21:43:22 +01:00
max-height: 80vh;
2021-10-10 16:25:17 +01:00
margin: auto;
//transition: opacity 0.4s;
}
.annotation {
2021-10-11 10:28:51 +01:00
min-height: 100vh;
.frame {
2021-10-22 14:42:59 +05:30
max-width: var(--container-width);
margin: auto;
2021-10-28 21:43:22 +01:00
figure {
text-align: center;
}
img {
2021-10-10 16:25:17 +01:00
width: 100%;
height: auto;
2021-10-28 21:43:22 +01:00
max-height: 80vh;
margin: auto;
object-fit: contain;
}
2021-10-10 16:25:17 +01:00
figcaption {
text-align: right;
padding-right: 4px;
font-size: 14px;
}
}
.text {
2021-10-22 14:42:59 +05:30
max-width: var(--container-width);
margin: auto;
padding: 20px 20px;
2021-10-26 15:56:07 +05:30
font-size: 20px;
line-height: 24px;
2021-10-25 16:11:50 +01:00
2021-10-26 22:17:13 +01:00
a {
word-wrap: anywhere;
}
2021-10-25 16:11:50 +01:00
figure {
width: 100%;
text-align: center;
}
img {
margin: auto;
max-width: 100%;
}
}
}
2021-10-26 15:56:07 +05:30
.annotation-icon-wrapper {
border: 3px solid rgba(#fff, 0.8);
border-radius: 50%;
2021-10-27 16:42:11 +05:30
background: var(--gradient-body);
2021-10-26 15:56:07 +05:30
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 11:47:33 +01:00
.related-film {
padding: calc(var(--spacing) * 4) var(--spacing-2);
2021-10-26 11:47:33 +01:00
max-width: var(--container-width);
margin: auto;
2021-10-26 12:09:16 +01:00
line-height: 1.4;
2021-10-26 11:47:33 +01:00
}
}