Live data from Hacker News

You want enabling CSS selectors, not disabling ones

css-tricks.com

101–110 of 120 posts

Re: You want enabling CSS selectors, not disabling ones

#101
post #95

Earlier quoted context omitted.

As a European, I find it quite amusing that religion is so central to american culture, that they even figured out a way to make a christian version of atheism.

As a fellow European, I feel we have nothing to be amused about. What the church thinks still has excessive weight in lawmaking and people's opinions. Publicly funded schools have "religion" classes where the local mainstream christianity variant is the main content. And the tax authority is still tasked with collecting the "church tax".

In Germany, I was pleasantly surprised that some parties up for election have (regionally) expressed the will to abolish relgion-based studies in public schools. It makes me a bit hopeful, especially since I recently got the impression that young people are skewing more religious again. I have also seen some proposals to abolish the laws currently prohibiting singing and dancing during certain religious holidays.

Re: You want enabling CSS selectors, not disabling ones

#102
post #100
post #99

Earlier quoted context omitted.

How so? Religion is still central in many countries in Europe, eg Croatia, Poland, etc. It's even getting stronger as the populace is leaning more to the right every day. Plenty of religious people in the media here raving against covid vaccines etc.

You're definitely right technically. The problem is that Europe is split up into dozens of countries with very somewhat different values and cultures, so whenever you say "In Europe X happens", then you can always invoke some version of your argument. Europe is France, Netherlands, Albania, Moldova. All of these are very different in various statistics.

You can say the same thing about the US. The cultural values of Massachusetts are radically different from the cultural values of Mississippi.

Re: You want enabling CSS selectors, not disabling ones

#103
post #65

Earlier quoted context omitted.

I don't understand their complaint either. Some people have a hard time with absolute black on absolute white (and/or vice versa) so easing up a little can be helpful. It's a small difference, 19:52:1 vs. 21:1 contrast ratio. I've seen advice to avoid exceeding 18:1 in large areas, maybe #111 on #f9f9f9.

How do you calculate the contrast ratio?

The WebAIM contrast checker web page is one of many. It's nice because the colors have lightness sliders so one can quickly try alternatives then copy the hex values into your CSS.

I like checking with Lea Verou's https://contrast-ratio.com because it can check colors written in many different formats, not just hex. Also, it can do +/- contrast ranges when colors include the alpha channel.

