docs/hgreview/static/review.less @ 065cc3c25894
initial-docs
docs: add a content kick script
author |
Steve Losh <steve@stevelosh.com> |
date |
Sat, 03 Jul 2010 15:11:45 -0400 |
parents |
1f220b967ed8 |
children |
a0244dc7fae1 |
@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: 800px;
.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: 24px;
margin-bottom: 32px;
margin-top: -8px;
margin-left: 25px;
padding: 0px 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 {
span.pre {
background-color: inherit;
border: none;
padding: 0;
}
}
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;
}
}
}
}
.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;
}
}
}
}
.clearer {
clear: both;
}
.footer {
width: @content-width;
margin: 8px auto 40px;
padding-right: 10px;
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;
}
}