body {
  max-width: 800px;
  margin: auto;
  padding: 1em;
  line-height: 1.5;
}

/* header and footer areas */
.menu { padding: 0; }
.menu li { display: inline-block; }
.article-meta, .menu a {
  text-decoration: none;
  background: #eee;
  padding: 5px;
  border-radius: 5px;
}
.menu, .article-meta, footer { text-align: center; }
.title { font-size: 1.1em; }
footer a { text-decoration: none; }
hr {
  border-style: double;
  color: #ddd;
}

/* code */
pre {
  border: 1px solid #ddd;
  box-shadow: 5px 5px 5px #eee;
  padding: 1em;
  overflow-x: auto;
}
code { background: #f9f9f9; }
pre code { background: none; }

/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
blockquote {
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
}

table {
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee; }

/* Skewed rectangle menu — inspired by schutzwerk.com */
.menu li a {
  text-decoration: none;
  display: inline-block;
  margin: 0 0.15em;
}

.menu-skew {
  display: inline-block;
  background: #d4c8bc;
  color: #1e293b;
  padding: 0.3em 0.8em;
  transform: skew(-20deg);
  transition: background 0.2s ease;
}

.menu li a:hover .menu-skew {
  background: #c0b4a8;
}

.menu-text {
  display: inline-block;
  transform: skew(20deg);
}

.menu li {
  display: inline-block;
}

.menu {
  padding: 0;
  list-style: none;
}

/* Remove old grey rounded style from vendored theme CSS */
.menu a {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Tags */
.tags {
  margin-top: 0.5em;
}
.tag {
  display: inline-block;
  background: #fde68a;
  color: #1e293b;
  padding: 0.15em 0.5em;
  margin: 0.15em;
  font-size: 0.65em;
  border-radius: 0.4em;
}
.tag-inner {
  display: inline-block;
}
.tag-inline {
  font-size: 0.55em;
  padding: 0.05em 0.35em;
  margin: 0 0.1em;
}

/* Default browser fonts — override vendored custom fonts */
body {
  font-family: monospace !important;
  font-size: 100% !important;
  background: #fef5eb;
}
code, pre, kbd, samp {
  font-family: monospace !important;
  font-size: 100% !important;
}
pre {
  background: #fff !important;
  box-shadow: none !important;
}
.article-meta {
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.tags {
  text-align: right;
}
hr {
  border-style: solid !important;
  border-color: #d4c8bc !important;
}