In the Chrome and Firefox DevTools, you often can simply click the color swatch for the `color` property. The pop-up includes the contrast number vs. the background-color for that text and whether or not it meets a Web Content Accessibility Guidelines (WCAG) contrast criteria (Level AA if it's 4.5 or above for regular-sized text, Level AAA if its 7 or above for regular-sized text).

Re: You want enabling CSS selectors, not disabling ones

#104
post #65

Earlier quoted context omitted.

I don't understand their complaint either. Some people have a hard time with absolute black on absolute white (and/or vice versa) so easing up a little can be helpful. It's a small difference, 19:52:1 vs. 21:1 contrast ratio. I've seen advice to avoid exceeding 18:1 in large areas, maybe #111 on #f9f9f9.

We tend to focus only on the accessibility issues caused by low contrast, but very high contrast also makes reading more difficult, especially for people with dyslexia -- and it's also more likely to cause eye strain if it's a full-length article. At any rate, "it's okay for text not to be pure black and backgrounds not to be pure white" has become my tiny hill to die on.

Maybe browsers should go back to using a gray background by default, but less gray than one Mosaic and the other used.

Re: You want enabling CSS selectors, not disabling ones

#105
post #95

Earlier quoted context omitted.

As a European, I find it quite amusing that religion is so central to american culture, that they even figured out a way to make a christian version of atheism.

As a fellow European, I feel we have nothing to be amused about. What the church thinks still has excessive weight in lawmaking and people's opinions. Publicly funded schools have "religion" classes where the local mainstream christianity variant is the main content. And the tax authority is still tasked with collecting the "church tax".

As former resident of several European countries, I find your statement, while not entirely incorrect, a bit too "blanketing".

All this may be quite dependent on where you live (the mention of the "church tax" makes me suppose Germany, as they have a Kirchensteuer, but I'm sure other countries must have a similar tax). In any case, there are European countries without church tax, beyond normal taxes that could be used for preservation of historical sites, religious or otherwise (which I agree may be somewhat biased in what religious sites can pretend to be considered historical).

Similarly, many countries do not have "religion" classes in "publicly funded schools", especially in countries that are (supposedly or admittedly) laic. That being said, there's also often a bias there as a lot of holidays are tied to religion and Christianity in particular, and it'd be quite common to explain in class the origin and nature of these holidays. I'd hardly think it counts as "religion" class, though, but that'd depend on what the teachers do.

Re: You want enabling CSS selectors, not disabling ones

#106
post #95

Earlier quoted context omitted.

As a European, I find it quite amusing that religion is so central to american culture, that they even figured out a way to make a christian version of atheism.

As a fellow European, I feel we have nothing to be amused about. What the church thinks still has excessive weight in lawmaking and people's opinions. Publicly funded schools have "religion" classes where the local mainstream christianity variant is the main content. And the tax authority is still tasked with collecting the "church tax".

You are right, we Europeans still have more we need to do before we are truly secular.

But, I still find this funny.

Re: You want enabling CSS selectors, not disabling ones

#107
post #100

Earlier quoted context omitted.

You're definitely right technically. The problem is that Europe is split up into dozens of countries with very somewhat different values and cultures, so whenever you say "In Europe X happens", then you can always invoke some version of your argument. Europe is France, Netherlands, Albania, Moldova. All of these are very different in various statistics.

You can say the same thing about the US. The cultural values of Massachusetts are radically different from the cultural values of Mississippi.

To some degree yes, but mainstream US is still far more culturally uniform from state to state than Europe's countries are. In Europe most of countries are nation-based and as such encapsulate also all the possible differences in ethnicities, languages, culture, religion and history to a much higher degree. Imagine each race/denomination/ethical group in US having their own independent state with their own laws and ways of life, and you get something like Europe.

Re: You want enabling CSS selectors, not disabling ones

#108
post #89
post #79

Earlier quoted context omitted.

I was trying to figure out what font they are using and when I was inspecting the page I found the comment below. I have nothing in particular to say about it. I just thought it was interesting.

Pretty sure that is from the church of satan. Which is not about worshiping satan but more humanist / atheist / there is no god but you should still be a force for good. It's just that their imagery is intentionally quite jarring to christians. To quote the satanists. It is not them who believe in Satan, its the christians who believe in Satan.

>It's just that their imagery is intentionally quite jarring to christians. To quote the satanists. It is not them who believe in Satan, its the christians who believe in Satan.

Seems anti-social, especially when injected into a non-religious context like a site about web design.

Re: You want enabling CSS selectors, not disabling ones

#109
post #99

Earlier quoted context omitted.

As a European, I find it quite amusing that religion is so central to american culture, that they even figured out a way to make a christian version of atheism.

How so? Religion is still central in many countries in Europe, eg Croatia, Poland, etc. It's even getting stronger as the populace is leaning more to the right every day. Plenty of religious people in the media here raving against covid vaccines etc.

I have never been to Croatia or Poland, but of course you are right in that there are European countries where religion has a more central role than in other European countries.

But, how common is it really in Croatia or Poland to use christian terms such as "satanist" when you want to say that you are an atheist?

Re: You want enabling CSS selectors, not disabling ones

#110
post #100

Earlier quoted context omitted.

You're definitely right technically. The problem is that Europe is split up into dozens of countries with very somewhat different values and cultures, so whenever you say "In Europe X happens", then you can always invoke some version of your argument. Europe is France, Netherlands, Albania, Moldova. All of these are very different in various statistics.

You can say the same thing about the US. The cultural values of Massachusetts are radically different from the cultural values of Mississippi.

But there is still a common language in the us. And national TV-networks with lots of viewers in both those states.

Neither of those are true for Europe.

I would argue that it is fair to say that the US is more homogeneous than Europe, especially if you are talking about the entire Europe, and not just the EU.

Post reply on HN