/*
mcherm - a theme for Michael Chermside's blog,
  based on relapse - a Pelican theme using Bootstrap 
  https://github.com/wamonite/relapse
*/
@media screen and (min-width: 767px) {
    header {
        margin-top: 2px;
        height: 120px;
    }
    header .container h1 {
        font-family: Trebuchet MS, Verdana, Helvetica, sans-serif;
        font-size: 28pt;
        border-bottom: 0px;
        text-shadow: 2px 2px 5px #000000;
    }
    header .container h1 .subtitle {
        font-size: 14pt;
        line-height: 24px;
    }
    section#body {
        background-image:url('/theme/images/header_shadow.png');
        background-position: top;
        background-repeat: repeat-x;
        padding-top: 10px;
    }
    header .container h1::before {
        content: " ";
        background-image: url(/theme/images/HereBeDragons.png);
        background-repeat: no-repeat;
        position: absolute;
        top: 2px;
        left: 10px;
        height: 127px;
        width: 97px;
    }
    header .container h1::after {
        content: " ";
        background-image: url(/theme/images/animated_dragon_2.gif);
        background-repeat: no-repeat;
        position: absolute;
        top: 0px;
        right: 10px;
        height: 140px;
        width: 550px;
        z-index: 5;
    }
}

@media screen and (max-width: 767px) {
    header .container h1 {
        font-family: Trebuchet MS, Verdana, Helvetica, sans-serif;
        font-size: 28pt;
        border-bottom: 0px;
        text-shadow: 1px 1px 3px #000000;
    }
    header .container h1 .subtitle {
        font-size: 14pt;
        line-height: 20px;
    }
}

header {
    background-color: #9309da;
}
header .container h1 {
    color: #ffffff;
    text-align: center;
}
header .container h1 a {
    color: #ffffff;
}
header .container h1 a:hover {
    color: #dddddd;
}
header .container h1 {
    margin: 10px 0 10px;
    padding-bottom: 10px;
}
article {
    border-top: 5px solid #000000;
}
article:first-of-type {
    border-top: 0px;
}
a,a:hover {
    text-decoration: none;
}
h1,h2,h3,h4,h5,h6 {
    border-bottom: 1px solid #bbb;
}
section#body nav {
    margin-bottom: 0px
}
article .info {
    font-size: smaller;
}
nav.pagination {
    text-align: center;
}
footer {
    margin-top: 20px;
    text-align: center;
    border-top: 1px solid #bbb;
}
code {
    color: #333;
}

ul.bookmarks li {
    background-color: #e5e5e5;
    background-image: linear-gradient(to bottom, #f0f0f0, #d8d8d8);
    background-repeat: repeat-x;
    line-height: auto;
    margin: 6px 3px 0px 3px;
    padding: 4px;
    border: 1px solid #b0b0b0;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.067);
}

div.bookmark-title {
    font-size: 12px;
    font-weight: bold;
}

div.bookmark-notes {
    font-size: 12px;
}

img {
    margin: 4px;
}
