Open rodarima opened 1 month ago
Hmm, I see that increasing the default margin breaks too many websites. Probably it is only okay to make it 8 or 10 px.
The default background color #dcd1ba is also too dark by default. The idea that we should not use too bright colors is good, but I don't think it should be addressed at the browser level by default, as there are tools that dimm bright colors on the whole system.
The spec recommend the canvas to be white by default, so I think it would be expected to switch it. Of course users can choose any other value in the config.
Until
margin:auto
is supported, we have a lot of pages showing text glued to the Dillo window. Disabling CSS styles cause the default body margin of 5px to take effect. This margin is too small for computer screens, which is the default target.It can be overrided by user styles
~/.dillo/style.css
, but we should select a reasonable default.Here is an example where this happens: https://washbear.neocities.org/browsers
And this is how it looks with CSS disabled and the margin increased to 2.5em:
Similarly, we may want to increase the default font size and the line height.
Here is the recommended style for HTML4 CSS2: https://drafts.csswg.org/css2/#html-stylesheet
Also: https://html.spec.whatwg.org/multipage/rendering.html