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:
parent
1cf911e186
commit
5cf8320c5f
@ -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;
|
||||
}
|
||||
|
@ -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>
|
||||
|
@ -10,3 +10,8 @@ gallery-map {
|
||||
margin-right: 2px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
gallery-directory {
|
||||
margin: 2px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user