Entries tagged "css"

December 7th, 2020
December 7th, 2020

New theme for 2021

I don't care if it's not 2021 yet. I'm starting now, with Picnic CSS for the foundation.

Funny thing about 20 year old sites. They take more than a weekend to revamp. Still kind of funky, but I'll fix it eventually.

2022 at the latest.

February 23rd, 2020

Sort of Tufte CSS

I tried something new with my site style.

February 2nd, 2020

Added dark mode for the site

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 stylesheet short version.

: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);
1 of 1 pages (There are 6 items)

Other Links

Liberapay is patronage for the FOSS and CC community.

Become a patron!