From: "Jose E. Marchesi" <jemarch@gnu.org>
To: Mike Frysinger via Cgen <cgen@sourceware.org>
Cc: Mike Frysinger <vapier@gentoo.org>
Subject: Re: [PATCH htdocs] add dark mode support
Date: Fri, 22 Dec 2023 11:57:38 +0100 [thread overview]
Message-ID: <87o7eipkrh.fsf@gnu.org> (raw)
In-Reply-To: <ZYTpFJsZiDHJ7mXQ@vapier> (Mike Frysinger via Cgen's message of "Thu, 21 Dec 2023 20:40:36 -0500")
OK. Thanks.
> Very basic, but gets the job done.
>
> Index: index.html
> ===================================================================
> RCS file: /cvs/cgen/htdocs/index.html,v
> retrieving revision 1.31
> diff -u -p -r1.31 index.html
> --- index.html 22 Dec 2023 01:25:42 -0000 1.31
> +++ index.html 22 Dec 2023 01:39:24 -0000
> @@ -2,6 +2,24 @@
> <head>
> <title>CGEN</title>
> <meta name="viewport" content="width=device-width, initial-scale=1.0">
> +
> +<style type="text/css"><!--
> +body {
> + background-color: white;
> + color: black;
> +}
> +
> +@media (prefers-color-scheme: dark) {
> + body {
> + background-color: #333;
> + color: #FFF;
> + }
> +
> + a:link {
> + color: #8CB4FF;
> + }
> +}
> +--></style>
> </head>
> <body>
>
prev parent reply other threads:[~2023-12-22 10:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-22 1:40 Mike Frysinger
2023-12-22 10:57 ` Jose E. Marchesi [this message]
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=87o7eipkrh.fsf@gnu.org \
--to=jemarch@gnu.org \
--cc=cgen@sourceware.org \
--cc=vapier@gentoo.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).