Esc-Playlists/templates/index.html
2026-05-16 10:41:56 +02:00

88 lines
1.9 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<style>
#flex-container {
border: 1px solid black;
border-radius: 0.25rem;
overflow: auto;
scroll-snap-type: x mandatory;
display: flex;
}
article {
flex-wrap: row nowrap;
border: none;
flex: 0 0 30rem;
}
a,
h1,
h2 {
display: block;
text-align: center;
}
article {
background-size: contain;
box-sizing: border-box;
filter: drop-shadow(6px 6px -10px white);
width: 100%;
padding: 20px;
}
#kursive {
font-style: italic;
}
img {
border-radius: 1rem;
width: 100%;
aspect-ratio: 4/3;
object-fit: contain;
}
a {
color: black;
}
h2 {
text-align: center;
}
#gray {
font-size: 0.75rem;
display: block;
text-align: center;
color: rgb(181, 181, 181);
}
button {
padding: 10px;
margin: 5px;
border: black;
border-radius: 20px;
}
#logo{
object-fit: scale-down;
}
#logocontaner{
margin: 0 auto;
height: 25%;
width: 25%;
}
#logo{
height: 105%;
scale: 150%;
}
#logocontaner{
margin: 0 auto;
}
</style>
<a href="/" id="logocontaner"><img id="logo" src="/static/Eurovision_Song_Contest_heart_Wikidata_(20142025).svg"></img></a>
<h1>ESC Playlist</h1>
<a href="/suche?liste={{liste}}"
>Du willst ein weiteres Lied in der Playlist?</a
>
<p>
Die Playlist {{liste}} ist insgesamt {{ gesamtLaenge | zeit }} lang und
enthält {{ karten|length }} Lieder
</p>
<p>
<button id="play" onclick="abspielen()">Abspielen</button
><button id="loop" onclick="looptrue()">Loop</button>
</p>
<div id="flex-container">
{% for karte in karten %} {% set karte_loop = loop %} {% include
"karte.html" %} {% endfor %}
</div>
<script src="static/script.js"></script>