about summary refs log tree commit homepage
path: root/contrib/css/216dark.css
DateCommit message (Collapse)
2021-08-16Duplicate base css definitions in stylesheets
All pages carry the following inlined css declaration: <style>pre{white-space:pre-wrap}*{font-size:100%;font-family:monospace}</style> However, site security policies may deliberately prohibit execution of inline content such as scripts and stylesheets as an extra layer of protection against XSS vulnerabilities. For example, with the following HTTP headers returned by the server, the inline styles above will be ignored: Content-Security-Policy: default-src 'self' This causes public-inbox content to be rendered poorly on mobile devices due to the default <pre> behaviour. Duplicating this declaration into the contrib stylesheets makes sure that these styles are applied even with the strictest security policies in place. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
2020-09-09contrib/css: limit <a> coloring to links, only
We don't want <a> tags without href= attributes to be colored, since the `<a id=mirror>' tag in the HTML footer is intended as an anchor destination for `<a href=#mirror>' link at the top.
2019-05-25contrib/css: mark as CC0 (public domain)
No reason to copyright colour schemes :P
2019-02-05wwwtext: inline sample CSS and use highlight
For user documentation regarding CSS; showing users the sample CSS with comments is probably more helpful than having standalone documentation on CSS classes.
2019-01-29css/216dark: add comments and tweak highlight colors
Overkill, but "highlight" supports single-line comments (slc) independently of multi-line comments (com); but we'll use the same color for that. We'll also use #0f0 instead of #0ff for "kwb" (keyword class "b") since blue shades are prevalent in <a> links and comments, while green was unused.
2019-01-27viewvcs: wire up syntax-highlighting for blobs
And update 216dark.css to match a color scheme I'm used to; which is fairly minimal and doesn't use all the classes "highlight" provides.
2019-01-20www: admin-configurable CSS via "publicinbox.css"
Maybe we'll default to a dark theme to promote energy savings... See contrib/css/README for details