docs/hgreview/static/review.less @ 48541d29e527
Merged in benallard/hg-review (pull request #1)
author |
Steve Losh <steve@stevelosh.com> |
date |
Wed, 29 Jun 2011 19:47:16 -0400 |
parents |
16b417409038 |
children |
(none) |
@import url("aal.css");
@c-cream: #edecc7;
@c-soft-cream: lighten(@c-cream, 10%);
@font-normal: Georgia, serif;
@font-mono: Monaco, Consolas, "Courier New", monospace;
@content-width: 840px;
.border-radius(@radius) {
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
border-radius: @radius;
}
body, html {
background-color: @c-soft-cream;
font-family: Georgia, serif;
color: #222;
a {
color: #b6410c;
text-decoration: none;
&:hover {
text-decoration: underline;
}
&.headerlink {
display: none;
}
}
h1, h2, h3, h4, h5, h6 {
font-weight: normal;
}
h1 {
letter-spacing: 1px;
}
ul {
list-style-type: none;
li {
margin-left: 0;
li {
margin-left: 1em;
}
}
}
}
.related {
display: none;
}
.document {
.border-radius(8px);
border: 1px solid @c-cream;
margin: 25px auto 0px;
padding: 0px 00px;
width: @content-width;
.documentwrapper {
.border-radius(8px);
background-color: lighten(@c-soft-cream, 3%);
float: left;
width: 100%;
.bodywrapper {
.border-radius(8px);
background-color: #fefefe;
margin-left: 230px;
border-left: 1px solid @c-cream;
padding: 20px 30px;
min-height: 700px;
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: 16px;
margin-bottom: 32px;
margin-top: -8px;
margin-left: 25px;
padding: 6px 8px;
width: @content-width - 302px;
overflow-x: auto;
}
span.pre {
background-color: lighten(@c-soft-cream, 2%);
border: 1px solid @c-cream;
padding: 0px 6px;
font-size: 13px;
font-family: @font-mono;
line-height: 24px;
white-space: pre;
}
ul {
list-style-type: disc;
li {
margin-left: 44px;
}
span.pre {
background-color: inherit;
border: none;
padding: 0;
}
li.toctree-l1 {
list-style-type: none;
margin-left: 0;
}
li.toctree-l2, li.toctree-l3 {
list-style-type: none;
margin-left: 30px;
}
}
a em {
font-style: normal;
}
tt.docutils.literal {
background-color: lighten(@c-soft-cream, 2%);
border: 1px solid @c-cream;
padding: 0px 6px;
font-size: 13px;
font-family: @font-mono;
line-height: 24px;
white-space: pre;
span.pre {
border: 0;
padding: 0;
}
}
.clear-code-effects {
border: none;
background: none;
padding: 0;
line-height: 1;
}
h1 tt.docutils.literal span.pre { margin: 0 0 0.75em; font-size: 2em; }
h2 tt.docutils.literal span.pre { margin: 0 0 1em; font-size: 1.5em; }
h3 tt.docutils.literal span.pre { margin: 0 0 1.286em; font-size: 1.167em; }
h4 tt.docutils.literal span.pre { margin: 0 0 1.5em; font-size: 1em; }
h5 tt.docutils.literal span.pre { margin: 0 0 1.8em; font-size: .834em; }
h6 tt.docutils.literal span.pre { margin: 0 0 2em; font-size: .75em; }
h1, h2, h3, h4, h5, h6 {
tt.docutils.literal {
.clear-code-effects;
span.pre {
font-weight: bold;
.clear-code-effects;
}
}
}
img {
margin-bottom: 21px;
}
}
}
.sphinxsidebar {
float: left;
margin-left: -100%;
width: 210px;
padding: 20px 20px;
#searchbox {
h3 {
margin-bottom: 8px;
}
form {
input:nth-child(1) {
border: 1px solid #999;
font-size: 16px;
}
input:nth-child(2) {
display: block;
margin-top: 6px;
width: 60px;
}
}
.searchtip {
display: none;
}
}
.sphinxsidebarwrapper {
h4 {
margin-bottom: 0;
}
h3:nth-of-type(2) {
display: none;
}
ul.this-page-menu {
display: none;
}
ul li a span.pre {
font-size: 14px;
line-height: 24px;
}
}
}
}
.clearer {
clear: both;
}
.footer {
width: @content-width;
margin: 8px auto 40px;
padding-right: 10px;
text-align: right;
font-style: italic;
}