Collecting my attempts to improve at tech, art, and life

2020-02-02

Tags: hackers-town twitter look

Does any of this enlighten, entertain, or otherwise please you? Please consider a Tip. Every little bit helps!

I last updated this page

Added dark mode for the site

cover-added-dark-mode-for-the-site.png

Got tired of blowing my eyeballs out during evening work.

How? I used prefers-color-scheme. It tries to respect existing light/dark mode settings. Here’s the CSS short version.

Code Sample
    :root {
  --text-color:                 hsl(0, 0%, 0%);
  --content-background-color:   hsla(0, 0%, 100%, 0.8);
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-color:               hsl(0, 0%, 100%);
    --content-background-color: hsla(0, 0%, 0%, 0.8);
  }
}

#page-content {
   background-color: var(--content-background-color)
   color:            var(--text-color);
}
  

Activity Log

hackers.town: 2020-02-02 Sun 03:49

Down to two major tasks for the hugo -> nikola conversion (redirects and content images).

Sometime after that I’ll decide if I actually want to use it!

task list for nikola site conversion

Twitter: 2020-02-02 Sun 12:47

Sometimes it’s the only way to learn why. Production IPC is a hundred badgers wearing bow ties. Nobody tells you what the bow ties are for but you better not forget them!

https://twitter.com/JmacDotOrg/status/1224053878968111105

Twitter: 2020-02-02 Sun 12:52

now just a minute

https://twitter.com/generativist/status/1224057770095390724

hackers.town: 2020-02-02 Sun 13:01

Looking at Eleventy docs again, because I love its core concepts. But I promised myself to focus on Python, to get better at work.

Just saw how to implement the core Eleventy ideas in my own Python site generator.

oh no

Twitter: 2020-02-02 Sun 16:02

Allaire HomeSite

https://twitter.com/GonzoHacker/status/1223790216105865218

Twitter: 2020-02-02 Sun 17:30

Give

https://fraidyc.at/

if you haven’t already. Nice to have a newsfeed option besides “firehose” and “somebody else’s algorithm.”

https://twitter.com/JmacDotOrg/status/1223607646797881344

hackers.town: 2020-02-02 Sun 21:08

I wrote a note:

Added dark mode for the site

https://randomgeekery.org/note/2020/33/added-dark-mode-for-the-site/

hackers.town: 2020-02-02 Sun 23:15

(“delete & re-draft” is one nifty Mastodon feature)

Kind of a long read on the history of CSS, so maybe skip it if you have work to do.

Oops.

Also, an exception to “don’t read the comments.”

https://eev.ee/blog/2020/02/01/old-css-new-css/

Twitter: 2020-02-02 Sun 23:32

I admit this was more charitable than the wish I was shaking the monkey paw for.

https://twitter.com/IamMrsGeek/status/1224197576976556032