snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit ceda5bab31c4eb06aa528c6e3cce8928ce987acb
parent 29f2160b58123fdde08318b069198d2e0bdf0ac6
Author: default <nobody@localhost>
Date:   Sat,  3 Feb 2024 07:36:17 +0100

Also add dark mode CSS to utils.c.

Diffstat:
Mutils.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/utils.c b/utils.c @@ -62,6 +62,11 @@ static const char *default_css = ".snac-btn-unlimit { float: right; margin-left: 0.5em }\n" ".snac-footer { margin-top: 2em; font-size: 75% }\n" ".snac-poll-result { margin-left: auto; margin-right: auto; }\n" + "@media (prefers-color-scheme: dark) { \n" + " body { background-color: #000; color: #fff; }\n" + " a { color: #7799dd }\n" + " a:visited { color: #aa99dd }\n" + "}\n" ; const char *snac_blurb =