Author Topic: Protecting your eyes with this stylesheet  (Read 4111 times)

0 Members and 1 Guest are viewing this topic.

Offline Darksair

  • Thread Starter
  • Posts: 39
  • Location: Mars
    • My Homepage
Protecting your eyes with this stylesheet
« on: Tue, 11 July 2017, 16:25:00 »
https://gist.github.com/MetroWind/821a015d357cf6834f0e1eb33fe9b64d

This is a simple CSS for Geekhack, with bigger font size and some other typographical adjustments.  You need a browser extension like Stylish to use it.  Enjoy~

Previews:




Offline Eszett

  • Posts: 543
  • Supporting the communities Geekhack & Deskthority
Re: Protecting your eyes with this stylesheet
« Reply #1 on: Tue, 11 July 2017, 17:14:57 »
I think that is a honourable offer, but I protect my eyes already with this standard stylecheet, see attachement.
Or is there anything that your stylesheet improves on it? White text on black background makes me dizzy after a while.
« Last Edit: Tue, 11 July 2017, 17:16:42 by Eszett »

Offline xondat

  • i'm not a star
  • * Maker
  • Posts: 5366
  • Location: United Kingdom
Re: Protecting your eyes with this stylesheet
« Reply #2 on: Tue, 11 July 2017, 17:35:10 »
Part of the forum experience is that they don't look good :))

I won't be using it, but I appreciate the effort.

Offline Darksair

  • Thread Starter
  • Posts: 39
  • Location: Mars
    • My Homepage
Re: Protecting your eyes with this stylesheet
« Reply #3 on: Tue, 11 July 2017, 17:36:35 »
I think that is a honourable offer, but I protect my eyes already with this standard stylecheet, see attachement.
Or is there anything that your stylesheet improves on it? White text on black background makes me dizzy after a while.

For me it's really the font size, line height, and text width.  I have max-width in my CSS.
« Last Edit: Tue, 11 July 2017, 17:40:00 by Darksair »

Offline Darksair

  • Thread Starter
  • Posts: 39
  • Location: Mars
    • My Homepage
Re: Protecting your eyes with this stylesheet
« Reply #4 on: Tue, 11 July 2017, 17:37:40 »
Part of the forum experience is that they don't look good :))

I won't be using it, but I appreciate the effort.

Well even with the CSS it's still pretty terrible… So no worry of a lesser experience there~~

Offline tp4tissue

  • * Destiny Supporter
  • Posts: 13561
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Re: Protecting your eyes with this stylesheet
« Reply #5 on: Tue, 11 July 2017, 17:37:41 »
The eyes of Tp4         

Gray on Black,   Complete protection
//

173034-0

Offline Darksair

  • Thread Starter
  • Posts: 39
  • Location: Mars
    • My Homepage
Re: Protecting your eyes with this stylesheet
« Reply #6 on: Tue, 11 July 2017, 17:39:08 »

Offline xtrafrood

  • formerly csmertx
  • * Elevated Elder
  • Posts: 2715
  • Location: Gainesville, FL
  • wildling
Re: Protecting your eyes with this stylesheet
« Reply #7 on: Tue, 11 July 2017, 18:46:36 »
From this post I learned to change my w3m theme. Even though I never use w3m. So thank you : )

Offline nmur

  • ಠ_ಠ
  • Posts: 1539
  • Location: Sydney
Re: Protecting your eyes with this stylesheet
« Reply #8 on: Tue, 11 July 2017, 18:51:06 »
i use dis

logo removed for work browsing ;)


Offline Findecanor

  • Posts: 5036
  • Location: Koriko
Re: Protecting your eyes with this stylesheet
« Reply #9 on: Tue, 11 July 2017, 18:52:08 »
I agree with Ezsett. The built-in light theme is superior.

You chose a font that is better suited for headings than for body text. And BTW, on white-on-black, the author had intended that you would use a slightly bolder version of the font.
Your choice of large blocks of saturated colour is harder to read and harder on the eyes, not better.

Some sizes are more than twice as large as others, which is harder to read.
Some text is too large for me on my 100 PPI screen/70 cm viewing distance. You should use the unit pt instead of px, so that font size is relative to the resolution of the user's monitor and settings.

Offline Darksair

  • Thread Starter
  • Posts: 39
  • Location: Mars
    • My Homepage
Re: Protecting your eyes with this stylesheet
« Reply #10 on: Tue, 11 July 2017, 19:10:28 »
You chose a font that is better suited for headings than for body text. And BTW, on white-on-black, the author had intended that you would use a slightly bolder version of the font.

No argument here…

Your choice of large blocks of saturated colour is harder to read and harder on the eyes, not better.

Ehh?  I didn't change any of the colors…

Some sizes are more than twice as large as others, which is harder to read.

This is intentional.  This way I know where to look at…   So at least for me it's easier to read.

Some text is too large for me on my 100 PPI screen/70 cm viewing distance. You should use the unit pt instead of px, so that font size is relative to the resolution of the user's monitor and settings.

You are right.  On my own version I indeed use pt.  The problem of using points is that it doesn't work on Windows, because MS insists that all screens are 72dpi (at least for the last time I checked, maybe things are better in Win10).  And there maybe inconsistency among browsers as well.

My own dev environment involves only Apple devices and Safari, so I can use pt without problem.  Texts are the same physical size across all the monitors and iPads.  But outside my environment, I cannot rely on pt to give meaningful result.

It's kinda sad that today when 200dpi+ monitors are popular, people still say things like "Generally, 1em = 12pt = 16px = 100%"… This was said in a blog post in 2008, and people are still quoting it in stackoverflow and tutorials…

BTW do you know that all CSS colors displayed in Chrome are wrong…?  :eek: https://bugs.chromium.org/p/chromium/issues/detail?id=44872
« Last Edit: Tue, 11 July 2017, 20:16:32 by Darksair »

Offline Darksair

  • Thread Starter
  • Posts: 39
  • Location: Mars
    • My Homepage
Re: Protecting your eyes with this stylesheet
« Reply #11 on: Tue, 11 July 2017, 19:16:00 »
From this post I learned to change my w3m theme. Even though I never use w3m. So thank you : )

Yo Elinks and eww are better  :))

Offline xtrafrood

  • formerly csmertx
  • * Elevated Elder
  • Posts: 2715
  • Location: Gainesville, FL
  • wildling
Re: Protecting your eyes with this stylesheet
« Reply #12 on: Tue, 11 July 2017, 19:22:53 »
From this post I learned to change my w3m theme. Even though I never use w3m. So thank you : )

Yo Elinks and eww are better  :))

Used Elinks and VIM on several occasions to help me learn some Python. EWW? EMACS? I'd have nightmares for months haha