chore: cleanup

This commit is contained in:
Cory Dransfeldt 2024-08-29 19:45:36 -07:00
parent fa55f40899
commit 1c445a6275
No known key found for this signature in database
25 changed files with 227 additions and 245 deletions

View file

@ -22,6 +22,7 @@
& img {
width: 100%;
height: 100%;
border-radius: var(--border-radius-slight);
}
}
@ -35,6 +36,7 @@
& img {
width: 100%;
height: auto;
border-radius: var(--border-radius-slight);
}
}
@ -43,35 +45,33 @@
height: 100%;
position: relative;
display: flex;
overflow: hidden;
&.shadow::after {
position: absolute;
z-index: 1;
content: '';
top: 0;
left: 1px;
left: 0;
box-shadow: inset 0 -85px 60px -60px var(--black);
width: calc(100% - 2px);
height: calc(100% - 1px);
width: 100%;
height: 100%;
border: var(--border-default);
border-radius: var(--border-radius-slight);
transition-property: border-color;
transition-timing-function: var(--transition-ease-in-out);
transition-duration: 300ms;
}
}
& a:hover img,
& a:active img {
& a:hover .item-wrapper.shadow::after,
& a:active .item-wrapper.shadow::after {
border-color: var(--accent-color-hover)
}
& a:focus img,
& a:focus-within img {
border: 0
}
& a:focus .shadow::after,
& a:focus-within .shadow::after {
left: 0;
width: 100%;
height: 100%
& a:focus .item-wrapper.shadow::after,
& a:focus-within .item-wrapper.shadow::after {
border: 0;
outline: var(----outline-default);
}
& .meta-text {
@ -94,13 +94,6 @@
font-weight: var(--font-weight-bold);
}
}
& img {
border: var(--border-default);
transition-property: border-color;
transition-timing-function: var(--transition-ease-in-out);
transition-duration: 300ms;
}
}
@media screen and (min-width: 768px) {