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

/* Global Reset */

* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  background-color: white;
  font-family: "PT Sans", -apple-system, BlinkMacSystemFont, Helvetica, Arial,
    sans-serif;
  text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}

h1 {
  margin-bottom: 1em;
  font-size: 1.5rem;
}

p {
  margin: 1em 0;
}

a {
  color: #8085c1;
  text-decoration: none;
}

a:hover {
  color: black;
}

table {
  font-size: inherit;
  font: 100%;
}

/*****************************************************************************/
/* 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%;
}

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

.site {
  text-align: left;
  width: 90%;
  margin: 40px auto;
  line-height: 1.6rem;
}

@media only screen and (min-width: 769px) {
  .site, img {
    width: 52rem;
    line-height: 1.5rem;
  }
}

.title {
  color: #a00;
  font-weight: bold;
  margin-bottom: 4rem;
}

.site .title a {
  color: #a00;
  text-decoration: none;
  font-size: 1.125rem;
}

.site .title a:hover {
  color: black;
}

.site .title a.extra {
  color: #aaa;
  text-decoration: none;
  margin-left: 1em;
}

.site .title a.extra:hover {
  color: black;
}

.site .meta {
  color: #aaa;
  font-family: Monaco, "Courier New", monospace;
}

.site .footer {
  color: #666;
  border-top: 4px solid #eee;
  overflow: hidden;
}

.site {
  margin-top: 3rem;
}

.footer {
  margin-top: 10rem;
}

.footer {
  display: block;
}

@media only screen and (min-width: 769px) {
  .footer {
    display: flex;
    justify-content: space-between;
  }
}

.site .footer .contact-left {
  margin-right: 3em;
}

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

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

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

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

#post pre {
  border: 1px solid #ddd;
  padding: 1rem;
  overflow: auto;
}

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

#post ul li {
  padding-bottom: 1em;
}

#post code {
  border: 1px solid #ddd;
  font-size: 120%;
  padding: 0 0.2em;
}

p > code {
  font-size: 85% !important;
}

#post pre code {
  border: none;
}

#post pre.terminal {
  border: 1px solid black;
  color: white;
}

#post pre.terminal code {
}

#related {
  margin-top: 2em;
}

#related h2 {
  margin-bottom: 1em;
}

blockquote {
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: none;
}

blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

blockquote p {
  display: inline;
}

#post ul li {
  padding-bottom: 0;
}

blockquote h4 {
  margin-top: 1em;
  margin-bottom: 1em;
}

.no-print {
  display: none;
}

.underlined-links a {
  text-decoration: underline;
}

p {
  font-size: 1.3rem;
  line-height: 1.6;
}

h2 {
  font-size: 1.5rem;
}

.footer p {
  font-size: 1rem;
  line-height: 1.6;
}

