media/css/base.less @ 091ccc78e104

blog: add the translation branches entry
author Steve Losh <steve@stevelosh.com>
date Thu, 10 Jun 2010 21:46:09 -0400
parents 9f117cd3d2cf
children 8534b74192a8
/* @override http://localhost:8080/media/css/base.css */

@pink: #e50053;
@bodytext: #111111;

/* Main layout styles. */
html {
    overflow-y: scroll;
}
body {
    font-family: "Helvetica Neue", HelveticaNeue, Arial, Helvetica, sans-serif;
    color: @bodytext;
}
div#main-wrap {
    width: 62em;
    margin: 0 auto;
    margin-bottom: 5em;
}
div#content {
    width: 48em;
}
div#header {
    margin-bottom: 1.5em;
    overflow: visible;
    white-space: nowrap;
    
    h1 {
        margin-top: 0.5em;
        margin-bottom: 0;
        letter-spacing: -3px;
        font-size: 3em;
        font-weight: normal;
        font-family: "Helvetica Neue", HelveticaNeue, Arial, Helvetica, sans-serif;
        display: inline;
        line-height: 1.5em;
    }
    
    span.page-title {
        color: #666;
        text-transform: lowercase;
    }
}
div#nav {
    float: right;
    width: 10em;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 2em;
    -webkit-text-size-adjust: 100%;
    
    ul {
        li {
            list-style: none;
            border-bottom: 1px solid #eee;
        }
        
        li:last-child {
            border-bottom: none;
        }
    }
    
    a {
        border: none;
        font-style: normal;
        color: @bodytext;
    }
    
    a:hover {
        color: @pink;
        text-decoration: none;
    }
}
div#splash-info {
    font-size: 1.5em;
    line-height: 2em;
    text-align: right;
    color: #888;
    font-family: "Helvetica Neue Light", HelveticaNeue-Light, Arial, Helvetica, sans-serif;
    -webkit-text-size-adjust: 100%;
    
    ul li {
        margin: 0;
        list-style: none;
        border-bottom: 1px solid #eee;
    }
    
    ul li:last-child {
        border-bottom: none;
    }
}
div#section-listing {
    font-size: 1.5em;
    font-weight: bold;
    line-height: 2em;
    color: #888;
    -webkit-text-size-adjust: 100%;
    
    ol {
        list-style: none;
        
        li {
            border-bottom: 1px solid #eee;
            margin: 0;
            
            a {
                color: @bodytext;
            }
            
            a:hover {
                color: @pink;
                text-decoration: none;
            }
            
            span.snip {
                font-size: 0.65em;
                line-height: 1em;
                margin-left: 0.5em;
                font-weight: normal;
            }
        }
        
        li:last-child {
            border-bottom: none;
        }
    }
}

/* Link styles. */
a {
    text-decoration: none;
    color: @pink;
}
a:hover {
    text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
    a {
        color: @bodytext;
    }
    
    a:hover {
        color: @pink;
        text-decoration: none;
    }
}

/* Code styles. */
code, pre {
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 12px;
    line-height: 21px;
}
p code, li code {
    border: 1px solid #ccc;
    background-color: #fafafa;
    padding: 1px 3px;
    white-space: nowrap;
}
pre {
    border: 1px solid #ccc;
    background-color: #fafafa;
    padding: 0px 5px;
    margin-left: 2em;
    overflow: auto;
}
.dsq-comment-message code {
    display: block;
    white-space: pre;
    border: 1px solid #ccc;
    background-color: #fafafa;
    padding: 0px 5px;
    margin-left: 2em;
    overflow: auto;
}

/* Quoting styles. */
blockquote {
    border: 1px solid #ccc;
    background-color: #fafafa;
    padding: 0px 5px;
    margin-left: 2em;
    overflow: auto;
    
    p:last-child {
        margin-bottom: 0;
    }
}
span.dquo {
    margin-left: -0.23em;
}

/* Table of Contents styles. */
div.toc {
    ul {
        list-style: none;
    }
    
    ul:first-child>li {
        margin-left: 0em;
    }
}

/* Ampersand styles. */
span.amp {
    font-family: "Palatino", "Constantia", "Palatino Linotype", serif;
    font-style: italic;
}
div#section-listing ol li a span.amp {
    font-weight: bold;
    line-height: 0.85em;
    font-size: 1.1em;
    color: inherit;
}
h1, h2, h3, h4, h5, h6 {
    span.amp {
        font-weight: bold;
        line-height: 0.5em;
        font-size: 1.1em;
        color: inherit;
    }
}
span.page-title span.amp {
    font-weight: normal;
    font-size: 1em;
    line-height: 0.5em;
}

/* Article styles. */
div#leaf-stats p {
    color: #666;
    margin-top: -1em;
    margin-bottom: 1em;
}

/* Image styles. */
div#leaf-content {
    img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        border: 1.43em solid #e5e5e5;
        padding: 1px;
        background: black;
    }
    img.left, img.right {
        border: none;
        background: none;
        padding: none;
    }
    img.left {
         margin: 0 1.5em 1em 0;
    }
    img.right {
        margin: 0 0 .75em 1em;
    }
    div.gallery img {
        background: none;
        padding: 0;
        border: none;
        display: inline;
        margin-bottom: 1.5em;
        margin-right: 1.5em;
    }
}
div#leaf-content.with-diagrams img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    background: none;
    border: none;
}

/* Comment styles. */
h1#comment-header {
    margin-top: 1.5em;
}
div#disqus_thread {
    ul#dsq-comments li div div {
        font-size: 14px;
    }
    ul#dsq-comments li {
        margin-bottom: 2em;
    }
    div.dsq-comment-message blockquote {
        margin-bottom: 0em;
    }
}
div#dsq-comments-title h3 {
    font-size: 14px;
    font-weight: normal;
    color: #666;
    margin-top: -1em;
    margin-bottom: 1em;
}
div.dsq-options {
    display: none;
}
div#content div#disqus_thread ul#dsq-comments li div table tbody tr {
    background: #eee;
}
div#content div#disqus_thread ul#dsq-comments li div table {
    background: #e5e5e5;
    border: 1px solid #bbb;
}
div#dsq-new-post.dsq-post-area {
    margin-top: 2.25em;
}
div#dsq-thread-settings.dsq-thread-settings {
    margin-top: 2em;
    margin-bottom: 0em;
    font-size: 14px;
}
div#disqus_thread table tbody tr td.dsq-request-user-name small,
#dsq-new-post div.dsq-request-user-info a {
    font-size: 14px;
}

/* Tag styles. */
div#section-tags {
    margin: 0 0 0 0.4em;
    display: inline-block;
    font-family: "Helvetica Neue Light", HelveticaNeue-Light, "Helvetica Neue", HelveticaNeue, Arial, Helvetica, sans-serif;
    p {
        font-size: 1.1em;
        line-height: 1.05em;
        margin: 0;
           
        a {
            color: #666;
        }
        a:hover {
            color: @pink;
            text-decoration: none;
        }
    }
    div.section-tags-col {
        display: inline-block;
        margin-right: 1em;
    }
}