div.content {
    height: 100%;
}

div.content .inner {
    max-width: 650px;
    padding-left: 20px;
}

div.content .inner.articles {
    max-width: 800px;
}

/* sidebar styles */
.sidebar {
    padding-left: 20px;
    position: fixed;
    width: 14.52991452991453%;
    border-right: 3px solid #eee;
    height: 100%;
}

.sidebar h1 {
    font-size: 28px;
    color: brown;
}

.sidebar h1 a {
    color: inherit;
    text-decoration: none;
}

/* social links */
ul.social {
    padding-left: 12px;
}

ul.social li {
    padding: 0 2px;
    margin: 0;
}

a.social {
    height: 32px;
    width: 32px;
    display: block;
    background-repeat: no-repeat;
    background-size: 32px 64px;
    background-position: 1px -31px;
}
a.social:hover { background-position: 1px 1px; }

a.github { background-image: url('/img/github.png'); }
a.twitter { background-image: url('/img/twitter.png'); }
a.rss { background-image: url('/img/rss.png'); }
a.email { background-image: url('/img/email.png'); }


/* navigation links */
ul.links { padding-left: 18px; }
ul.links li { margin: 12px 0px; }
ul.links a {
    font-size: 18px;
    color: gray;
    border-bottom: 2px dotted #ddd;
}

ul.links a:hover {
    color: brown;
    text-decoration: none;
    border-bottom: 2px dotted brown;
}

/* Code snippet formatting */
div.highlight { background-color: #333; border-radius: 8px; }
div.highlight pre { margin: 0; padding: 15px; }
span.lineno { color: #aaa; }

/* Text content formatting */
h1, h2, h3, h4, h5, h6 { font-family: sans-serif; }

li, p, blockquote p {
    font-family: serif;
    font-size: 20px;
    line-height: 32px;
    margin: 40px 0 40px;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 22px;
}

h3 {
    margin-top: 30px;
    font-size: 18px;
    color: #666;
}

h2 {
    margin-top: 50px;
}

.author {
    margin-bottom: 30px;
}

.footer {
    border-top: 1px solid #eee;
    margin-top: 20px;
    padding: 20px 10px;
}

.post-date {
    text-align: right;
}

@media screen and (max-width: 1200px){
    ul.social { width: 100px; }
}

@media screen and (max-width: 767px){
    .sidebar { border-bottom: 2px solid #eee; padding-left:0; height: inherit; border-right: 0;}
    ul.links { margin-top: 18px; }
    ul.links li {display: inline-block; margin: 0px 16px 12px 0px; }
    ul.links a { font-size: 16px; }
    div.sidebar { position: static; width: auto; }
    ul.social { width: auto; position: absolute; left: 180px; top: 2px; }
    div.content { border-left: 0; }
    div.content .inner { padding: 0; }
    div.post-date { text-align: left; }
}
