288 lines
4.9 KiB
SCSS
Executable file
288 lines
4.9 KiB
SCSS
Executable file
.films {
|
|
margin: var(--spacing-2);
|
|
box-sizing: border-box;
|
|
|
|
a {
|
|
color: #ddd;
|
|
font-size: 12px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
select {
|
|
font-size: 18px;
|
|
font-family: "noto_sans", sans-serif;
|
|
padding: calc(var(--spacing) /4) var(--spacing);
|
|
}
|
|
#films-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.film {
|
|
width: calc(100% / 4 - 16px);
|
|
margin-top: var(--spacing-2);
|
|
h1 {
|
|
font-weight: bold;
|
|
font-size: 20px;
|
|
}
|
|
figure {
|
|
div {
|
|
aspect-ratio: 4/3;
|
|
img {
|
|
display: none;
|
|
//max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
img:first-child {
|
|
display: inherit
|
|
}
|
|
}
|
|
figcaption {
|
|
img {
|
|
max-width: 100%;
|
|
height: 18px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@media screen and (max-width: 799px) {
|
|
.film {
|
|
width: calc(100% / 2 - 8px);
|
|
margin-bottom: var(--spacing-2);
|
|
h2 {
|
|
margin-bottom: var(--spacing);
|
|
}
|
|
@media screen and (max-width: 799px) {
|
|
h1, h2 {
|
|
span {
|
|
display: block;
|
|
line-height: 1.3;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
main > .film {
|
|
max-width: var(--container-width);
|
|
margin: auto;
|
|
.info {
|
|
position: relative;
|
|
margin-bottom: 32px;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
text-align: center;
|
|
|
|
h1 {
|
|
font-size: 20px;
|
|
margin: 0 0 24px 0;
|
|
}
|
|
h2 {
|
|
font-size: 18px;
|
|
margin: 24px 0;
|
|
}
|
|
.details {
|
|
font-size: 18px;
|
|
margin-top: var(--spacing-2);
|
|
}
|
|
.featuring {
|
|
margin-top: var(--spacing-2);
|
|
}
|
|
}
|
|
|
|
.items {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
justify-content: center;
|
|
.item {
|
|
width: calc(100% / 4 - 16px);
|
|
a {
|
|
color: #ddd;
|
|
font-size: 12px;
|
|
text-decoration: none;
|
|
}
|
|
figure {
|
|
position: relative;
|
|
img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
.overlay {
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
display: flex;
|
|
img {
|
|
width: 25%;
|
|
margin: auto;
|
|
padding-bottom: 32px;
|
|
opacity: 0.5;
|
|
&:hover {
|
|
filter: invert(1);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@media screen and (max-width: 799px) {
|
|
.item {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.play {
|
|
text-align: center;
|
|
margin-top: var(--spacing-2);
|
|
margin-bottom: var(--spacing-2);
|
|
max-width: 250px;
|
|
|
|
}
|
|
|
|
.texts {
|
|
margin-top: var(--spacing-2);
|
|
margin-bottom: var(--spacing-2);
|
|
.text {
|
|
padding-bottom: var(--spacing-2);
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 799px) {
|
|
h1 {
|
|
span {
|
|
display: block;
|
|
margin-bottom: var(--spacing);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.info-meta {
|
|
display: inline-block;
|
|
margin: 40px auto;
|
|
position: relative;
|
|
max-width: 600px;
|
|
animation: fade_in 1s linear 0.4s forwards;
|
|
opacity: 0;
|
|
line-height: 1.4;
|
|
}
|
|
@media screen and (max-width: 799px) {
|
|
.info-meta {
|
|
margin-top: 20px;
|
|
width: 70%;
|
|
transform: unset;
|
|
}
|
|
}
|
|
|
|
main > .film {
|
|
.info-meta, .bio-block, .play, .summary-block, .texts, .items {
|
|
background: rgba(0, 0, 0, 0.55);
|
|
border-radius: 2px;
|
|
box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding: 20px;
|
|
font-size: 18px;
|
|
z-index: 200;
|
|
|
|
a {
|
|
text-decoration: none;
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
|
|
.bio-block, .play, .summary-block, .texts, .items {
|
|
position: relative;
|
|
}
|
|
|
|
}
|
|
|
|
.summary-block {
|
|
max-width: 1080px;
|
|
margin-top: 60vh;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.bio-block {
|
|
max-width: 1080px;
|
|
margin-top: 30px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.video-block {
|
|
height: 100vh;
|
|
|
|
video, .video-fallback-block {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
object-fit: fill;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
video {
|
|
z-index: 100;
|
|
}
|
|
|
|
.video-fallback-block {
|
|
z-index: 90;
|
|
}
|
|
|
|
}
|
|
|
|
.icon-play {
|
|
color: #fff;
|
|
border: 4px solid rgba(#fff, 0.3);
|
|
border-radius: 50%;
|
|
box-sizing: border-box;
|
|
text-decoration: none;
|
|
width: 54px;
|
|
height: 54px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: auto;
|
|
|
|
.text {
|
|
font-family: "icomoon";
|
|
font-size: 42px;
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.film-play-block {
|
|
text-align: center;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.film-play-pandora{
|
|
font-family: "wrong font";
|
|
a {
|
|
color: var(--color-link);
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.film-play-spacer {
|
|
padding: var(--spacing);
|
|
margin-top: 4px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
video.player.fullscreen:-webkit-full-screen {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|