2026-07-06 00:40:30 +02:00

205 lines
3.3 KiB
CSS

body{
margin: 0;
width: 100%;
}
*{
font-family: "Kode Mono", monospace;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
/*overflow-x: hidden;*/
}
b{
font-family: "Kode Mono", monospace;
font-optical-sizing: auto;
font-weight: 700;
font-style: normal;
/*overflow-x: hidden;*/
}
#sectHeader, #sectFilmInfo, #sectFilmDesc{
width: 100%;
}
#sectHeader{
height: 10vh;
display: flex;
flex-direction: row;
align-items: center;
}
#sectHeader_logo{
height: 95%;
aspect-ratio: 1/1;
background-image: url("/icons/moira_db_192.png");
background-repeat: no-repeat;
background-size: contain;
}
#sectHeader_pageInfo{
height: 100%;
padding-left: 5vw;
display: flex;
flex-direction: column;
justify-content: center;
}
#sectHeader_pageInfo_pageTypeName{
font-size: 1.5em;
}
#sectFilmInfo{
display: flex;
flex-direction: column;
}
#sectFilmInfo_top{
width: 100%;
display: flex;
flex-direction: row;
}
#sectFilmInfo_top_left{
width: 50%;
--sectFilmInfo_top_left_HEIGHT: min(calc(50vw * 192 / 108), 60vh);
height: var(--sectFilmInfo_top_left_HEIGHT);
display: flex;
flex-direction: column;
}
.sectFilmInfo_top_left_title{
width: 100%;
height: calc(var(--sectFilmInfo_top_left_HEIGHT) / 3);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(var(--sectFilmInfo_top_left_HEIGHT) / 24);
}
.sectFilmInfo_top_left_title > div{
width: 100%;
height: calc(var(--sectFilmInfo_top_left_HEIGHT) / 8);
display: flex;
flex-direction: row;
align-items: center;
position: relative;
overflow: hidden;
}
.marquee_text0, .marquee_text1{
width: 100%;
position: absolute;
padding-left: 100%;
}
.marquee_text0 > *, .marquee_text1 > *{
width: fit-content;
position: relative;
white-space: nowrap;
animation: marquee_scroll 12s linear infinite;
}
.sectFilmInfo_top_left_title_line0 > .marquee_text1 > *{
animation-delay: 6s;
}
.sectFilmInfo_top_left_title_line1 > .marquee_text0 > *{
animation-delay: 3s;
}
.sectFilmInfo_top_left_title_line1 > .marquee_text1 > *{
animation-delay: 9s;
}
@keyframes marquee_scroll{
0%{
transform: translateX(0);
}
100%{
transform: translateX(-200%);
}
}
#sectFilmInfo_top_right{
width: 50%;
display: flex;
align-items: center;
justify-content: center;
}
#sectFilmInfo_top_right_poster{
width: 100%;
max-height: 60vh;
aspect-ratio: 108/192;
background-repeat: no-repeat;
background-size: contain;
background-position: center center;
}
#sectFilmInfo_bttm{
width: 100%;
display: flex;
flex-direction: row;
}
#sectFilmInfo_bttm_left{
width: 50%;
display: flex;
flex-direction: column;
}
#sectFilmInfo_bttm_right{
width: 50%;
display: flex;
flex-direction: column;
align-items: center;
}
#sectFilmDesc{
padding: 5px;
}
.sectDivider, .sectDivider_empty{
width: 100%;
height: 5vh;
margin-top: 10px;
margin-bottom: 10px;
}
.sectDivider{
background-image: url("/img/divider.png");
background-size: contain;
background-repeat: repeat-x;
}