1f220b967ed8 initial-docs

docs: clean up the sidebar and adjust code block style
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 03 Jul 2010 14:46:40 -0400
parents 84b11de68417
children 065cc3c25894
branches/tags initial-docs
files docs/hgreview/static/review.css docs/hgreview/static/review.less

Changes

--- a/docs/hgreview/static/review.css	Sat Jul 03 14:28:27 2010 -0400
+++ b/docs/hgreview/static/review.css	Sat Jul 03 14:46:40 2010 -0400
@@ -72,13 +72,15 @@
 }
 .document .documentwrapper .bodywrapper div pre {
   border: 1px solid #edecc7;
+  border-right: none;
   background-color: #fbfbf3;
+  background-color: #f8f7e8;
   font-size: 13px;
   font-family: Monaco, Consolas, "Courier New", monospace;
   line-height: 24px;
   margin-bottom: 32px;
   margin-top: -8px;
-  margin-left: 24px;
+  margin-left: 25px;
   padding: 0px 8px;
   width: 498px;
   overflow-x: auto;
@@ -144,3 +146,12 @@
   text-align: right;
   font-style: italic;
 }
+.sphinxsidebar .sphinxsidebarwrapper h4 {
+  margin-bottom: 0;
+}
+.sphinxsidebar .sphinxsidebarwrapper h3:nth-of-type(2) {
+  display: none;
+}
+.sphinxsidebar .sphinxsidebarwrapper ul.this-page-menu {
+  display: none;
+}
--- a/docs/hgreview/static/review.less	Sat Jul 03 14:28:27 2010 -0400
+++ b/docs/hgreview/static/review.less	Sat Jul 03 14:46:40 2010 -0400
@@ -73,13 +73,15 @@
 
             div pre {
                 border: 1px solid @c-cream;
+                border-right: none;
                 background-color: lighten(@c-soft-cream, 3%);
+                background-color: @c-soft-cream;
                 font-size: 13px;
                 font-family: @font-mono;
                 line-height: 24px;
                 margin-bottom: 32px;
                 margin-top: -8px;
-                margin-left: 24px;
+                margin-left: 25px;
                 padding: 0px 8px;
                 width: @content-width - 302px;
                 overflow-x: auto;
@@ -156,3 +158,14 @@
     text-align: right;
     font-style: italic;
 }
+.sphinxsidebar .sphinxsidebarwrapper {
+    h4 {
+        margin-bottom: 0;
+    }
+    h3:nth-of-type(2) {
+        display: none;
+    }
+    ul.this-page-menu {
+        display: none;
+    }
+}