You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by js...@apache.org on 2016/05/25 17:30:51 UTC

[trafficserver] branch master updated: docs: update documentation stylesheets to allow wide tables

This is an automated email from the ASF dual-hosted git repository.

jsime pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  3b6db01   docs: update documentation stylesheets to allow wide tables
3b6db01 is described below

commit 3b6db0163621c6fd02daadcf9bf059b0b2f4bea7
Author: Jon Sime <js...@apache.org>
AuthorDate: Wed May 25 16:46:36 2016 +0000

    docs: update documentation stylesheets to allow wide tables
---
 doc/static/override.css | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/doc/static/override.css b/doc/static/override.css
index b7940a3..57cfd51 100644
--- a/doc/static/override.css
+++ b/doc/static/override.css
@@ -28,3 +28,24 @@ span.pre {
 nav.wy-nav-side {
     padding-bottom: 3em;
 }
+
+/* Allow content area to expand so that some elements (e.g. tables) may fill up
+   horizontal space as necessary, while limiting the width of general paragraph
+   and list elements. Eye-tracking with really wide blocks of text is error
+   prone and makes reading more difficult, but having large tables with many
+   columns use all available space can be a big win. */
+div.wy-nav-content {
+    max-width: 100%;
+}
+.rst-content p,
+.rst-content ol,
+.rst-content ul,
+.rst-content dd,
+.rst-content blockquote,
+.rst-content .admonition,
+.rst-content .rst-footer-buttons,
+div.highlight-c, div.highlight-cpp, div.highlight-http, div.highlight-perl,
+div.highlight-python, div.highlight-sh
+{
+    max-width: 800px;
+}

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].