/*
Theme Name: Nick Says Theme
Theme URI: http://www.nicksays.co.uk
Description: Nick Says WordPress Theme
Author: Nick Jones <nick@nicksays.co.uk>
Version: 1.0
*/

/** Utility **/
header, footer, nav, article, time { display:block; }

* {
    font:100.01%/1 cambria,georgia,times,serif;
    color: #333;
}

body {
    background: #fff;
    width: 700px;
    margin: auto;
    padding-bottom: 40px;
}

header {
    text-align: center;
}

img {
    border: 0px;
}

h1, h2, h3, h4 {
    color: #222;
    font-weight: normal;
    line-height: 1.1em;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.4em;
}

p, blockquote {
    font-size: 1em;
    line-height: 1.5em;
}

a {
    padding: 0 2px;
    text-decoration: none;
    border-bottom: 1px dotted #333;
}

a:hover {
    background: #F9FDA2;
    text-decoration: none;
    border-bottom:1px dotted #ccc;
    padding: 0 2px;
}

a.image, a.image:hover {
    background: transparent;
    border: 0px;
    padding: inherit;
}

br.clear {
    clear: both;
}

a.button {
    padding: 10px;
    background: url(images/rsz_magento_icon.png) 10px 6px no-repeat;
    border: 1px solid #eee;
    padding-left: 40px;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FFFFFF), to(#ccc));

    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;

    box-shadow: 0px 0px 3px #666;
    -moz-box-shadow: 0px 0px 3px #666;
    -webkit-box-shadow: 0px 0px 3px #666;
    
    display: block;
    margin: auto;
    max-width: 400px;
}

/** Specific **/

header h1 {
    font-size: 4em;
    font-style: italic;
    margin-bottom: 0;
    margin-top: 0.5em;
}

header h1#title-main a {
    font-style: italic;
    border-bottom: none;
}

article.post time, li.index time {
    float: left;
    font-size: 0.75em;
    margin-top: 1.4em;
    margin-right: 1em;
    width: 130px;
}

article.post header h1, li.index h1{
    float: left;
    font-size: 1.5em;
    text-align: left;
    max-width: 570px;
    line-height: 1.3em;
}

article.post p {
    clear: both;
    padding-top: 10px;
}

article.post p strong {
    font-weight: bold;
}

article.post pre {
    overflow: auto;
}

article.post code {
    font-family: monospace;
    font-size: 12px;
}

article.post footer {
    text-align: right;
}

li.index {
    list-style: none;
}

#search {
    width: 646px;
    padding: 5px;
}

footer#footer {
    font-size: 1em;
    width: 100%;
    padding: 10px;
    text-align:center;
    color: #ccc;
}

.pager {
    padding: 0;
    border-top: 1px dotted #ccc;
    padding-top: 20px;
    margin-top: 20px;
}

.pager li {
    list-style: none;
}

.pager li.previous {
    float: left;
    padding-bottom: 10px;
}

.pager li.next {
    float: right;
}

em {
    font-style: italic;
}

#content > ul {
    padding-left: 0;
}

/** Top links */
.toplinks {
    background: #F9FDA2;
    padding: 20px;
    width: 70%;
    margin: auto;
    margin-top: 20px;
}

.toplinks h4 {
    padding: 0; margin: 0;
    font-weight: bold;
}

.toplinks ul {
    margin-bottom: 0px;
    padding-left: 30px;
}

.toplinks ul li {
    line-height: 2em;
}

/** Progressive CSS **/
.cssgradients body {
    background: -moz-linear-gradient(top, #c9c9c9, #fff 150px) no-repeat #fff;
}

