css

The cascading style system is used on the Web to define page style.

Media Queries

Dark theme

You can define style for user that enable a dark theme. In firefox, it is safer to set it manually.

@media (prefers-color-scheme: dark) {
    html{
        --background-color: #313543;
        --text-color: white;
    }
}

Aral Balkan also wrote an article about that.

This post accepts webmentions. Do you have the URL to your post?

Otherwise, send your comment on my service.

Or interact from the fediverse with your username: