@mawr I am not familiar with the language. What does this line mean, and why is it bad?

@Felthry This is a CSS rule. CSS is laid out roughly like so:

<element restriction> {
<thing to change>: <change> <modifier>;
}

In this case, it's saying

<All elements> {
<font boldness>: <standard> !<even if later rules try to make something bold or thin>;
}

Basically, that rule makes it so that bold tags like <b> or <strong> just simply don't work the way they're supposed to

Follow

@Felthry And any time you tell something to be bold or thin, it just won't be unless you add that !important to it, which means you can't override it later

@mawr @Felthry About the only way I'd accept it is if it came out of a userscript file. Then it'd make sense.

I have several small scripts for preventing sites from overriding user-selected fonts, including for Mastodon-related sites. Fortunately, Mastodon isn't guilty of !important abuse. Someday I'll run across some site that thinks its body-text font is worth a double !important, and I will call upon dark forces to retaliate.

The _darkest_ forces. *cute little pegasus-pony stamps her hoof*

@ElectricKeet @mawr Well, like I said, it'd also make sense as part of evil.css :P

Sign in to participate in the conversation
Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!