MantisBT - websites |
View Issue Details |
|
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 |
---|
URL of problem page | |
---|
|
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 |
---|
Relationships | |
Attached Files | |
---|
Notes |
|
|
|
|
(0002171)
|
Rava T
|
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. |
|
|
|
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;
} |
|