roul/_dmedia/style.less @ cb51d5fdb559

clojure-lanterna: Update site.
author Steve Losh <steve@stevelosh.com>
date Thu, 27 Feb 2014 21:18:52 -0500
parents ff4f055bb7f9
children 0be66a504a79
html {
    overflow-y: scroll;
}
.wrap {
    width: 500px;
    margin: 40px auto 180px;
}
h1, h2, h3 {
    a {
        color: #404040;

        &:hover {
            color: #0069d6;
            text-decoration: none;
        }
    }
}
h2 {
    font-size: 18px;
}
h3 {
    font-size: 16px;
}
h4 {
    font-size: 14px;
}
h5 {
    font-size: 12px;
}
pre {
    line-height: 16px;
    white-space: pre;
    overflow-x: auto;
}
ol, ul {
    margin-bottom: 9px;

    li {
        color: #404040;
    }
}
footer {
    text-align: center;
}
body.index {
    header {
        text-align: center;

        h1 {
            font-size: 56px/1;
            margin-bottom: 40px;
        }
    }
    ol.toc {
        list-style-type: none;
        margin-left: 0;

        li {
            font-size: 16px;
            line-height: 1.25;

        }
    }
}
body.content {
    header {
        float: right;
        position: relative;
        min-width: 150px;

        h1 {
            text-align: right;
            font-size: 24px;
            line-height: 1;
            margin-top: 10px;
        }
    }
    .toc {
        ul {
            list-style-type: none;
            margin-left: 0px;

            ul {
                margin-left: 20px;
            }
        }
    }
}