body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding-bottom: 24px;
  color: #111;
  background: #fdfdfd;
}

img.img-border {
  border: 1px solid gray;
}

.site-bar {
  align-self: stretch;
  height: 48px;
  /* background: #43afed; */
}

main {
  display: block;
  min-width: 0;
  /* width: min(calc(100% - 48px), calc(58ch + 48px)); */
  width: 700px;
}

article {
  display: block;
  padding: 24px;
  background: #fff;
}

article blockquote {
  padding-left: 1rem;
  border-left: 3px solid #ded8ca;
  color: #555;
}

article img,
article video {
  display: block;
  /* max-width: 100%; */
  height: auto;
  width: 100%;
  border-radius: 4px;
  background: #fff;
}

code,
pre {
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  background: #eef;
}

code {
  padding: 1px 5px;
}

pre {
  display: block;
  overflow-x: auto;
  padding: 8px 12px;
  tab-size: 2;
  text-align: left;
  white-space: pre;
}

pre > code {
  padding-right: 0;
  padding-left: 0;
  border: 0;
}

/* Syntax colours emitted by the build. */
.tok-comment {
  color: #6a737d;
  font-style: italic;
}

.tok-keyword,
.tok-meta {
  color: #7a3e9d;
}

.tok-string,
.tok-entity {
  color: #0b6e4f;
}

.tok-number,
.tok-constant {
  color: #a34f00;
}

.tok-type,
.tok-tag {
  color: #9a3412;
}

.tok-function,
.tok-macro,
.tok-builtin {
  color: #0757a6;
}

.tok-property,
.tok-variable {
  color: #795500;
}

.tok-operator {
  color: #b4232f;
}

a {
  color: #2a7ae2;
  cursor: pointer;
}

a:visited {
  color: rgb(22.9483471074, 86.2541322314, 168.5516528926);
}

a:hover {
  color: #111;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.home .post-list {
  padding-left: 0;
  list-style: none;
}

.home .post-list li {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(20px, 1fr) auto;
  column-gap: 10px;
  align-items: center;
  min-width: 0;
  line-height: 27px;
}

.home .post-list a {
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  white-space: nowrap;
}

.home .post-leader {
  border-top: 1px solid #9ed7f7;
}

.home .post-list time {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 600px) {
  body {
    padding-bottom: 12px;
  }

  .site-bar {
    height: 36px;
  }

  main {
    width: calc(100% - 24px);
    padding-top: 12px;
  }

  article {
    padding: 16px;
  }

  .home .post-list li {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    align-items: start;
  }

  .home .post-list a {
    overflow: visible;
    padding-left: 1rem;
    text-indent: -1rem;
    text-overflow: clip;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .home .post-leader {
    display: none;
  }
}
