mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-06-20 00:50:35 +00:00
World shittest gallery implementation 😳
This commit is contained in:
parent
6d3012a4f7
commit
e19bab45cd
7 changed files with 273 additions and 19 deletions
|
@ -412,7 +412,48 @@
|
|||
.selectedImage {
|
||||
outline: $page-accent solid 0.3rem;
|
||||
}
|
||||
.group-name {
|
||||
@include defaultFont();
|
||||
|
||||
margin: 0;
|
||||
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
|
||||
transition: opacity 0.1s cubic-bezier(.19, 1, .22, 1);
|
||||
|
||||
z-index: 6;
|
||||
|
||||
opacity: 0;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.gallery-group {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
|
||||
position: absolute;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.group-item:hover {
|
||||
& .gallery-group {
|
||||
backdrop-filter: brightness(0.5);
|
||||
}
|
||||
& .nsfw-warning > * {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.group-item:hover .group-name {
|
||||
opacity: 1;
|
||||
}
|
||||
/*
|
||||
|-------------------------------------------------------------
|
||||
| profile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue