Commit Graph

5 Commits

Author SHA1 Message Date
Emmanuel Gil Peyrot 6ff9b806de CSS: Improve the contrast for the dark theme
This was reported by this tool: https://wave.webaim.org/
2021-06-26 01:00:47 +02:00
Emmanuel Gil Peyrot ade694560c Add a dark theme for the XEPs
Fixes #1009.
2020-11-22 13:41:15 +01:00
Emmanuel Gil Peyrot 4732cf021a Remove executable bit from CSS and JS files. 2017-01-15 09:36:38 -06:00
Georg Lukas ae42b7761c Improve rendering of <example> and div.example HTML
This change unifiess the rendering for <example> and <div class=example>.
The former is rendered as HTML <pre>, the latter is taken over. This
patch does the following:

 * Merge <pre> CSS from prettify.js int xmpp.css
 * Give <pre> a blue-ish background derived from the caption color
 * Make the <pre> border use the caption color
 * Change div.example background color from neon yellow to a colder and lighter tone that matches the overall color theme
 * Add a border to div.example that fits its background color
 * Derive width for div.example from <pre>

P.S: Don't eat yellow snow!
2016-07-21 14:32:14 +02:00
Florian Schmaus caf3edbe4f Add xmpp.css and prettify.(css|js) 2015-07-29 23:02:54 +02:00