color tweak, modularizing css, redone index, rewritten stuff
This commit is contained in:
parent
c6bac45ecf
commit
ee8bce1bd3
18 changed files with 614 additions and 664 deletions
|
@ -86,14 +86,14 @@ body [id]:not(:nth-child(1)) ul {
|
|||
#collection {
|
||||
& ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
padding: var(--pad-l) 0 0 0;
|
||||
justify-content: start;
|
||||
}
|
||||
& li {
|
||||
display: flex;
|
||||
& a {
|
||||
padding-top: 8px;
|
||||
transition: background-color var(--trans);
|
||||
padding: var(--pad-sm);
|
||||
background-color: transparent;
|
||||
text-decoration: none;
|
||||
}
|
||||
& span {
|
||||
|
@ -125,7 +125,7 @@ body [id]:not(:nth-child(1)) ul {
|
|||
}
|
||||
& a:is(:hover, :focus) img {
|
||||
transform: translateY(-4px);
|
||||
transition: 0.3s;
|
||||
transition: var(--trans);
|
||||
}
|
||||
}
|
||||
#collection div:has(img)::after {
|
||||
|
@ -138,9 +138,3 @@ body [id]:not(:nth-child(1)) ul {
|
|||
margin: -1.5rem 0 0 -0.5rem;
|
||||
pointer-events: none;
|
||||
}
|
||||
@media screen and (max-width: 920px) {
|
||||
#collection {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue