/*****************************************************************************/
/*
/* Common
/*
/*****************************************************************************/

@import url(https://fonts.googleapis.com/css?family=Droid+Sans|Droid+Sans+Mono);
@font-face {
  font-family: "Latin Modern Roman";
  src: url("lmroman10-regular-webfont.eot");
  src: url("lmroman10-regular-webfont.eot?#iefix") format("embedded-opentype"),
    url("lmroman10-regular-webfont.woff") format("woff"),
    url("lmroman10-regular-webfont.ttf") format("truetype"),
    url("lmroman10-regular-webfont.svg#latin_modern_roman10_regular")
      format("svg");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  height: 100%;
}

body {
  position: relative;
  left: 0;
  right: 0;
}

.posts * {
  margin: 0;
  padding: 0;
}

.post p {
}

.post img {
  overflow-x: scroll;
}

blockquote {
  font-family: arial, sans-serif;
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}

body {
  background-color: #fff;
  font: 13.34px "Latin Modern Roman", Helvetica, Arial, sans-serif;
  /* text-align: center; */
  padding: 1em;
}

h4,
h5,
h6 {
  font-size: 90%;
  color: gray;
}

h1 {
  margin-bottom: 1em;
}
p {
  margin: 1em 0;
}

a {
  color: #00a;
}
a:hover {
  color: #000;
}
a:visited {
  color: #a0a;
}

/*****************************************************************************/
/*
/* Home
/*
/*****************************************************************************/
ul.posts {
  list-style-type: none;
  margin-bottom: 2em;
}

ul.posts li {
  line-height: 1.75em;
}

ul.posts span {
  color: #aaa;
  font-family: Monaco, "Courier New", monospace;
  font-size: 80%;
}

.subsectionLink {
  text-decoration-line: none;
  color: initial;
}

/*****************************************************************************/
/*
/* Site
/*
/*****************************************************************************/

.container {
  /* width: 100%; */
  display: flex;
  flex-direction: column;
}

.home {
  align-self: center;
}

.footer {
  display: flex;
}

.footer .contact {
  margin-left: auto;
  margin-right: auto;
}

.site .header {
  align-self: center;
}

.site header {
  max-width: 42em;
  width: 100%;
  align-self: center;
}

.site header h2 {
  text-align: center;
}

.site header .meta {
  text-align: right;
}

.site {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  font-size: 1.2em;
  /* text-align: justify; */
  line-height: 1.5em;
  flex-direction: column;
}

main {
  display: flex;
}

article {
  flex-grow: 1;
  min-width: 0;
  max-width: 42em;
}

aside {
  flex: 1;
  overflow-x: hidden;
}

/* @media (max-width: 60em) {
  .site {
    font-size: 4.2em;
  }
} */

article p img {
  max-width: 100%;
  display: block;
  margin: auto;
}

.site .header {
  font-weight: bold;
  text-align: center;
}

.site .header a {
  text-decoration: none;
}

.title span {
  white-space: nowrap;
}

.site .header h1.title {
  display: inline-block;
  margin-bottom: 2em;
  font-family: "Droid Sans Mono", sans-serif;
}

.site .header h1.title a {
  color: #a00;
}

.site .header h1.title a:hover {
  color: #000;
}

.site .header a.extra {
  color: #aaa;
  margin-left: 1em;
  font-family: "Droid Sans Mono", sans-serif;
}

.site .header a.extra:hover {
  color: #000;
}

.site .meta {
  color: #aaa;
}

.site .footer {
  font-size: 80%;
  color: #666;
  border-top: 4px solid #eee;
  margin-top: 2em;
  overflow: hidden;
}

.site .footer .contact a {
  color: #8085c1;
}

.site .footer .rss {
  margin-top: 1.1em;
  margin-right: -0.2em;
  float: right;
}

.site .footer .rss img {
  border: 0;
}

/*****************************************************************************/
/*
/* Posts
/*
/*****************************************************************************/

.post {
  display: flex;
  flex-direction: column;
  /* align-items: flex-start; */
  /* min-width: 0; */
  flex-grow: 1;
}

.description {
  text-indent: 0.5em;
}

/* standard pre tags */
.post pre:not(.embed) {
  display: inline-block;
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 1em 1em;
  overflow: auto;
}

.post ul,
.post ol {
  margin-left: 1.35em;
}

.post code {
  border: 1px solid #ddd;
  padding: 0 0.2em;
}

.post pre code {
  border: none;
}

/* terminal */
.post pre.terminal {
  border: 1px solid #000;
  background-color: #333;
  color: #fff;
}

.post pre.terminal code {
  background-color: #333;
}

/*****************************************************************************/
/*
/* Code
/*
/*****************************************************************************/
code {
  font-family: "droid sans mono", monospace;
  font-size: 12px;
}
