html {
  background: url("straws.png") repeat;
}

body {
  font: 13px "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.4;
  color: #555;
}

h1 {
  font-weight: bold;
  font-size: 32px;
  line-height: 1.2em;
  color: #000;
}

h2 {
  font-weight: bold;
  font-size: 20px;
  color: #000;
  border-bottom: 1px solid #CCC;
}

h3 {
  font-weight: bold;
  font-size: 16px;
  color: #000;
}

h4 {
  font-weight: bold;
  color: #000;
}

a:link, a:visited {
  color: #0084b4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

small {
  font-size: 0.85em;
}


.grid-1, .grid-2, .grid-3, .grid-4 {
  display:inline;
  float: left;
  position: relative;
  margin-left: 10px;
  margin-right: 10px;
}

/* Grid >> Children (Alpha ~ First, Omega ~ Last) */

.alpha {
  margin-left: 0;
}

.omega {
  margin-right: 0;
}

/* Grid >> 4 Columns */

.grid .grid-1 {
  width: 220px;
}

.grid .grid-2 {
  width: 460px;
}

.grid .grid-3 {
  width: 700px;
}

.grid .grid-4 {
  width: 940px;
}

/* http://nicolasgallagher.com/micro-clearfix-hack/ */

.clearfix {
  *zoom: 1;
}

.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

#wrapper {
  position: relative;
  width: 960px;
  margin: 0 auto;
  padding: 20px 0;
}

#main {
  height: 380px;
  text-align: center;
  padding-top: 20px;
}

div.box, div.header, li.repo {
  background: white;
  background: rgba(255, 255, 255, 0.8);
  -moz-box-shadow:    0px 0px 5px 1px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.1);
  box-shadow:         0px 0px 5px 1px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  border-radius: 5px;
}

li.repo {
  border-radius: 5px 0 5px 5px;
}

div.header h1, li.repo h1, #reposmenu h1 {
  font-size: 18px;
}

div.header h2, li.repo h2 {
  color: #0084b4;
}

#main h1 {
  margin: 0;
  font-size: 14px;
}

#main h3 {
  margin: 20px 0 35px 0;
  font-size: 18px;
  color: #000;
  font-weight: bold;
  line-height: 1.2em;
}

#main h1, #main h3, #main p {
  margin-left: 10px;
  margin-right: 10px;
}

#main p {
  font-size: 11px;
  line-height: 1.6;
  margin-top: 1em;
}

#logo {
  margin: 15px 0 0 0;
}

div.header {
  height: 130px;
}

div.header h1, div.header p {
  margin: 10px 15px 0;
}

div.header h1, #reposmenu h1 {
  margin-bottom: 10px;
}

#reposmenu {
  padding: 15px;
}

#reposmenu #repos li {
  padding-bottom: 5px;
}

#reposmenu #repos a:hover {
  text-decoration: none;
}

#reposmenu #repos a:hover span {
  text-decoration: underline;
}

#reposmenu #repos small {
  display: block;
  color: #555;
  padding-left: 10px;
}

#num-repos, #num-members {
  font-size: 14px;
  font-weight: bold;
  color: #0084b4;
  line-height: 15px;
}

#statistics a:link, #statistics a:visited {
  color: inherit;
}

#statistics p.email {
  margin-top: 6px;
  font-size: 11px;
}

#statistics p.email:before {
    content: "\2709";
    font-size: 18px;
    margin-right: 5px;
    line-height: 15px;
}

#statistics p.email a {
  vertical-align: top;
}

#recently-updated h1 a {
  font-weight: normal;
  font-size: 11px;
}

#recently-updated-repos {
  margin-left: 15px;
}

#recently-updated-repos li {
  line-height: 1.5;
}

#recently-updated-repos li span {
  display: inline-block;
  padding: 0 1px;
}

#recently-updated-repos li span {
  font-size: 11px;
}

#recently-updated-repos li span.name {
  padding: 0 6px 0 0;
  font-size: 13px;
}

#recently-updated-repos li span.time a,
#recently-updated-repos li span.watchers a,
#recently-updated-repos li span.forks a {
  color: #999;
}

li.repo {
  height: 250px;
}

li.repo > a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

li.repo a:hover {
  background: #efefef;
  background: rgba(0, 0, 0, 0.05);
}

li.repo h2, li.repo h3, li.repo p {
  margin: 10px 15px;
}

li.repo h2 {
  margin-bottom: 2px;
  max-width: 160px;
  overflow: hidden;
}

li.repo h3 {
  font-size: 11px;
  margin-top: 2px;
  margin-bottom: 15px;
  color: #999;
}

li.repo .functions {
  font-style: italic;
  color: #999;
}

li.repo .functions ul {
  font-style: normal;
  font-size: 11px;
  line-height: 1.6em;
  margin: 3px 0 0 5px;
}

.repo:after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 0;
  border-bottom: 35px solid transparent;
  border-left: 35px solid transparent;
  border-right: 35px solid #FFA33C;
  pointer-events: none;
}

#content {
  padding: 15px;
}

#content p, #content > ul, #content > ol, #content > dl {
  margin-bottom: 1em;
}

#content h1, #content h2 {
  margin-bottom: 5px;
}

#content ul {
  list-style: disc inside;
  margin-left: 10px;
}

#content dd {
  padding-left: 10px;
  margin-bottom: 5px;
}

@media (max-width: 920px) {
  h1 {
    font-size: 24px;
  }
  
  #wrapper {
    width: auto;
  }
  
  .grid .grid-1, .grid .grid-2, .grid .grid-3, .grid .grid-4 {
    display: block;
    float: none;
    margin-left: 0;
    margin-right: 0;
    width: auto;
  }
  
  li.repo {
     height: auto;
  }
}