1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-12 11:15:22 +02:00

improving directory design

This commit is contained in:
Braun Patrik 2017-07-15 18:25:29 +02:00
parent 1cf911e186
commit 5cf8320c5f
3 changed files with 14 additions and 5 deletions

View File

@ -4,12 +4,11 @@ a {
.photo-container {
border: 2px solid #333;
width: 150px;
height: 150px;
width: 180px;
height: 180px;
background-color: #bbbbbb;
}
.no-image {
color: #7f7f7f;
@ -49,4 +48,9 @@ a:hover .info {
a:hover .photo-container {
border-color: #000;
}
}
.directory-name {
width: 180px;
white-space: normal;
}

View File

@ -14,7 +14,7 @@
</div>
<!--Info box -->
<div #info class="info">
<div class="photo-name">{{directory.name}}</div>
<div class="directory-name">{{directory.name}}</div>
</div>
</a>

View File

@ -10,3 +10,8 @@ gallery-map {
margin-right: 2px;
margin-left: 2px;
}
gallery-directory {
margin: 2px;
display: inline-block;
}