remove specificity from post specific css

This commit is contained in:
madrilene 2024-10-28 11:21:43 +01:00
parent bb0feb7a67
commit e86447e051

View file

@ -1,16 +1,16 @@
.post .prose h1 { .post h1 {
font-size: var(--size-step-6); font-size: var(--size-step-6);
} }
.post .prose h2 { .post h2 {
font-size: var(--size-step-3); font-size: var(--size-step-3);
} }
.post .prose h3 { .post h3 {
font-size: var(--size-step-2); font-size: var(--size-step-2);
} }
.post .prose img { .post img {
max-inline-size: var(--max-img-width, 100%); max-inline-size: var(--max-img-width, 100%);
block-size: auto; block-size: auto;
aspect-ratio: 16/9; aspect-ratio: 16/9;
@ -18,12 +18,12 @@
object-position: center; object-position: center;
} }
.post .prose date { .post date {
font-size: var(--size-step-1); font-size: var(--size-step-1);
color: var(--color-text-light); color: var(--color-text-light);
} }
.post .prose .credit { .post .credit {
font-size: var(--size-step-min-1); font-size: var(--size-step-min-1);
color: var(--color-text-accent); color: var(--color-text-accent);
background-color: var(--color-bg); background-color: var(--color-bg);
@ -33,6 +33,6 @@
max-inline-size: fit-content; max-inline-size: fit-content;
} }
.post .prose .meta { .post .meta {
font-size: var(--size-step-min-1); font-size: var(--size-step-min-1);
} }