Single Image Style

This commit is contained in:
seiichiro 2022-01-10 21:34:52 +01:00
parent 48c37fa1e6
commit 1fa8f9282c
2 changed files with 4 additions and 2 deletions

View file

@ -114,7 +114,7 @@ body {
grid-template-rows: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr);
} }
.content-single img { .content-single .single-image img {
object-fit: contain; object-fit: contain;
position: relative; position: relative;
z-index: 1; z-index: 1;

View file

@ -6,7 +6,9 @@
<div class="container"> <div class="container">
<div class="content-single"> <div class="content-single">
<div class="single-image">
<img src="{{ $imageurl }}" title="{{ $page }}/{{ $last_page }}" /> <img src="{{ $imageurl }}" title="{{ $page }}/{{ $last_page }}" />
</div>
<a id="link-prev" href="/index.php?d={{ $dir }}&p={{ $prev_page }}&s=1&gs={{ $gallery_slice }}{{ $filter }}"> <a id="link-prev" href="/index.php?d={{ $dir }}&p={{ $prev_page }}&s=1&gs={{ $gallery_slice }}{{ $filter }}">
<div class="clickable clickable-left"></div> <div class="clickable clickable-left"></div>
</a> </a>