diff --git a/website/static/film/view/styles.css b/website/static/film/view/styles.css index e69de29..9c1ad49 100644 --- a/website/static/film/view/styles.css +++ b/website/static/film/view/styles.css @@ -0,0 +1,204 @@ +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; +} diff --git a/website/static/icons/favicon.png b/website/static/icons/favicon.png index bfca824..d315fd6 100644 Binary files a/website/static/icons/favicon.png and b/website/static/icons/favicon.png differ diff --git a/website/static/icons/moira_db_192.png b/website/static/icons/moira_db_192.png index 1865df8..65fff73 100644 Binary files a/website/static/icons/moira_db_192.png and b/website/static/icons/moira_db_192.png differ diff --git a/website/static/icons/moira_db_512.png b/website/static/icons/moira_db_512.png index 0e64bd5..21a134e 100644 Binary files a/website/static/icons/moira_db_512.png and b/website/static/icons/moira_db_512.png differ diff --git a/website/static/icons/moira_db_64.png b/website/static/icons/moira_db_64.png index 4a49bcc..8b26d63 100644 Binary files a/website/static/icons/moira_db_64.png and b/website/static/icons/moira_db_64.png differ diff --git a/website/static/img/divider.png b/website/static/img/divider.png new file mode 100644 index 0000000..b9594eb Binary files /dev/null and b/website/static/img/divider.png differ diff --git a/website/templates/film/view/index.html b/website/templates/film/view/index.html index e51f8a5..966585b 100644 --- a/website/templates/film/view/index.html +++ b/website/templates/film/view/index.html @@ -9,16 +9,94 @@ + + + + -
-

{{.Title_orig}}

-

{{.Year}}


-

{{.Desc}}


- +
+ + +
+ LIST + film_dump_watchlist +
+ +
+ +
+
+
+
+
+

{{.Title_orig}} | 

+

{{.Title_orig}} | 

+
+ +
+

{{.Title_orig}} | 

+

{{.Title_orig}} | 

+
+
+ +
+
+

{{.Title_PL}} | 

+

{{.Title_PL}} | 

+
+ +
+

{{.Title_PL}} | 

+

{{.Title_PL}} | 

+
+
+ +
+
+

{{.Title_EN}} | 

+

{{.Title_EN}} | 

+
+ +
+

{{.Title_EN}} | 

+

{{.Title_EN}} | 

+
+
+
+ +
+
+
+
+ +
+
+
+ +
+
+

{{.Year}}

+
+
+
+ + +
+ +
+ +
+

{{.Desc}}


+
+ +
+
+
+