miru/app/css/misc.css

114 lines
No EOL
1.6 KiB
CSS

.badge-color{
background-color: var(--color) !important;
border-color: var(--color) !important;
}
.cover-img {
object-fit: cover
}
.contain-img {
object-fit: contain
}
.banner {
height: 400px;
opacity: 0.85
}
.mt-nc {
margin-top: -150px
}
.view {
min-height: 100%;
}
.desc {
max-height: 210px
}
.card-grid {
display: grid;
grid-template-rows: auto 1fr auto
}
.card-desc p {
margin: 0
}
.gallery .details span+span::before {
content: " • "
}
.gallery .card {
cursor: pointer;
overflow: hidden;
transition: transform .2s ease
}
.gallery .card:hover {
transform: scale(1.05)
}
.gallery {
display: grid;
grid-template-columns: repeat(auto-fill, 520px);
grid-auto-rows: 280px;
justify-content: center;
grid-gap: 2rem;
padding: 2rem
}
.pointer {
cursor: pointer
}
section {
display: none;
}
section:target {
display: flex !important;
height: 100%
}
.w-28 {
width: 2.8rem;
}
.noarrow::-webkit-inner-spin-button {
-webkit-appearance: none;
}
.material-icons {
font-size: 18px;
align-self: center
}
.close {
font-family: Arial;
}
.skeloader{
position: relative;
overflow: hidden;
}
.skeloader::before {
content: '';
display: block;
position: absolute;
left: -150px;
top: 0;
height: 100%;
width: 150px;
background: linear-gradient(to right, transparent 0%, #25282c 50%, transparent 100%);
animation: load 1s cubic-bezier(0.4, 0.0, 0.2, 1);
animation-iteration-count:infinite;
}
@keyframes load {
from {
left: -150px;
}
to {
left: 100%;
}
}