/* ==================================================
   Reset base
   ================================================== */

html, body, div, span, h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, address, code, del, dfn, em,
img, ins, kbd, q, s, samp, small, strike, strong, sub, sup,
tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label,
legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, header, footer, nav {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

/* ==================================================
   Base
   ================================================== */

body {
  font-family: 'Inconsolata', Courier;
  text-rendering: optimizeLegibility;
  background: #201F1E!important;
  color: white;
  padding: 3% 10%;
}

a {
  text-decoration: none;
  color: #666;
}

li {
  list-style-type: none;
}

/* ==================================================
   Header
   ================================================== */

header {
  display: block;
  position: relative;
  padding: 15px 0 0 15px;
  width: 100%;
  margin: 0 auto;
}

header h1 {
  display: inline;
  font-size: 42px;
  font-weight: bold;
  color: white;
}

header h1 a {
  color: white;
}

header p.meta,
header h1 small {
  font-size: 18px;
  color: #999;
  display: block;
  margin-top: 4px;
}

nav {
  display: inline;
  margin-bottom: 15px;
}

nav a {
  margin-left: 20px;
}

/* ==================================================
   Content
   ================================================== */

#content {
  display: block;
  width: 90%;
  margin: 20px auto;
  padding: 15px;
}

@media screen and (min-width: 1024px) {
  #content {
    width: 800px;
  }
  header {
    width: 800px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 800px) {
  img {
    max-width: 90%;
  }
}

/* ==================================================
   Lista articoli (index)
   ================================================== */

.article-list li {
  margin-bottom: 24px;
}

.article-list h2 {
  display: inline;
  font-size: 22px;
  color: white;
}

.article-list h2 a {
  color: white;
}

.article-list p.excerpt {
  font-size: 14px;
  color: #999;
  margin-top: 6px;
  margin-left: 0;
}

/* ==================================================
   Articolo singolo
   ================================================== */

article {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
}

article h1.article-title {
  font-size: 30px;
  color: white;
  margin-bottom: 6px;
}

article .meta {
  color: #999;
  font-size: 18px;
  margin-bottom: 20px;
  display: block;
}

article p {
  font-size: 16px;
  color: white;
  margin-bottom: 14px;
 font-size: 18px;
 line-height: 1.3;
}

article a {
  color: #666;
  text-decoration: underline;
}

/* ==================================================
   Contatore visite
   ================================================== */

.visit-counter {
  margin-top: 40px;
  padding-top: 10px;
  border-top: 1px white solid;
  color: #999;
  font-size: 14px;
}

/* ==================================================
   Back link
   ================================================== */

.back-link {
  display: block;
  margin-top: 20px;
  color: #666;
}

.back-link:hover {
  text-decoration: underline;
}

/* ==================================================
   Footer
   ================================================== */

footer {
  display: block;
  border-top: 1px #ccc solid;
  text-align: center;
  color: #ccc;
  font-size: 14px;
  margin: 30px auto 20px;
  padding-top: 15px;
  width: 90%;
}

@media screen and (min-width: 1024px) {
  footer {
    width: 800px;
  }
}
