source/style/post.scss
@import "variables";

#main {
  position: relative;
  width: 100%;
  max-width: $on-phone;
  margin: 20px auto 0 auto;
  padding: 0 30px;
  opacity: 0;
  transform: translate3d(0px, -20px, 0px);
  transition: all 0.24s ease;

  &.loaded {
    transform: translate3d(0px, 0px, 0px);
    opacity: 1;
  }
  @media (max-width: $on-phone) {
    padding: 0 20px;
  }
  .post-list {
    position: relative;
    width: 760px;
    margin: 0 auto;

    @media (max-width: $on-phone) {
      width: 100%;
    }
    .post {
      margin-bottom: 50px;
    }
  }
  .page-header {
    text-align: center;
    margin: 0 auto 20px auto;

    h1 {
      font-size: 13px;
      font-weight: normal;
      color: lighten($grey-color, 20%);

      @media (prefers-color-scheme: dark) {
        color: darken($dark-mode-text-color, 30%);
      }
    }
  }

  #comments {
    position: relative;
    padding: 30px;
    margin: 30px 0;
    background-color: $white;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);

    @media (prefers-color-scheme: dark) {
      background-color: $dark-mode-light-background;
    }

    @media (max-width: $on-phone) {
      padding: 20px;
    }
    &.page {
      margin-top: 20px;
    }
  }
  .post {
    position: relative;
    margin-bottom: 30px;
    padding: 40px 0;
    background-color: $white;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);

    @media (prefers-color-scheme: dark) {
      background-color: $dark-mode-light-background;
    }

    &.no-title {
      padding: 20px 0;

      > time {
        text-align: left;
        padding-left: 30px;
        margin: 0;

        @media (max-width: $on-phone) {
          padding-left: 20px;
        }
      }
    }
    &:last-child,
    &.single,
    &#archive-page {
      margin-bottom: 0;
    }
    > .title {
      display: block;
      text-align: center;
      font-size: 1.25em;
      padding: 0 20px;

      @media (max-width: $on-phone) {
        font-size: 1em;
      }
      a {
        display: inline;
        line-height: 1.25;
        font-weight: normal;
        color: lighten($text-color, 2%);

        @media (prefers-color-scheme: dark) {
          color: lighten($dark-mode-text-color, 5%);
        }

        &:hover {
          color: lighten($accent-color, 3%);

          @media (prefers-color-scheme: dark) {
            color: lighten($dark-mode-accent-color, 5%);
          }
        }
      }
    }
    > time {
      display: block;
      text-align: center;
      color: lighten($grey-color, 20%);
      font-size: 0.75em;
      margin-bottom: 30px;

      @media (prefers-color-scheme: dark) {
        color: darken($dark-mode-text-color, 30%);
      }
    }
    .image {
      position: relative;
      width: 100%;
      margin: 20px 0;

      a {
        display: block;
      }
      img {
        position: relative;
        display: block;
        width: 104%;
        margin: 0 -2%;
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
      }
    }
    .readmore {
      margin-top: 20px;
    }
  }
}