/* Theme overrides */

body {
  color: #222222;
}

.head-shot-container {
  max-height: 16rem;
}

.head-shot-container img {
  max-height: 16rem;
  margin: 0 auto 2rem auto;
}

.sidebar {
  overflow-x: scroll;
}

.sidebar > .container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Pull some elements to bottom of sidebar */
.sidebar-bottom {
  margin-top: auto;
  margin-bottom: 0px;
}

.center {
  text-align: center;
}

.button {
  text-align: center;
  padding: 0.5rem 0.75rem;
  color: #fff;
  background-color: #202020;
  border-color: #202020;
  border-radius: 0.25rem;
}

.button:hover {
  text-decoration: none;
  cursor: pointer;
}

.post {
  margin-bottom: 1rem;
}

.post-date {
  margin-bottom: 0.5rem;
}

/* Table of contents */

.table-of-contents #markdown-toc a {
  color: #222222;
}

@media (min-width: 100em) {
  .table-of-contents {
    position: fixed;
    top: 0;
    left: 64rem;
    bottom: 0;
    text-align: left;
    margin-top: 4rem;
  }
}

/* Lists */

ul ul {
  margin-bottom: 0;
}

/* Code */
pre {
  overflow-x: scroll;
  text-wrap-mode: nowrap;
}
