/*! Based on Typebase v0.1.0 | MIT License */

/* Setup */
html {
    color: $base-font-color;
    font-family: $base-font-stack;
    font-size: 18px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

/* Copy and Lists */
p {
    line-height: 1.5;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

ul,
ol {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

ul li,
ol li {
    line-height: 1.5;
}

ul ul,
ol ul,
ul ol,
ol ol {
    margin-top: 0;
    margin-bottom: 0;
}

blockquote {
    line-height: 1.5;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 1.5rem;
    margin-bottom: 0;
    line-height: 1.3;
}

h1,
h2.page-heading {
    font-size: 32px;
    line-height: 1.2;
}

h2 {
    font-size: 24px
}

h1.page-heading,
h2.page-heading {
    margin-top: 0;
}

h3 {
    font-size: 20px
}

h4 {
    font-size: 16px
}

h5 {
    font-size: 14px
}

h6 {
    font-size: 13.6px
}

/* Quotes */

blockquote {
    border-left: 5px $primary-color solid;
    padding: 10px 20px;
}

blockquote p:first-of-type {
    margin-top: 0;
}


/* Tables */
table {
	border-collapse: collapse;
	border-spacing: 0;
    line-height: 2;
    margin: 2rem 0;
	width: 100%;
	word-break: break-all;
}

tbody {
	border-bottom: 1px solid #eee;
}

td,
th {
	text-align: left;
}

td {
	border-top: 1px solid #eee;
	padding: 6px;
}

th {
	padding: 0 6px;
}

td:first-child,
th:first-child {
	padding-left: 0;
}


/* Code blocks */
code {
    vertical-align: bottom;
}

/* Images */
img {
    max-width: 100%;
}

.content img {
    margin-top: 1.5em;
}

/* Other */
kbd {
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;
    color: #333;
    display: inline-block;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 16px;
    line-height: 1.4;
    margin: 0 .1em;
    padding: .2em .6em;
    text-shadow: 0 1px 0 #fff;
}

@media only screen and (min-width: 960px) {
    .home .page-heading {
        font-size: 48px;
    }
}
