120 lines
1.7 KiB
SCSS
120 lines
1.7 KiB
SCSS
// NibblePoker.lu CSS - (C) 2023 Bozet Herwin
|
|
|
|
.img-text {
|
|
height: 1em;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.btn-img {
|
|
display: flex;
|
|
height: 1em;
|
|
}
|
|
|
|
.img-showcase {
|
|
width: 96px;
|
|
height: 96px;
|
|
}
|
|
|
|
.img-profile {
|
|
width: 7.5rem;
|
|
height: 7.5rem;
|
|
}
|
|
|
|
.img-contributor, .img-contributor > img {
|
|
width: 6rem;
|
|
height: 6rem;
|
|
|
|
border-radius: 50%;
|
|
|
|
transition: width 0.175s ease-in-out, height 0.175s ease-in-out, opacity 0.175s ease-in-out;
|
|
|
|
&:hover, &:hover > img {
|
|
width: 7.5rem;
|
|
height: 7.5rem;
|
|
}
|
|
|
|
&.kitty {
|
|
cursor: grab;
|
|
}
|
|
}
|
|
|
|
.img-contributor {
|
|
display: inline-block;
|
|
box-shadow: 0 0 6px 0 rgba(0,0,0,0.75);
|
|
|
|
&>img {
|
|
position: absolute;
|
|
|
|
&:last-child {
|
|
box-shadow: none;
|
|
position: relative;
|
|
opacity: 0.0;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
img {
|
|
opacity: 0.0;
|
|
}
|
|
&>img:last-child {
|
|
opacity: 1.0;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Zoom-in effect for image galleries
|
|
.splide li {
|
|
transition: all 0.20s ease-in-out;
|
|
}
|
|
.splide li:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
//.align-v-t
|
|
|
|
#logo-sidebar {
|
|
filter: brightness(110%) grayscale(100%);
|
|
//mix-blend-mode: multiply;
|
|
//opacity: 40%;
|
|
// Fixes the width to the size of the sidebar minus its padding. (15rem - 1rem * 2)
|
|
width: 13rem;
|
|
height: auto;
|
|
}
|
|
|
|
#logo-footer {
|
|
filter: brightness(110%) grayscale(100%);
|
|
opacity: 40%;
|
|
height: 1.8em;
|
|
object-fit: contain;
|
|
}
|
|
|
|
#error-page-skit {
|
|
max-width: 40%;
|
|
height: auto;
|
|
position: absolute;
|
|
bottom: 1.5em;
|
|
right: 1.5em;
|
|
filter: drop-shadow(0 0 0.25rem #0000007F);
|
|
//opacity: 0.25;
|
|
|
|
//mix-blend-mode: multiply;
|
|
//opacity: 0.2;
|
|
|
|
opacity: 0.4;
|
|
|
|
// Preventing the selection and dragging of the image for aesthetic reasons.
|
|
user-drag: none;
|
|
user-select: none;
|
|
}
|
|
|
|
// Logo colors
|
|
//.npl1, .npl6 {
|
|
//}
|
|
//
|
|
//.npl2, .npl5 {
|
|
//}
|
|
//
|
|
//.npl3, .npl4 {
|
|
//}
|
|
|