Closed james-see closed 1 year ago
You can get away with a pseudo css class, example:
body:has(main):has(content):has(ul.blog-posts) {
background-color: black;
}
but that seems really hacky and limited.
I've added class names to the root of each page. You can set styles using the following:
.home {} # homepage
.page {}
.post {}
.blog {} # blog list
.subscribe {} # email newsletter signup
Feature request if this does not exist yet.