1.2.5原版
This commit is contained in:
@@ -0,0 +1,111 @@
|
||||
.gallery-photos span img {
|
||||
margin: 0 !important;
|
||||
border-radius: 0;
|
||||
bottom: 0px;
|
||||
}
|
||||
|
||||
.gallery-photos {
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.gallery-photo {
|
||||
min-height: 5rem;
|
||||
width: 33.3%;
|
||||
padding: 4px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.gallery-photo span {
|
||||
border-radius: 8px;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.gallery-photo img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
animation: fadeIn 1s;
|
||||
cursor: pointer;
|
||||
transition: all .4s ease-in-out !important;
|
||||
}
|
||||
|
||||
.gallery-photo span.photo-title,
|
||||
.gallery-photo span.photo-time {
|
||||
max-width: calc(100% - 7px);
|
||||
line-height: 1.8;
|
||||
position: absolute;
|
||||
left: 4px;
|
||||
font-size: 14px;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
padding: 0px 8px;
|
||||
color: #fff;
|
||||
animation: fadeIn 1s;
|
||||
}
|
||||
|
||||
.gallery-photo span.photo-title {
|
||||
bottom: 4px;
|
||||
border-radius: 0 8px 0 8px;
|
||||
}
|
||||
|
||||
.gallery-photo span.photo-time {
|
||||
top: 4px;
|
||||
border-radius: 8px 0 8px 0;
|
||||
}
|
||||
|
||||
.gallery-photo:hover img {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1100px) {
|
||||
.gallery-photo {
|
||||
width: 33.3%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.gallery-photo {
|
||||
width: 49.9%;
|
||||
padding: 3px
|
||||
}
|
||||
|
||||
.gallery-photo span.photo-time {
|
||||
display: none
|
||||
}
|
||||
|
||||
.gallery-photo span.photo-title {
|
||||
font-size: 12px
|
||||
}
|
||||
|
||||
.gallery-photo span.photo-title {
|
||||
left: 3px;
|
||||
bottom: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.uploadmore {
|
||||
width: 40%;
|
||||
max-width: 810px;
|
||||
height: 30px;
|
||||
margin: auto;
|
||||
border-radius: 12px;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
border: 1px solid #000;
|
||||
box-shadow: 0 8px 16px -4px #2c2d300c;
|
||||
background: #f4f4f4
|
||||
}
|
||||
Reference in New Issue
Block a user