|
@@ -9,16 +9,21 @@
|
|
|
<script src="../script/jquery.min.js"></script>
|
|
|
<script src="../script/ao_module.js"></script>
|
|
|
<script src="../script/semantic/semantic.min.js"></script>
|
|
|
+ <link rel="shortcut icon" type="image/png" href="img/small_icon.png"/>
|
|
|
<link rel="manifest" crossorigin="use-credentials" href="manifest.json">
|
|
|
<title>Manga Cafe</title>
|
|
|
<style>
|
|
|
body{
|
|
|
- background-color:white;
|
|
|
+ background-color:#f0f0f0;
|
|
|
}
|
|
|
|
|
|
.manga{
|
|
|
margin-left: 8px !important;
|
|
|
}
|
|
|
+
|
|
|
+ .mangaTitle{
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
</style>
|
|
|
</head>
|
|
|
<body>
|
|
@@ -60,15 +65,16 @@
|
|
|
var defaultWidth = "200px";
|
|
|
var defaultImageHeight = "300px";
|
|
|
if (isMobile){
|
|
|
- defaultWidth = "150px"
|
|
|
+ defaultWidth = "150px";
|
|
|
+ defaultImageHeight = "230px";
|
|
|
}
|
|
|
$("#mangalist").append(`<div class="ui card manga" style="width: ${defaultWidth}; display: inline-block;">
|
|
|
- <div class="content">
|
|
|
+ <div class="content" style="border-bottom: 1px solid #bfbfbf;">
|
|
|
<div class="right floated meta">Ch#: ${manga[1]}</div>
|
|
|
${title}
|
|
|
</div>
|
|
|
- <a class="image" href="viewComic.html#${manga[3]}" style="text-align:center; height: 300px">
|
|
|
- <img class="ui fluid image" style="position: absolute; top: 0; bottom: 0; margin: auto;" src="${preview}">
|
|
|
+ <a class="image" href="viewComic.html#${manga[3]}" style="text-align:center;">
|
|
|
+ <img class="mangaTitle" src="${preview}" style="height: ${defaultImageHeight};"/>
|
|
|
</a>
|
|
|
</div>`);
|
|
|
});
|