Skip to content

Commit

Permalink
nytprofhtml CSS: Play nicer with themes
Browse files Browse the repository at this point in the history
Fixes problems with dark desktop themes (light font on light background, barely
links).

Just sets the colors on the BODY element and trusts in inheritance.

Also, set the color of unvisited links - which will propbably be set by the
(dark) theme, too.
  • Loading branch information
Sebastian Rose, Hannover, Germany committed Oct 8, 2016
1 parent b929e28 commit a81500c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/nytprofhtml
Expand Up @@ -1778,10 +1778,11 @@ sub get_css {
*/
/* Note: default values use the color-safe web palette. */
a { color: blue; }
a:visited { color: #6d00E6; }
a:hover { color: red; }
body { font-family: sans-serif; margin: 0px; }
body { font-family: sans-serif; margin: 0px; background-color: white; color:#222; }
.body_content { margin: 8px; }
.header { font-family: sans-serif; padding-left: 0.5em; padding-right: 0.5em; }
Expand Down

0 comments on commit a81500c

Please sign in to comment.