/* Shared styles for all things pages. Edit here and every Things page updates. */

/* The navbar is "fixed" (floats on top), so push the content down below it. */
body {
    padding-top: 70px;
}

/* Keep text at a comfortable reading width instead of stretching across the screen. */
.things-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px 15px 60px 15px;
}

.post-meta {
    color: #777;
    font-size: 0.9em;
    margin-bottom: 20px;
}

/* The list of posts on the Things home page */
.post-list {
    list-style: none;
    padding-left: 0;
}

.post-list li {
    margin-bottom: 1.5em;
}

.post-list .post-title {
    font-size: 1.3em;
    font-weight: bold;
}

.post-list .post-date {
    color: #777;
    font-size: 0.9em;
}

/* Images inside entries shrink to fit on phones */
.things-container img {
    max-width: 100%;
    height: auto;
}

/* Responsive video wrapper: keeps embedded videos 16:9 and fits any screen width */
.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
