public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH htdocs 2/2] css: add dark mode support
Date: Wed, 11 Jan 2023 23:47:50 -0500	[thread overview]
Message-ID: <20230112044750.10509-2-vapier@gentoo.org> (raw)
In-Reply-To: <20230112044750.10509-1-vapier@gentoo.org>

---
 css/site.css | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/css/site.css b/css/site.css
index 824a5b9573bb..0252f5602ead 100644
--- a/css/site.css
+++ b/css/site.css
@@ -14,3 +14,22 @@ a:active {
 a:visited {
   color: #90D;
 }
+
+@media (prefers-color-scheme: dark) {
+  body {
+    background-color: #333;
+    color: #FFF;
+  }
+
+  a:link {
+    color: #8CB4FF;
+  }
+
+  a:active {
+    color: #0FF;
+  }
+
+  a:visited {
+    color: #8CB400;
+  }
+}
-- 
2.39.0


  reply	other threads:[~2023-01-12  4:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-12  4:47 [PATCH htdocs 1/2] css: start a file to hold common content Mike Frysinger
2023-01-12  4:47 ` Mike Frysinger [this message]
2023-10-16 10:12 ` Mike Frysinger
2023-10-20 17:11   ` Tom Tromey
2023-11-29  8:05     ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230112044750.10509-2-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).