/*
Eggplant: a github pages theme
By Michael Parenteau, @parenteau
License: 
  The Muthaefffing OpenSource 
  (Use what/how/ever the f*k you like)
*/

@import url(reset.css);

/* BASIC HTML
========================================================*/
body {
  background-color: #f7f7f7;
  color: #666;
  font-size: 65%;
  line-height: 1.5;
  font-family: 'PT Serif', serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #ffc;
}

/* FONT STUFF, LINKS, LISTS & TABLES
========================================================*/
h1, h2, h3, h4, h5, h6 { 
  color: #333; 
  line-height: 1.2;
  margin-bottom: 10px;
}
h1 {
  font-size: 4.8em;
  letter-spacing: -1px;
}
h2 { font-size: 4em; }
h3 { font-size: 3em; }
h4 { font-size: 2.4em; }
h5 { font-size: 2.2em; }
h6, p, blockquote, dt, dd { font-size: 2em; }
li {
  font-size: 1.8em;
  line-height: 1.2;
}
p, ul, ol, dl, pre, blockquote { margin-bottom: 20px; }
ul li { list-style-type: disc; }
ol li { list-style-type: decimal; }
em, blockquote { font-style: italic }
strong, dt { font-weight: bold; }
dd { margin-left: 20px }
blockquote {
  display: block;
  padding-left: 25px;
  margin: 20px 0 20px 15px ;
  border-left: 2px solid #ccc;
}
pre {
  background: #ebebeb;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.15), 
              0 1px 0 rgba(255,255,255,0.2);
  padding: 15px;
  color: #666;
  font-size: 1.6em;
}
pre, code {
  font-family: Courier, monospace;
  overflow: auto;
}
li *, p *, blockquote *, h6 * { font-size: 1em; }
li pre, p pre { font-size: 0.8em; }
a {
  color: #06c;
  text-decoration: none;
  -webkit-transition: all .2s;
  -moz-transition: all .2s;
  -ms-transition: all .2s;
  -o-transition: all .2s;
}
a:hover { background: #ffc; }
table {
  width: 100%;
  font-size: 1.4em;
  font-family: helvetica, arial, sans-serif;
  text-align: left;
  margin: 0 0 20px;
}
th, td { padding: 3px 10px }
th {
  font-weight: bold;
  background: #333;
  color: #fff;
  text-transform: uppercase;
}
tr:nth-child(odd) { background: #ebebeb}
td {
  font-weight: 300;
}

/* LAYOUT & THEME SPECIFIC
========================================================*/
header {
  display: inline-block;
  width: 25%;
  background: #ddd;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  border-right: 1px solid #bbb;
  text-align: right;
  padding: 30px;
  box-shadow: 1px 0 10px rgba(0,0,0,0.35),
              inset -1px 0 1px rgba(255,255,255,0.4);
}

header h1 {
  text-shadow: 0 1px 1px #fff;
}
header ul {
  margin: 20px 0;
  background: -moz-linear-gradient(top, #ccc 0%, #ebebeb 50%, #f7f7f7 100%, #f7f7f7 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ccc), color-stop(50%,#ebebeb), color-stop(100%,#f7f7f7), color-stop(100%,#f7f7f7)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #ccc 0%,#ebebeb 50%,#f7f7f7 100%,#f7f7f7 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #ccc 0%,#ebebeb 50%,#f7f7f7 100%,#f7f7f7 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #ccc 0%,#ebebeb 50%,#f7f7f7 100%,#f7f7f7 100%); /* IE10+ */
  background: linear-gradient(to bottom, #ccc 0%,#ebebeb 50%,#f7f7f7 100%,#f7f7f7 100%); /* W3C */
  display: inline-block;
  border-radius: 8px;
  border: 1px solid #bbb;
  box-shadow: inset 1px 1px 1px rgba(255,255,255,.1),
              1px 1px 1px rgba(0,0,0,0.25);
  width: 194px;
}
header ul li {
  display: inline;
  float: left;
}
header ul li:first-child a {
  text-indent: -500px;
  overflow: hidden;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border-left: none;
}
header ul li:last-child a {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
header ul li:first-child a:before {
  content: '';
  position: absolute;
  top: 5px;
  left: 12px;
  height: 60px;
  width: 64px;
  background: url(../images/octocat.png) 0 0 no-repeat;
}
header ul li a {
  display: inline-block;
  color: #666;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  height: 50px;
  position: relative;
  width: 64px;
  vertical-align: middle;
  border-left: 1px solid #bbb;
  text-shadow: 0 1px 1px rgba(255,255,255,.1);
  -webkit-transition: background .2s;
  font-family: helvetica, arial, sans-serif;
  font-size: .8em;
}
header ul li a:hover {
  background: rgba(255,255,255,.5);
}
header ul li a span {
  display: block;
  font-size: .4em;
  text-transform: capitalize;
  margin-top: 10px;
  line-height: 10px;
  font-weight: bold;
}
header h4 {
  color: #666;
  max-width: 350px;
  display: inline-block;
}
section {
  margin-left: 30%;
  padding: 50px;
  max-width: 600px;
}
section ul,
section ol {
  padding-left: 30px;
  margin: 15px;
}
section ul li,
section ol li,
section dl dd {
  margin-bottom: 10px;
}
footer {
  font-size: 1.4em;
  border-top: 1px solid #bbb;
  padding-top: 20px;
  color: #999;
}
footer a { color: #06c}
footer * {
  font-size: 1em;
}
/* MEDIA QUERY MAGIC
========================================================*/
@media screen and (max-width: 1220px) { body { font-size: 60%; } }
@media screen and (max-width: 1120px) { body { font-size: 55%; } }
@media screen and (max-width: 1020px) { body { font-size: 50%; } }
@media screen and (max-width: 820px) {
  header {
    width: auto;
    display: block;
    text-align: center;
    bottom: auto;
    padding: 10px;
    right: 0;
    border-right: none;
    border-bottom: 1px solid #bbb;
    position: absolute;
  }
  header h4 {
    max-width: 100% !important;
    display: block;
    margin: 0 ;
    padding: 0;
    font-size: 2em;
  }
  section {
    padding: 200px 40px 40px;
    margin: 0;
    max-width: 768px;
  }
  header ul {
    width: 170px;
    margin: 10px 0;
  }
  header ul li {
    display: none;
  }
  header ul li:first-child {
    display: block;
    overflow: hidden;
    width: 100%;
  }
  header ul li:first-child a {
    line-height: 40px;
    padding-left: 30px;
    width: auto;
    height: 40px;
    display: block;
    text-indent: 0;
    border-radius: 8px;
  }
  header ul li:first-child a:before {
    background-size: 100%;
    top: 5px;
    left: 5px;
    height: 30px;
    width: 32px;
  }
}
/* MEDIA QUERY FOR PRINT
========================================================*/
@media print {
  body { font-size: 8pt }
  header { 
    border: none; 
    box-shadow: none;
    position: relative;
    width: 20%;
    vertical-align: top;
  }
  header ul { display: none }
  header h1 { font-size: 14pt }
  header h4 { font-size: 9pt }
  section {
    padding: 0;
    margin: 100px 0 0 20px;
    display: inline-block;
    max-width: 50%;
  }
  pre { 
    box-shadow: none;
    border: none;
  }
}