remove specificity from post specific css
This commit is contained in:
parent
bb0feb7a67
commit
e86447e051
1 changed files with 7 additions and 7 deletions
|
|
@ -1,16 +1,16 @@
|
|||
.post .prose h1 {
|
||||
.post h1 {
|
||||
font-size: var(--size-step-6);
|
||||
}
|
||||
|
||||
.post .prose h2 {
|
||||
.post h2 {
|
||||
font-size: var(--size-step-3);
|
||||
}
|
||||
|
||||
.post .prose h3 {
|
||||
.post h3 {
|
||||
font-size: var(--size-step-2);
|
||||
}
|
||||
|
||||
.post .prose img {
|
||||
.post img {
|
||||
max-inline-size: var(--max-img-width, 100%);
|
||||
block-size: auto;
|
||||
aspect-ratio: 16/9;
|
||||
|
|
@ -18,12 +18,12 @@
|
|||
object-position: center;
|
||||
}
|
||||
|
||||
.post .prose date {
|
||||
.post date {
|
||||
font-size: var(--size-step-1);
|
||||
color: var(--color-text-light);
|
||||
}
|
||||
|
||||
.post .prose .credit {
|
||||
.post .credit {
|
||||
font-size: var(--size-step-min-1);
|
||||
color: var(--color-text-accent);
|
||||
background-color: var(--color-bg);
|
||||
|
|
@ -33,6 +33,6 @@
|
|||
max-inline-size: fit-content;
|
||||
}
|
||||
|
||||
.post .prose .meta {
|
||||
.post .meta {
|
||||
font-size: var(--size-step-min-1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue