/*
Theme Name: dive into wordpress
Theme URI: http://god.morgon.nu/
Description: Minimal theme inspired by Mark Pilgrim's http://diveintomark.org/ by Andreas Cederström http://god.morgon.nu/
Version: 1.0
Author: Andreas Cederström
Author URI: http://god.morgon.nu/
Tags: minimal, one column, widgets

    dive into wordpress v1.0
    Löwbiff i wåffeljärnet = Köttwåfflor
    
    This theme was built by Andreas Cederström,
    whose blog you will find at http://god.morgon.nu/
    
    The design is based on Mark Pilgrim's work at
    http://diveintomark.org/
    Some CSS is based on blueprint
    http://blueprintcss.org
    
*/

/* -------------------------------------------------------------- 
  
   reset.css
   * Resets default browser CSS.
   
-------------------------------------------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body { 
  line-height: 1.5; 
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* Remove annoying border on linked images. */
a img { border: none; }

/* -------------------------------------------------------------- 
   
   typography.css
   * Sets up some sensible default typography.
   
-------------------------------------------------------------- */

body { 
  font-size: 100%;
  color: #222; 
  background: #fff;
  font-family: 'Gill Sans', 'Gill Sans MT', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  line-height: 1.75em;
  word-spacing: 0.1em;
  width: 40em;
  margin: 0 auto;
}


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; }

h1 { font-size: 2em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 1.6em; margin-bottom: 0.75em; }
h3 { font-size: 1.3em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

h1 img, h2 img, h3 img, 
h4 img, h5 img, h6 img {
  margin: 0;
}


/* Text elements
-------------------------------------------------------------- */

p           { margin: 0 0 1.5em; }

a:focus, 
a:hover     { color: #000; border-bottom: 1px solid; }
a           { color: #009; text-decoration: none; border-bottom: 1px dotted; }

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr,
acronym,
span.cap    { font-size: 0.9em; letter-spacing: .07em; border-bottom: 1px dashed #666;}
abbr, 
acronym     { cursor: help; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre 				{ margin: 1.5em 0; white-space: pre-wrap; }
pre,code,tt { font: 0.9em 'andale mono', 'lucida console', monospace; line-height: 1.5; }


/* Lists
-------------------------------------------------------------- */

li ul, 
li ol       { margin:0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; }
thead th 		{ background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 5px; }
tr.even td  { background: #e5ecf9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }


/* Misc classes
-------------------------------------------------------------- */

.small      { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large      { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide       { display: none; }

.quiet      { color: #666; }
.loud       { color: #000; }
.highlight  { background:#ff0; }
.added      { background:#060; color: #fff; }
.removed    { background:#900; color: #fff; }

/* theme
-------------------------------------------------------------- */

#header {
    padding: 1em;
    background: #f3f3f3;
    -moz-border-radius-bottomleft: 1em;
    -moz-border-radius-bottomright: 1em;
    -khtml-border-bottom-left-radius: 1em;
    -khtml-border-bottom-right-radius: 1em;
    -webkit-border-bottom-left-radius: 1em;
    -webkit-border-bottom-right-radius: 1em;
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
    margin-bottom: 1em;
    overflow: hidden;
}
#header h1 { float: left;margin-bottom: 0.25em; font-size: 3em;}
#header ul { float: right; list-style: none; margin-bottom: 0.25em; }

#footer {
    padding: 1em;
    background: #f3f3f3;
    -moz-border-radius-topleft: 1em;
    -moz-border-radius-topright: 1em;
    -khtml-border-top-left-radius: 1em;
    -khtml-border-top-right-radius: 1em;
    -webkit-border-top-left-radius: 1em;
    -webkit-border-top-right-radius: 1em;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
}
#footer p { margin: 0;}

#sidebar ul, #sidebar ul ol { margin: 0; padding: 0; }

#sidebar ul li {
    list-style-type: none;
    list-style-image: none;
    margin-bottom: 1.5em;
}

#sidebar h6 { background: #F3F3F3; padding-left: 1.75em; }

.center { text-align: center; }
hr { display: none; }

.archive th, .archive td { padding: 0; }
.archive th { padding-right: 1.75em; text-align: right; vertical-align:baseline; }
.archive tr.year th{ background: #f3f3f3; }
.archive .small { font-size: 0.625em; float:right;}

.post-title { margin: 0; }

.navigation {
    overflow: hidden;
    display: block;
    text-align: center;
    margin-bottom: 1.5em;
}

.wp-caption > a { border-bottom: none; text-decoration: none;}

.postmetadata {
    padding: 1em;
    background: #f3f3f3;
   -moz-border-radius: 1em;
   -khtml-border-radius: 1em;
   -webkit-border-radius: 1em;
   border-radius: 1em;
   clear: both;
}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
}

pre {
    background: #f3f3f3;
    padding: 1em;
    border-left: 5px solid #ddd;
}

code {
    background: #f3f3f3;
}


/* Begin Comments*/
.children { padding: 0; }

.commentlist { list-style: none; margin: 0; padding: 0;}
.commentlist ol, .commentlist ul { list-style: none; margin: 0; padding: 0; }
.commentlist li { border: 5px solid #f3f3f3;
   -moz-border-radius: 1em;
   -khtml-border-radius: 1em;
   -webkit-border-radius: 1em;
   border-radius: 1em;
   margin-bottom: 1.5em;
   padding: 1em 1em 0;
}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
}

li.byuser  {
    background: #f3f3f3;
}

.avatar {
    border: 1px solid #999;
    padding: 3px;
    background: #fff;
    float: left;
    margin-right: 0.75em;
}

.comment p { clear: both;}
/* End Comments */


/* Wordpress default *
-------------------------------------------------------------- */
.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
   float: left;
}

.alignright {
   float: right;
}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 5px;
   -khtml-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 0.75em;
   line-height: 1.4em;
   padding: 3px 4px 5px 4px;
   margin: 0;
}
