html {
  background: #f0f0f0;
}

body,
body[style] {
  box-sizing: border-box;
  max-width: 1000px;
  margin: 0 auto !important;
  padding: 32px 24px !important;
  color: #222;
  background: #f0f0f0;
  font: 20px/1.6 Helvetica, Arial, sans-serif;
}

body p,
body li {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

body p {
  margin-top: 0;
  margin-bottom: 1em;
}

h1,
h2,
h3,
h4,
h5,
h6,
h1.western,
h2.western,
h3.western,
h6.western {
  color: #222;
  font-family: inherit;
  font-style: normal;
  line-height: 1.25;
}

h1,
h1.western {
  margin: 0 0 0.4em;
  font-size: 2.5em;
}

h2,
h2.western {
  margin: 2em 0 0.75em;
  padding-bottom: 0.12em;
  border-bottom: 1px solid #aaa;
  font-size: 1.5em;
}

h3,
h3.western {
  margin: 1.5em 0 0.65em;
  font-size: 1.17em;
}

h4,
h5,
h6,
h6.western {
  margin: 1.25em 0 0.5em;
}

a,
a:link,
a:visited,
a * {
  color: #2980b9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin-right: auto;
  margin-left: auto;
}

pre,
pre.western,
pre.cjk,
pre.ctl {
  overflow-x: auto;
  padding: 16px;
  border: 0;
  background: #202020;
  color: #eee;
  font: 0.78em/1.45 "DejaVu Sans Mono", Consolas, monospace;
}

code {
  color: inherit;
  font-family: "DejaVu Sans Mono", Consolas, monospace;
  font-size: 0.9em;
}

pre code {
  color: inherit;
  font-size: inherit;
}

.hljs {
  background: #202020;
  color: #eee;
}

blockquote {
  margin-left: 0;
  padding: 0 16px;
  border-left: 4px solid #404040;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
}

th,
td {
  padding: 8px;
  border: 1px solid #aaa;
  color: #222;
  text-align: left;
  vertical-align: top;
}

th,
tr:nth-child(2n) {
  background: #ddd;
}

@media (max-width: 600px) {
  body,
  body[style] {
    padding: 20px 16px !important;
    font-size: 18px;
  }

  h1,
  h1.western {
    font-size: 2em;
  }
}
