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

78 lines
1.4 KiB
SCSS

#player {
font-family: "noto_sans";
width: 100%;
color: #ddd;
h1 {
padding-left: var(--spacing-2);
padding-right: var(--spacing-2);
padding-top: 16px;
font-size: 20px;
letter-spacing: 1px;
font-weight: bold;
max-width: var(--container-width);
margin: auto;
a {
color: var(--color-link);
text-decoration: none;
}
}
h2 {
padding: 4px var(--spacing-2);
max-width: var(--container-width);
margin: auto;
}
.info {
margin-bottom: 16px;
h1 {
display: none;
}
@media screen and (max-width: 1100px) {
h1 {
display: block;
font-size: 16px;
}
}
}
.stage {
display: flex;
flex-direction: row;
margin: 8px;
@media (max-aspect-ratio: 4 / 3) {
margin-left: 0px;
margin-right: 0px;
flex-direction: column;
}
.vbox {
max-width: var(--container-width);
margin: auto;
margin-top: 0;
width: 100%;
.player {
width: 100%;
height: auto;
max-width: var(--container-width);
max-height: 80vh;
margin: auto;
}
}
.annotations {
width: 100%;
margin-top: auto;
@media (max-aspect-ratio: 4 / 3) {
max-width: 90%;
text-align: center;
}
height: 100%;
b {
font-weight: bold;
}
.annotation {
display: none;
margin: auto;
}
}
}
}