~humaid/huma.id

e10b9db9e9eee5882843df39400a2f02602f65ca — Humaid AlQassimi 6 months ago e523438
Add dark mode, improve syntax theme, and fix image in barista page.

Also updated projects page description.
M assets/main.css => assets/main.css +25 -3
@@ 119,7 119,7 @@ footer {
}

footer a {
    color: #eeeeee;
  color: #eeeeee;
}

footer p {


@@ 139,15 139,19 @@ img {
/* Code blocks */
pre {
  font-family: "SFMono-Regular","Menlo","Consolas","Liberation Mono","Courier New",monospace;
  background-color: #eee;
  background-color: #130e24;
  color: #e5e5e5;
  padding: 0.25rem 1rem;
  margin: 0 -1rem;
  overflow-x: auto;
  font-size: 11pt;
  border-radius: 3px;
}

code {
  background-color: #eee;
  background-color: #130e24;
  color: #e5e5e5;
  border-radius: 3px;
  font-size: 12pt;
}



@@ 176,3 180,21 @@ code {
    padding: 0 10%;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background: url("/bg-dark.webp") repeat scroll 0% 0%, #252525 none repeat scroll 0% 0%;
  }
  h1, h2, h3, h4, h5, h6 {
    color: #eee;
  }
  main {
    background-color: #303030 !important;
  }
  a {
    color: #acbbf9;
  }
  body {
    color: #eee;
  }
}

M assets/syntax.css => assets/syntax.css +5 -2
@@ 1,2 1,5 @@
.chroma .k, .chroma .kc, .chroma .kt, .chroma .kn, .chroma .kd { color: #0000ff }
.chroma .ch, .chroma .cm, .chroma .c1 { color: #8f5902 }
.chroma .k, .chroma .kc, .chroma .kn, .chroma .kd { color: #729fcf }
.chroma .ch, .chroma .cm, .chroma .c1 { color: #888a85 }
.chroma .nf { color: #edd400 }
.chroma .kt { color: #8ae234 }
.chroma .p { color: #8c8c8c }

M content/blog/barista-express.md => content/blog/barista-express.md +1 -1
@@ 6,7 6,7 @@ aliases:
url: "/barista"
---

![A picture of the Barista Express, with a knock box on the right](machine.jpeg)
![A picture of the Barista Express, with a knock box on the right](/blog/barista-express/machine.jpeg)

The Barista Express by Breville is my first (and current) espresso machine. It
is wonderful as it has a built-in grinder, and includes most of the tools and

M content/projects/_index.md => content/projects/_index.md +2 -1
@@ 6,4 6,5 @@ aliases:
  - /p
---

These are some of the projects I have worked on...
Here is a list of (mostly) open-source projects that I have worked on. Each
project has descriptions and usage information.

A static/bg-dark.webp => static/bg-dark.webp +0 -0