njpma/app/static/css/partials/_ascroll.scss
2021-10-26 11:47:44 +01:00

104 lines
2 KiB
SCSS
Executable file

#ascroll {
font-family: "noto_sans";
width: 100%;
color: #222;
h1 {
padding: 4px;
padding-top: 32px;
font-size: 20px;
letter-spacing: 1px;
font-weight: bold;
max-width: var(--container-width);
margin: auto;
}
h2 {
padding: 4px;
max-width: var(--container-width);
margin: auto;
}
.intro {
padding: 4px;
padding-bottom: 64px;
max-width: var(--container-width);
margin: auto;
}
.vbox {
max-width: var(--container-width);
margin: auto;
}
.player {
position: absolute;
display: none;
width: 100%;
height: auto;
max-width: var(--container-width);
margin: auto;
//transition: opacity 0.4s;
}
.annotation {
min-height: 100vh;
.frame {
max-width: var(--container-width);
margin: auto;
img {
width: 100%;
height: auto;
}
figcaption {
text-align: right;
padding-right: 4px;
font-size: 14px;
}
}
.text {
max-width: var(--container-width);
margin: auto;
padding: 20px 20px;
font-size: 20px;
line-height: 24px;
figure {
width: 100%;
text-align: center;
}
img {
margin: auto;
max-width: 100%;
}
}
}
.annotation-icon-wrapper {
border: 3px solid rgba(#fff, 0.8);
border-radius: 50%;
background: linear-gradient(to right, var(--bg-color-1), var(--bg-color-2) , var(--bg-color-3), var(--bg-color-4));
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;
}
.related-film {
padding: 4px;
padding-top: 32px;
padding-bottom: 32px;
max-width: var(--container-width);
margin: auto;
}
}