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

105 lines
2 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: 4px;
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;
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;
padding-bottom: 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-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;
img {
2021-10-10 15:25:17 +00:00
width: 100%;
height: auto;
}
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
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%;
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;
}
2021-10-26 10:47:33 +00:00
.related-film {
padding: 4px;
padding-top: 32px;
padding-bottom: 32px;
max-width: var(--container-width);
margin: auto;
}
}