d/resources/style.less @ acb8934c9a3a

Make the templates unicode
author Steve Losh <steve@stevelosh.com>
date Wed, 02 Mar 2016 14:46:58 +0000
parents 3134a7a14ee0
children f2c975d76db1
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;
}
i, em {
    a {
        font-style: italic;
    }
}
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;
            }
        }
    }
    img {
        max-width: 500px;
    }
}