a,
a:visited {
  /**
   * Underline links
   *
   * Recommended for accessibility by
   * <https://pagespeed.web.dev/analysis/https-paperless-blog/r9lhmbac0k> and
   * <https://www.accessibilitychecker.org/audit/?website=https%3A%2F%2Fpaperless.blog%2F&flag=eu>.
   * Basically, links should be distinguishable from other text not only by
   * colour.
   */
  text-decoration: underline;

  /**
   * Use default link colours
   *
   * Should improve legibility.
   */
  color: revert;
}

/**
 * Pagination
 */
ul.pager {
  text-align: center;
  list-style: none;

  li {
    display: inline;
    border: 1px solid black;
    padding: 10px;
    margin: 5px;
  }
}

/**
 * Split footer columns evenly
 */
footer {
  .footer-col-1 {
    width: calc(33% - 15px);
  }

  .footer-col-2 {
    width: calc(34% - 15px);
  }

  .footer-col-3 {
    width: calc(33% - 15px);
  }
}

/**
 * Keep aspect ratio of wide images
 */
img {
  height: auto;
}

/**
 * Icons
 */
.svg-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;

  path {
    fill: #828282;
  }
}

/**
 * Configure task list layout
 */
.task-list {
  list-style: none;
  margin-left: 7.5px;

  .task-list-item-checkbox {
    margin-right: 7.5px;
  }
}

/**
 * Use default text colour everywhere
 *
 * Should improve legibility.
 */
blockquote,
.site-title,
.site-title:visited,
.footer-col-wrapper,
.post-meta,
.post-footer {
  color: #111;
}

/**
 * Style navigation menu
 */
.site-nav {
  line-height: normal;

  .current {
    font-weight: bold;
  }

  li {
    list-style: none;
  }
}

/**
 * Replace page top border with spacing
 */
.site-header {
  border-top: none;
  margin-top: 5px;
}

.post-categories {
  margin-bottom: 30px;
}

.post-footer {
  font-size: 14px;
}
