1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08: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 { .photo-container {
border: 2px solid #333; border: 2px solid #333;
width: 150px; width: 180px;
height: 150px; height: 180px;
background-color: #bbbbbb; background-color: #bbbbbb;
} }
.no-image { .no-image {
color: #7f7f7f; color: #7f7f7f;
@ -50,3 +49,8 @@ a:hover .info {
a:hover .photo-container { a:hover .photo-container {
border-color: #000; border-color: #000;
} }
.directory-name {
width: 180px;
white-space: normal;
}

View File

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

View File

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