/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: black;
	background-position: top;
  font-size: 16px;
  font-family: monospace;
  margin: 0;
}

p {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

hr {
  border: solid #a9a9a9;
  border-width: 2px 0 0 0;
}

img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
@media only screen and (min-width: 600px) {
  .small {
    max-width: 60%;
    height: auto;
  }
}
.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
}

a:hover { 
  background-color: #fff6e6;
}

h1, h2, h3, h4, h5 {
  font-family: monospace;
  color: #eee;
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 700px;
  background-color: #111;
  color: #eee;
  outline-color: #a9a9a9;
  outline-style: ridge;
  outline-width: 4px;
  outline-offset: 0;
}

#content {
  padding: 10px 5% 20px 5%;
}

a {
  color: #eee;
}

a:hover {
  color: black;
  background-color: white;
}

/*HEADER STYLE*/
#header {
  background-color: black;
  padding: 0 5%;
  border-color: #a9a9a9;
  border-style: ridge;
  border-width: 0 0 4px 0;
}
#header ul {
  list-style-type: none;
  padding: 0.5em 0;
  margin: 0;
}
#header li {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 1.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}

/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

/*DISQUS STYLE*/
#disqus_thread {
  margin-top: 1.6em;
}

/*FOOTER STYLE*/
#footer {
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
}

/* CUSTOM STYLES */
.nav-right {
  float: right; margin-right: 0 !important;
}

.nav-icon {
  height: 1em; fill: white; vertical-align: middle;
}

.nav-icon:hover {
  border-bottom: 1px solid white;
}

code {
  background: black;
  color: white;
}

code.language-C, code.language-JS, code.language-OBJ, code.language-HTML {
  display: block;
  padding: 1em;
  overflow: scroll;
}

.accent-green h1, .accent-green h2, .accent-green h3, .accent-green h4, .accent-green h5 {
  color: springgreen;
}

.accent-green a:hover {
  background-color: springgreen;
}

.accent-pink h1, .accent-pink h2, .accent-pink h3, .accent-pink h4, .accent-pink h5 {
  color: deeppink;
}

.accent-pink a:hover {
  background-color: deeppink;
}

.accent-yellow h1, .accent-yellow h2, .accent-yellow h3, .accent-yellow h4, .accent-yellow h5 {
  color: gold;
}

.accent-yellow a:hover {
  background-color: gold;
}

.button-code {
  width: 100%;
  resize: none;
}

.feed-post img {
  width: 100%;
}