[yt-svn] commit/yt: ngoldbaum: Fixing one more minor css issue. Adding comments to custom.css.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Jul 31 01:42:48 PDT 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/b244a2f91e1b/
Changeset:   b244a2f91e1b
Branch:      yt-3.0
User:        ngoldbaum
Date:        2014-07-31 10:41:20
Summary:     Fixing one more minor css issue.  Adding comments to custom.css.
Affected #:  1 file

diff -r 63103665c6dc4656107d2f5d98c15efd43f6ad57 -r b244a2f91e1b86c6ae6e403c61e945182521d72c doc/source/_static/custom.css
--- a/doc/source/_static/custom.css
+++ b/doc/source/_static/custom.css
@@ -7,6 +7,13 @@
     margin-left: 30px;
 }
 
+/*
+
+Collapse the navbar when its width is less than 1200 pixels.  This may need to
+be adjusted if the navbar menu changes.
+
+*/
+
 @media (max-width: 1200px) {
     .navbar-header {
         float: none;
@@ -34,15 +41,47 @@
     }
 }
 
+/* 
+
+Sphinx code literals conflict with the notebook code tag, so we special-case
+literals that are inside text.
+
+*/
+
 p code {
     color:  #d14;    
     white-space: nowrap;
 }
 
-tbody td.label {
-    color: #000000;
+/*
+
+Nicer, controllable formatting for tables that have multi-line headers.
+
+*/
+
+th.head {
+    white-space: pre;
 }
 
+/*
+
+labels have a crappy default color that is almost invisible in our doc theme so
+we use a darker color.
+
+*/
+
+.label {
+    color: #333333;
+}
+
+/*
+
+Hack to prevent internal link targets being positioned behind the navbar.
+
+See: https://github.com/twbs/bootstrap/issues/1768
+
+*/
+
 *[id]:before { 
   display: block; 
   content: " ";

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list