1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/app/gallery/grid/photo/photo.grid.gallery.component.css
2018-05-15 21:30:41 -04:00

95 lines
1.5 KiB
CSS

img {
width: inherit;
height: inherit;
-webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
-moz-animation: fadein 2s; /* Firefox < 16 */
-ms-animation: fadein 2s; /* Internet Explorer */
-o-animation: fadein 2s; /* Opera < 12.1 */
animation: fadein 2s;
vertical-align: unset;
}
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Firefox < 16 */
@-moz-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Internet Explorer */
@-ms-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.info {
background-color: transparent;
color: white;
font-size: medium;
display: table-caption;
position: relative;
padding: 5px;
margin-top: 0;
transition: margin .3s ease-out, background-color .3s ease-out;
-moz-transition: margin .3s ease-out, background-color .3s ease-out;
-webkit-transition: margin .3s ease-out, background-color .3s ease-out;
-o-transition: margin .3s ease-out, background-color .3s ease-out;
-ms-transition: margin .3s ease-out, background-color .3s ease-out;
}
.photo-container {
width: inherit;
height: inherit;
overflow: hidden;
}
.photo-name {
display: inline-block;
}
.photo-position {
display: inline-block;
float: right;
}
a {
color: white;
}
.photo-keywords {
margin-top: 5px;
font-size: small;
text-align: right;
display: inline-block;
width: 100%;
}