# HG changeset patch # User Steve Losh # Date 1278182800 14400 # Node ID 1f220b967ed8c9db8b067451826b90b61a2129b4 # Parent 84b11de6841736f18232ed445a63acf900955c42 docs: clean up the sidebar and adjust code block style diff -r 84b11de68417 -r 1f220b967ed8 docs/hgreview/static/review.css --- 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; +} diff -r 84b11de68417 -r 1f220b967ed8 docs/hgreview/static/review.less --- 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; + } +}