This commit is contained in:
Baptiste 2022-06-21 13:50:35 +02:00
parent fb0c3c8167
commit e72c2f8046
2 changed files with 14 additions and 1 deletions

View file

@ -42,4 +42,16 @@ li {
.directory-li:hover { .directory-li:hover {
transform: scale(1.05); transform: scale(1.05);
transition: 0.3s ease-out; transition: 0.3s ease-out;
}
#folderTitle {
color: red;
font-weight: bold;
}
#folderPhotos {
}
#folderAlbums {
} }

View file

@ -74,7 +74,8 @@ function createDirectories($path)
?> ?>
<a href="<?= $folderLink ?>"> <a href="<?= $folderLink ?>">
<li class="directory-li"> <li class="directory-li">
<span id="folderTitle"><?= $folderTitle ?> - </span> <span id="folderTitle"><?= $folderTitle ?></span>
<?= " - " ?>
<span id="folderPhotos"> <span id="folderPhotos">
<?php if ($photos > 1) { <?php if ($photos > 1) {
echo $photos." photos"; echo $photos." photos";