hg-review/_static/review.less @ 08c786bf864c

hg-review: Update documentation.
author Steve Losh <steve@stevelosh.com>
date Mon, 14 Jun 2010 23:35:03 -0400
parents (none)
children 3d3a3f9e8d6c
@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;
                background-color: lighten(@c-soft-cream, 3%);
                font-size: 13px;
                font-family: @font-mono;
                line-height: 24px;
                margin-bottom: 32px;
                margin-top: -8px;
                margin-left: 24px;
                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;
}