View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0002738 | websites | [All Projects] General | public | 2020-02-08 22:15 | 2020-02-24 11:05 | ||||||||
Reporter | Rava T | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | feedback | Resolution | reopened | ||||||||||
Platform | Linux x86-64 | OS | Slackware | OS Version | Slackware 14.2 | ||||||||
Summary | 0002738: Night mode for Netsurf | ||||||||||||
Description | I am aware that this is more a question about a feature, and less of a bug but after browsing http://www.netsurf-browser.org including its documentation I found no hint as how to accomplish my goal, therefore this report here. (I might have missed a info, though) I prefer a dark GUI and an inverted or Night Mode display on all browsers I use, with Palemoon I am quite happy using Advanced Night Mode AddOn. Sadly, there seems no way to define colour for: background, text, links and visited links in Netsurf. Maybe there is, but not via the standard Settings window. Any tips of how to accomplish a night mode for all visited local or remote sites or pages greatly appreciated. | ||||||||||||
Steps To Reproduce | All web pages loaded are standard display: usually white or bright background and dark text. I prefer bright green text and dark or better black background. | ||||||||||||
Tags | inverse colours night mode | ||||||||||||
URL of problem page | |||||||||||||
Attached Files |
|
Notes | |
Michael Drake (administrator) 2020-02-21 10:10 |
This sort of thing is done using a user stylesheet. https://www.mail-archive.com/netsurf-users@netsurf-browser.org/msg04000.html |
Rava T (reporter) 2020-02-21 18:03 |
Thanks Michael Drake, I created ~/.netsurf/user.css and put this into that css file: body { color:#6f3; background-color:#000; !important; } a:link { color:#66f; text-decoration:none; font-weight:bold; !important; } a:visited { color:#a6d; text-decoration:none; font-weight:bold; !important; } a:focus, a:hover { color:#f33; text-decoration:none; background-color:#fff; font-weight:bold; !important; } a:active { color:#fff; background-color:#000; font-weight:bold; !important; } Only then I did start netsurf, but unfortunately nothing is happening, the colours are the standard ones. What did I do wrong? My netsurf is: 3.9.4967 x86-64 Linux GTK3. |
Michael Drake (administrator) 2020-02-24 11:05 |
The path might actually be ~/.config/netsurf/user.css or something. I'm not sure where config files are stored. For the CSS, the "!important" should be after every property, rather than at the end of the rule. So, for example: body { color: #6f3 !important; background-color: #000 !important; } |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-02-08 22:15 | Rava T | New Issue | |
2020-02-08 22:15 | Rava T | Tag Attached: inverse colours night mode | |
2020-02-21 10:10 | Michael Drake | Status | new => closed |
2020-02-21 10:10 | Michael Drake | Resolution | open => no change required |
2020-02-21 10:10 | Michael Drake | Note Added: 0002168 | |
2020-02-21 18:03 | Rava T | Status | closed => feedback |
2020-02-21 18:03 | Rava T | Resolution | no change required => reopened |
2020-02-21 18:03 | Rava T | Note Added: 0002171 | |
2020-02-24 11:05 | Michael Drake | Note Added: 0002173 |