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

185 lines
3 KiB
SCSS
Raw Normal View History

2021-09-30 18:33:47 +00:00
.films {
margin: var(--spacing-2);
2021-10-11 12:26:51 +00:00
box-sizing: border-box;
2021-10-11 09:43:07 +00:00
a {
color: #ee0;
text-decoration: none;
}
2021-09-30 18:33:47 +00:00
.film {
margin-bottom: var(--spacing-2);
2021-09-30 18:33:47 +00:00
h1 {
font-weight: bold;
font-size: 20px;
}
}
@media screen and (max-width: 799px) {
.film {
margin-bottom: var(--spacing-2);
2021-09-30 18:33:47 +00:00
h2 {
margin-bottom: var(--spacing);
2021-09-30 18:33:47 +00:00
}
@media screen and (max-width: 799px) {
h1, h2 {
span {
display: block;
line-height: 1.3;
}
}
}
2021-09-30 18:33:47 +00:00
}
}
}
2021-10-11 09:43:07 +00:00
main > .film {
2021-10-22 09:12:59 +00:00
max-width: var(--container-width);
2021-10-11 09:43:07 +00:00
margin: auto;
2021-10-10 15:06:43 +00:00
.info {
2021-10-11 09:43:07 +00:00
margin-bottom: 32px;
2021-10-11 18:03:23 +00:00
text-overflow: ellipsis;
overflow: hidden;
2021-10-16 09:15:46 +00:00
text-align: center;
2021-10-11 18:03:23 +00:00
2021-10-11 09:43:07 +00:00
h1 {
2021-10-16 09:15:46 +00:00
font-size: 20px;
margin: 0 0 24px 0;
2021-10-11 09:43:07 +00:00
}
2021-10-11 18:03:23 +00:00
h2 {
2021-10-16 09:15:46 +00:00
font-size: 18px;
2021-10-11 18:03:23 +00:00
margin: 24px 0;
}
2021-10-11 18:20:13 +00:00
.details {
2021-10-16 09:15:46 +00:00
font-size: 18px;
margin-top: var(--spacing-2);
2021-10-11 18:20:13 +00:00
}
.bio {
margin-top: var(--spacing-2);
2021-10-11 18:20:13 +00:00
div {
margin-top: var(--spacing);
2021-10-11 18:20:13 +00:00
}
}
2021-10-11 09:43:07 +00:00
}
2021-10-22 11:46:00 +00:00
2021-10-10 15:06:43 +00:00
.play {
text-align: center;
margin-top: var(--spacing-2);
margin-bottom: var(--spacing-2);
2021-10-22 11:46:00 +00:00
max-width: 250px;
2021-10-11 18:03:23 +00:00
2021-10-22 16:20:26 +00:00
}
.texts {
margin-top: var(--spacing-2);
margin-bottom: var(--spacing-2);
.text {
padding-bottom: var(--spacing-2);
2021-10-11 18:03:23 +00:00
}
}
2021-10-22 16:20:26 +00:00
2021-10-11 18:03:23 +00:00
@media screen and (max-width: 799px) {
h1 {
span {
display: block;
margin-bottom: var(--spacing);
2021-10-11 18:03:23 +00:00
}
}
2021-10-10 15:06:43 +00:00
}
}
2021-10-16 09:15:46 +00:00
.info-meta {
display: inline-block;
margin: 0 auto;
2021-10-22 11:46:00 +00:00
position: absolute;
2021-10-16 09:15:46 +00:00
max-width: 600px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
animation: fade_in 1s linear 0.4s forwards;
2021-10-22 11:46:00 +00:00
opacity: 0;
2021-10-16 09:15:46 +00:00
}
2021-10-23 14:09:20 +00:00
main > .film {
.info-meta, .bio-block, .play, .summary-block, .texts {
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;
a {
color: #ee0;
text-decoration: none;
font-weight: 700;
}
2021-10-22 11:46:00 +00:00
}
2021-10-16 09:15:46 +00:00
}
2021-10-22 11:46:00 +00:00
.summary-block {
max-width: 1080px;
2021-10-23 12:23:09 +00:00
margin-top: 60vh;
2021-10-24 13:43:02 +00:00
word-break: break-word;
2021-10-16 09:15:46 +00:00
}
2021-10-22 11:46:00 +00:00
.bio-block {
max-width: 1080px;
margin-top: 30px;
margin-bottom: 30px;
}
2021-10-16 09:15:46 +00:00
.video-block {
height: 100vh;
2021-10-23 12:23:09 +00:00
//padding-bottom: 50px;
//padding-top: 50px;
2021-10-16 09:15:46 +00:00
video {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: -9999;
height: 100vh;
2021-10-22 11:46:00 +00:00
width: 100vw;
object-fit: fill;
//height: 100vh;
//width: auto;
2021-10-16 09:15:46 +00:00
margin: 0 auto;
}
2021-10-21 12:57:34 +00:00
}
.icon-play {
color: #fff;
2021-10-23 12:23:09 +00:00
border: 4px solid rgba(#fff, 0.3);
2021-10-22 11:46:00 +00:00
border-radius: 50%;
2021-10-24 13:43:02 +00:00
box-sizing: border-box;
2021-10-21 12:57:34 +00:00
text-decoration: none;
2021-10-24 13:43:02 +00:00
width: 54px;
height: 54px;
2021-10-22 11:46:00 +00:00
display: flex;
align-items: center;
justify-content: center;
margin: auto;
.text {
font-family: "icomoon";
font-size: 42px;
display: block;
}
2021-10-22 11:46:00 +00:00
}
.film-play-block {
text-align: center;
2021-10-24 13:43:02 +00:00
font-size: 18px;
}
.film-play-padma {
font-family: "wrong font";
2021-10-22 11:46:00 +00:00
}
.film-play-spacer {
padding: var(--spacing);
margin-top: 4px;
font-size: 12px;
font-weight: 700;
2021-10-22 16:20:26 +00:00
}