/* 
   This file is released into the public domain.
*/

:root {
    --main-width: 35rem;
}

@media (max-width: 500px) {
    :root {
	--main-width: 100%;
    }
}

nav {
    width: var(--main-width);
    margin: auto;
    overflow: auto;
    background-color: #f3f3f3;
}

nav span#menu {
    float: right;
}

nav span#logo {
    float: left;
}

nav a {
    padding: 1rem;
    display: inline-block;
    background-color: #f3f3f3;
}

div#content, div#comments {
    width: calc(var(--main-width) - 1rem);
    margin: auto;
    margin-bottom: 2rem;
    line-height: 1.6;
}

footer {
    width: var(--main-width);
    margin: auto;
    padding-top: .5rem;
    border-top-color: grey;
    border-top-style: solid;
}

footer > div {
    margin: auto;
    display: flex;
    justify-content: center;
}

a {
    text-decoration: none;
}

a:hover{
    background-color: #ddd;
}

blockquote {
    border-left: .3rem solid #ccc;
    padding-left: 1rem;
}

li.postlistitem{
    margin-bottom: .5rem;
}

ul.postlist{
    list-style-type: none;
    padding: 0;
}

footer img {
    height: 2.2rem;
    margin: .1rem;
}

img {
    max-width: 100%;
    height: auto;
}
