Files
pla-den-tor/templates/manga.html
Jon Dough b2283a33f9 player filters! favourites! stats!
also, small fixes/improvements, new ryuji feature: "if in array", "if not in array"
2024-01-16 14:52:28 +05:30

49 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>reading [[ listing.name ]]</title>
<style>
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
.manga {
margin: 10px 20vw;
width: 60vw;
line-height: 0;
}
.manga img {
width: 100%;
}
#scroll-to-bottom:hover {
cursor: pointer;
text-decoration: underline;
}
@media only screen and (max-width: 600px) {
.manga {
margin: 10px 5vw;
width: 90vw;
}
}
</style>
</head>
<body>
[[ component:return ]]
<div id="main">
<div class="manga">
<h2 style="display: inline-block;">[[ listing.name ]] [[ chapter ]]</h2>
<span id="scroll-to-bottom" onclick="document.getElementById('nav').scrollIntoView({ behavior: 'smooth' })">Scroll to Bottom</span>
<br>
[[ for:images:image ]]
[[ component:page ]]
[[ endfor ]]
[[ component:nav ]] <!-- id: nav -->
</div>
</div>
</body>
</html>