chore: pull some page specific vars off of :root

This commit is contained in:
Cory Dransfeldt 2024-12-01 09:51:25 -08:00
parent e36be0f9d8
commit bce70b8e4e
No known key found for this signature in database
4 changed files with 14 additions and 13 deletions

View file

@ -1,15 +1,12 @@
:root {
.avatar-wrapper {
--avatar-size: 16rem;
display: flex;
justify-content: center;
width: 100%;
@media screen and (min-width: 768px) {
--avatar-size: 24rem;
}
}
.avatar-wrapper {
display: flex;
justify-content: center;
width: 100%;
& img {
width: var(--avatar-size);

View file

@ -1,4 +1,4 @@
:root {
:is(.book-entry, .book-focus) .progress-bar-wrapper {
--progress-bar-width: 50%;
@media screen and (min-width: 768px) {

View file

@ -21,11 +21,9 @@
gap: var(--spacing-md);
}
@media screen and (max-width: 768px) {
& .media-meta {
margin-top: var(--spacing-base);
@media screen and (min-width: 768px) {
margin-top: 0;
}
}
}

View file

@ -356,6 +356,9 @@
{
"loc": "https://coryd.dev/posts/2013/who-the-fraggle-designed-this"
},
{
"loc": "https://coryd.dev/posts/2024/dns-records-and-a-cloudflare-security-violation"
},
{
"loc": "https://coryd.dev/posts/2024/check-if-images-are-available-before-optimizing-in-eleventy"
},
@ -7085,6 +7088,9 @@
{
"loc": "https://coryd.dev/music/artists/home-is-where-united-states"
},
{
"loc": "https://coryd.dev/music/artists/the-wytches-united-kingdom"
},
{
"loc": "https://coryd.dev/music/artists/portal-australia"
},