body {
  font-family: Helvetica, Arial, sans-serif;
  color: #333333;
  margin: 0;
}

img.avatar {
  border-radius: 3px;
  border: 0;
}

#header {
  padding-top: 12px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 12px;
}

#footer {
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 12px;
}

#page {
  padding-left: 24px;
  padding-right: 24px;
}

a, a:visited {
  color: #cc0000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#masthead {
  padding: 0.25em;
}
#masthead .big {
  display: inline-block;
  text-align: center;
  font-family: 'Playball', cursive;
  font-size: 240%;
  color: white;
  background-color: #cc0000;
  padding: 12px;
}
#masthead .small {
  font-size: 120%;
  padding-left: 15px;
}

#nav {
  padding: 0.5em;
}
#nav a, #nav a:visited {
  text-decoration: none;
}
#nav a:hover {
  text-decoration: underline;
}

/* fix: use javascript?? jquery to add .programlisting class
  to pre tags followed by code e.g. <pre><code> => <pre class='programlisting'><code>
   for now assume all pres are programlistings
*/
pre,
.programlisting {
  padding: 4px 4px 4px 4px;
  border-top: #bbb 1px solid;
  border-bottom: #bbb 1px solid;
  background: #f3f3f3;
}

/* used in author.html layout for github, rubygems, etc. links */
ul.links {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
ul.links li {
  padding-top: 4px;
}

/* used for author links */
a.author, a.author:visited {
  color: black;
  text-decoration: none;
}

a.author:hover {
  text-decoration: underline;
}

.gallery {
  background-color: #f4f4f4;
  margin: 0;
  padding-top: 24px;
  padding-bottom: 60px;
  padding-left: 48px;
}
.gallery .theme {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  width: 294px;
  /* note: 270(10+10? left+right padding?)+24px add margin+border */
  background-color: white;
  margin-bottom: 24px;
  margin-right: 24px;
  padding: 10px 15px;
}
.gallery .theme .theme-info {
  margin-bottom: 10px;
}
.gallery .theme .theme-preview img {
  border: 1px solid #bbb;
}

.banner {
  color: white;
  background-color: #333333;
  padding: 6px 6px 4px 8px;
  margin: 0 0 8px 0;
}
.banner a,
.banner a:visited {
  text-decoration: none;
  color: white;
  background-color: #333333;
}
.banner a:hover {
  text-decoration: underline;
}

.announce {
  background-color: #ffc;
  font-size: 18px;
  padding: 8px 8px 4px 8px;
  /* top right bottom left */
  margin: 6px 26px 6px 26px;
  /* top right bottom left - note: set left n right to 26px!! */
  border: 1px solid #cc0000;
}
.announce a {
  color: #cc0000;
  text-decoration: none;
}
.announce a:visited {
  color: #cc0000;
}
.announce a:hover {
  color: #cc0000;
  text-decoration: underline;
}
