diff options
| author | Cameron McEfee <cameron@github.com> | 2011-05-18 11:52:30 -0700 |
|---|---|---|
| committer | Cameron McEfee <cameron@github.com> | 2011-05-18 11:52:30 -0700 |
| commit | 2fc38e4dbefcdf144966841a528f6dbd3e510c82 (patch) | |
| tree | a948154f01baec0ecc6c4e2ebac1c30af7d8f149 /shared/css/documentation.css | |
| parent | 285d585d55e5ffa1ed5b82c4d7fb50dd43599025 (diff) | |
update global files to fix categroy hover issue
Diffstat (limited to 'shared/css/documentation.css')
| -rw-r--r-- | shared/css/documentation.css | 42 |
1 files changed, 32 insertions, 10 deletions
diff --git a/shared/css/documentation.css b/shared/css/documentation.css index 3460c4b..6c4b529 100644 --- a/shared/css/documentation.css +++ b/shared/css/documentation.css @@ -13,13 +13,17 @@ body { } p { - margin-bottom: 1em; + margin: 1em 0; } h1 { font-size: 20px; border-bottom: 1px solid #cccccc; padding: .5em 0; + margin: 2em 0 1em; +} + +h1:first-child { margin: 0 0 1em; } @@ -195,14 +199,21 @@ div.sidebar-module li { div.sidebar-module > ul > li { border-bottom: 1px solid #CACACA; + text-decoration: none; +} + +div.sidebar-module > ul > li:hover { + text-decoration: none; } + div.sidebar-module > ul h3 { margin: 0px; color: #666; text-shadow: 1px 1px 0px #fff; - background-color: #f1f1f1; border-bottom: 1px solid #CACACA; + font-size: 14px; + background-color: #e1e1e1; background-image: -moz-linear-gradient(top, #f1f1f1, #e1e1e1); background-image: -ms-linear-gradient(top, #f1f1f1, #e1e1e1); background-image: -o-linear-gradient(top, #f1f1f1, #e1e1e1); @@ -210,11 +221,10 @@ div.sidebar-module > ul h3 { background-image: -webkit-linear-gradient(top, #f1f1f1, #e1e1e1); background-image: linear-gradient(top, #f1f1f1, #e1e1e1); filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f1f1f1', EndColorStr='#e1e1e1'); - font-size: 14px; } -div.sidebar-module > ul h3:hover { - text-decoration: none; +div.sidebar-module > ul li h3:hover, +div.sidebar-module > ul h3.disable { background-color: #e1e1e1; background-image: -moz-linear-gradient(top, #e1e1e1, #d1d1d1); background-image: -ms-linear-gradient(top, #e1e1e1, #d1d1d1); @@ -226,13 +236,21 @@ div.sidebar-module > ul h3:hover { } -div.sidebar-module > ul h3 a { +div.sidebar-module > ul h3 a, +div.sidebar-module > ul h3.disable span { padding: 8px 0px 8px 10px; color: #666; display: block; text-decoration: none; } +div.sidebar-module > ul h3.disable span { + padding-left: 20px; + background-image: url(/shared/images/active-arrow.png); + background-position: left center; + background-repeat: no-repeat; + cursor: default; +} div.sidebar-module > ul h3:hover a { text-decoration: none; } @@ -373,6 +391,7 @@ div.sidebar-module ul ul li span { position: relative; float: left; color: #393939; + z-index: 2; } .content dl { @@ -452,8 +471,7 @@ pre { border: 1px solid #cacaca; line-height: 1.2em; font: 12px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace; - margin-bottom: 1em; - padding: 1em; + padding: 10px; overflow:auto; -webkit-border-radius: 3px; -moz-border-radius: 3px; @@ -463,9 +481,15 @@ pre { background-clip: padding-box; background-color: #FAFAFB; color: #393939; + margin: 0px; +} + +ul + pre { + margin-top: 1em; } pre code {white-space: pre;} + pre span.comment {color: #aaa;} pre.headers { @@ -509,7 +533,6 @@ pre.highlight { pre.terminal { background-color: #444; color: #fff; - display: block; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; @@ -582,7 +605,6 @@ span.codeline:hover em { pre.bootcamp { white-space: normal; margin-left: -10px; - margin-bottom: 1.5em; background-image: none; } |
