Sha256: a12889e5d4bc24d9405de83eb9660b098fb815284fba9d451995f0e7fecaf6a0

Contents?: true

Size: 1.73 KB

Versions: 9

Compression:

Stored size: 1.73 KB

Contents

@mixin boxed() {
  margin-top: 100px;
  border-radius: 5px;
  padding: 2px 5px;
  background-color: var(--color-code-bg);
}

.content {
  padding: 1em;
}

article {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
  word-break: break-word;
  p {
    font-family: var(--font-secondary);
  }
  h1, h2, h3, h4 {
    margin-bottom: 0;
  }
  h1 {
    & + time {
      color: var(--color-dark);
      font-size: 15px;
    }
  }
  h1, h2, h3, h4 {
    & + * {
      margin-top: 0.5em;
    }
    & > code {
      font-size: 0.8em;
    }
  }
  code {
    @include boxed();
  }
  pre {
    margin: 0;
    width: 100%;
    overflow-x: auto;
    code {
      border: 0;
      background-color: inherit;
      border-radius: 0;
      padding: 0;
      margin: 0;
    }
  }
  p:has(> sub) {
    margin: 1em 0 0 0;
    sub {
      font-family: var(--font-special);
      color: var(--color-tertiary);
      font-size: 0.9rem;
    }
    & + h1, & + h2, & + h3, & + h4 {
      margin-top: 0;
    }
  }
  address {
    font-style: normal;
    font-family: var(--font-secondary);
    margin-top: 1.5em;
    font-size: 1.4em;
    a {
      color: var(--color-tertiary);
    }
  }
  .text > p:first-child {
    font-size: 25px;
    line-height: 1.3;
  }
  .tags {
    small {
      font-family: var(--font-secondary);
      color: var(--color-dark);
    }
  }
  .source {
    color: var(--color-dark);
    font-size: 13px;
    & > * {
      margin-left: 10px;
    }
  }
}

blockquote {
  border-left: 5px solid var(--color-dark);
  padding-left: 10px;
  margin: 0 10px 0 20px;
  font-family: var(--font-special);
  font-size: 19px;
  p {
    margin: 0;
  }
  & + blockquote {
    margin-bottom: 2em;
  }
}

@import
  "bullets",
  "table",
  "colors";

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
askclass-home-theme-0.1.4 _sass/_post.scss
askclass-home-theme-0.1.3 _sass/_post.scss
askclass-home-theme-0.1.2 _sass/_post.scss
askclass-home-theme-0.1.1 _sass/_post.scss
askclass-home-theme-0.1.0 _sass/_post.scss
askclass-home-theme-0.0.4 _sass/_post.scss
askclass-home-theme-0.0.3 _sass/_post.scss
askclass-home-theme-0.0.2 _sass/_post.scss
askclass-home-theme-0.0.1 _sass/_post.scss