chore: refine dark theme declarations + search ui

This commit is contained in:
Cory Dransfeldt 2024-01-07 10:38:03 -08:00
parent 00b501d185
commit caa49cf69e
No known key found for this signature in database
12 changed files with 172 additions and 239 deletions

View file

@ -1,6 +1,6 @@
.webmentions {
border-top: 1px solid var(--gray-200);
border-bottom: 1px solid var(--gray-200);
border-top: 1px solid var(--gray-light);
border-bottom: 1px solid var(--gray-light);
margin-top: 1.5rem;
margin-bottom: 3.25rem;
padding-top: 1rem;
@ -31,8 +31,12 @@
}
.webmentions .interaction .avatar__wrapper:hover,
.webmentions .interaction .comment__wrapper:hover .avatar__wrapper {
border-color: var(--blue-800);
.webmentions .interaction .avatar__wrapper:focus,
.webmentions .interaction .avatar__wrapper:active,
.webmentions .interaction .comment__wrapper:hover .avatar__wrapper,
.webmentions .interaction .comment__wrapper:focus .avatar__wrapper
.webmentions .interaction .comment__wrapper:active .avatar__wrapper {
border-color: var(--accent-color-hover);
}
.webmentions .interaction .comment__wrapper--interior {
@ -44,7 +48,7 @@
}
.webmentions .interaction .comment__wrapper--interior .comment a {
color: var(--black);
color: var(--text-color);
text-decoration: none;
}
@ -75,13 +79,13 @@
}
.webmentions .interaction .avatar__wrapper {
background-color: var(--black);
border: 4px solid var(--background-color);
background-color: var(--background-color-inverted);
width: 3.5rem;
height: 3.5rem;
margin-bottom: 0;
overflow: hidden;
border-radius: var(--rounded-full);
border: 4px solid var(--white);
transition-property: border-color;
transition-timing-function: var(--transition-ease-in-out);
transition-duration: var(--transition-duration-default);
@ -106,28 +110,4 @@
display: flex;
flex-direction: column;
align-items: center;
}
@media (prefers-color-scheme: dark) {
.webmentions .interaction .comment__wrapper--interior .comment a {
color: var(--white);
}
.webmentions {
border-color: var(--gray-900);
}
.webmentions .interaction .avatar__wrapper {
background-color: var(--white);
border-color: var(--black);
}
.webmentions .interaction .avatar__wrapper:hover,
.webmentions .interaction .avatar__wrapper:focus,
.webmentions .interaction .avatar__wrapper:active,
.webmentions .interaction .comment__wrapper:hover .avatar__wrapper,
.webmentions .interaction .comment__wrapper:focus .avatar__wrapper
.webmentions .interaction .comment__wrapper:active .avatar__wrapper {
border-color: var(--blue-200);
}
}