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

140 lines
No EOL
2.2 KiB
SCSS
Executable file

.films {
margin: var(--spacing-2);
box-sizing: border-box;
a {
color: #ee0;
text-decoration: none;
}
.film {
margin-bottom: var(--spacing-2);
h1 {
font-weight: bold;
font-size: 20px;
}
}
@media screen and (max-width: 799px) {
.film {
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 {
margin: auto;
.info {
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);
}
.bio {
margin-top: var(--spacing-2);
div {
margin-top: var(--spacing);
}
}
}
//video {
//width: 100%;
//}
.play {
text-align: center;
margin: var(--spacing);
margin-top: var(--spacing-2);
margin-bottom: var(--spacing-2);
.texts {
padding-top: var(--spacing-2);
.text {
padding-bottom: var(--spacing-2);
}
}
}
@media screen and (max-width: 799px) {
h1 {
span {
display: block;
margin-bottom: var(--spacing);
}
}
}
}
body {
/*background: linear-gradient(to bottom, #002bdb 0%,#8fc800 99%);*/
}
.info-meta {
display: inline-block;
position: absolute;
margin: 0 auto;
max-width: 600px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.info-meta, .bio-block {
background: rgba(0, 0, 0, 0.75);
border-radius: 2px;
//margin: var(--spacing) var(--spacing-2);
max-width: 1080px;
margin: 0 auto;
padding: 20px;
}
.bio-block {
font-size: 18px;
margin-top: 350px;
}
.video-block {
height: 100vh;
padding-bottom: 50px;
padding-top: 50px;
video {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: -9999;
height: 100vh;
width: auto;
margin: 0 auto;
}
}
.icon-play {
color: #fff;
font-size: 40px;
text-decoration: none;
}