MANIFEST | 3 +++ contrib/css/216dark.css | 26 ++++++++++++++++++++++++++ contrib/css/216light.css | 25 +++++++++++++++++++++++++ contrib/css/README | 41 +++++++++++++++++++++++++++++++++++++++++ examples/public-inbox.psgi | 2 +- lib/PublicInbox/Config.pm | 3 +++ lib/PublicInbox/Hval.pm | 14 -------------- lib/PublicInbox/WWW.pm | 123 +++++++++++++++++++++++++++++++++++++++++++++++++++++ lib/PublicInbox/WwwStream.pm | 2 +- script/public-inbox-httpd | 2 +- t/view.t | 2 ++ diff --git a/MANIFEST b/MANIFEST index 5e980fe61130c36d0fa0cd300d90d9255b33dc8e..1db7bd114af6026589745fe45004cbf1d3d24298 100644 --- a/MANIFEST +++ b/MANIFEST @@ -26,6 +26,9 @@ MANIFEST Makefile.PL README TODO +contrib/css/216dark.css +contrib/css/216light.css +contrib/css/README contrib/selinux/el7/publicinbox.fc contrib/selinux/el7/publicinbox.te examples/README diff --git a/contrib/css/216dark.css b/contrib/css/216dark.css new file mode 100644 index 0000000000000000000000000000000000000000..2fd85d0815fef6ae4ac8dfec2131ca2c1d437159 --- /dev/null +++ b/contrib/css/216dark.css @@ -0,0 +1,26 @@ +/* + * Dark color scheme using 216 web-safe colors, inspired + * somewhat by the default color scheme in mutt. + * It reduces eyestrain for me, and energy usage for all: + * https://en.wikipedia.org/wiki/Light-on-dark_color_scheme + */ +* { background:#000; color:#ccc } + +/* + * Underlined links add visual noise which make them hard-to-read. + * Use colors to make them stand out, instead. + */ +a { color:#69f; text-decoration:none } +a:visited { color:#96f } + +/* quoted text gets a different color */ +*.q { color:#09f } + +/* + * these may be used with cgit, too + * (cgit uses