/* style.css blog_md */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* end of meyer reset */

body { background-color: antiquewhite;}
#wrapper {
    background-color: darkslategrey;
    width: 80%;
    margin: auto;
}
header {
    background-color:floralwhite;
    padding:20px;
}

nav ul {
    list-style-type: none;  
    font-size: 0;
}
nav ul li {
    display: inline-block;
    width: 20%;
    margin:2.5%;
    background-color:peachpuff;
    text-align: center;
    border-radius: 6px;
    font-size: 14pt;
    cursor: pointer;
}
#sidebar {
    width: 180px;
    padding: 10px;
    background-color:white;
    float: left;

}
#content {
    margin-left: 200px;
    background-color: darkgray;
    padding: 10px;
}
footer {
    background-color: black;
    height: 50px;
    color: azure;
}
.clearfloat {
    height: 0;
    line-height: 0;
    clear: both;
}
    article.post {
        background-color:beige;
        padding: 20px;
        border: solid 1px black;
}
article.post h2 {
    font-family: sans-serif;
    font-size: 28pt;
    color: coral;
}
article.post.postContent{
    font-family:serif;
    font-size: 14pt;
    color:blue;
}
article.post.postMeta{
    font-family: sans-serif;
    font-size: 9pt;
    color: rgb(100,100,100);
}
article.post.postPic {
    width:100px;
    height: auto;
}

}
/* media query for smaller screen */

@media all and (max-width: 700px) {
    #sidebar {
        display: none;
    }
    #content {
        margin-left: 0;
    }  

}

/* media query for phone screen */

@media all and (max-width: 600px) {
    #sidebar {
        display: none;
    }
    #content {
        margin-left: 0;
    }  
    #wrapper {
        margin: 0;
        width: 100%;
    }
    nav ul {
        height: 22px;
        overflow: hidden;
    }
    nav ul li {
        display: block;
        width: 100%;
        margin: 0;
        height: 22px;
    }
    header {
        padding: 0;
    }
}

