diff --git a/ajax/getfoldercontents.php b/ajax/getfoldercontents.php index 8b3d37e..ac5fcd3 100644 --- a/ajax/getfoldercontents.php +++ b/ajax/getfoldercontents.php @@ -80,7 +80,7 @@ foreach ( $entries as $entry ) { $readclass = ""; } $info["div"] = "
"; - $info["div"] .= "
{$info["comname"]}
"; + $info["div"] .= "
{$info["comname"]}"; $folders[] = $info; } else { if ( (substr($entry, -3) == "cbz") || (substr($entry, -3) == "cbr") ) { @@ -106,7 +106,7 @@ foreach ( $entries as $entry ) { $readclass = ""; } $info["div"] = "
"; - $info["div"] .= ""; + $info["div"] .= ""; $info["div"] .= "
{$info["comname"]}
"; $issues[] = $info; $thumbfile = "../" . THUMBSDIR . $data['compath'] . "/" . $info['comname'] . ".jpg"; diff --git a/css/comics.css b/css/comics.css index 50be0c3..187e816 100644 --- a/css/comics.css +++ b/css/comics.css @@ -62,13 +62,18 @@ a, a:link, a:visited, a:active { .item { cursor: pointer; - width: 330px; - height: 495px; + width: 25vw; + height: calc(25vw * 1.5 + 2em); margin: 5px; border: 2px solid var(--foreground-color); padding: 2px; display: inline-block; overflow: hidden; + font-size: 2vw; +} + +.thumbnail { + width: 95%; } .readborder { diff --git a/htmlheader.php b/htmlheader.php index bf00084..d548ae6 100644 --- a/htmlheader.php +++ b/htmlheader.php @@ -1,7 +1,7 @@ - +