Commit Graph

7 Commits

Author SHA1 Message Date
Jonas Schäfer a032d17204 Hotfix against the web server misconfiguration
xmpp.v2.css isn’t served from the xeps docker, making all XEPs
render without CSS.
2019-04-06 10:58:04 +02:00
Sam Whited b75992b648 Hide overflow (with scroll) on long code blocks
Also, retab for consistency
2017-09-21 14:04:27 -05:00
Sam Whited 33d928f681 Limit text width of XEPs on large viewports 2017-09-17 10:47:58 -05:00
Emmanuel Gil Peyrot fe9d3969fd Remove trailing whitespaces in every non-XEP file. 2017-02-16 19:37:21 -06: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