Sha256: 990b47958f22b96c8d7909ca3be98fa1192e6a55632a8c5b1ef819ea72e2f2f7

Contents?: true

Size: 1.27 KB

Versions: 4

Compression:

Stored size: 1.27 KB

Contents

.trix-content {
  line-height: 1.5;

  h1 {
    font-size: 1.2em;
    line-height: 1.2;
    margin: 0;
  }

  blockquote {
    margin: 0 0 0 0.3em;
    padding: 0 0 0 0.6em;
    border-left: 0.3em solid #ccc;
  }

  pre {
    font-family: monospace;
    font-size: 0.9em;
    margin: 0;
    padding: 0.5em;
    white-space: pre;
    background-color: #eee;
    overflow-x: auto;
  }

  ul, ol, li {
    margin: 0;
    padding: 0;

    li {
      margin-left: 1em;
    }
  }

  img {
    max-width: 100%;
    height: auto;
  }

  a[data-trix-attachment] {
    color: inherit;
    text-decoration: none;

    &:hover,
    &:visited:hover {
      color: inherit;
    }
  }

  .attachment {
    display: inline-block;
    position: relative;
    max-width: 100%;
    margin: 0;
    padding: 0;

    .caption {
      padding: 0;
      text-align: center;

      .size {
        &:before {
          content: ' ยท ';
        }
      }
    }

    &.attachment-preview {
      width: 100%;
      text-align: center;

      .caption {
        color: #666;
        font-size: 0.9em;
        line-height: 1.2;
      }
    }

    &.attachment-file {
      color: #333;
      line-height: 1;
      margin: 0 2px 2px 0;
      padding: 0.4em 1em;
      border: 1px solid #bbb;
      border-radius: 5px;
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vapid-0.1.3 lib/vapid/vendor/trix/assets/trix/stylesheets/content.scss
vapid-0.1.2 lib/vapid/vendor/trix/assets/trix/stylesheets/content.scss
vapid-0.1.1 lib/vapid/vendor/trix/assets/trix/stylesheets/content.scss
vapid-0.1.0 lib/vapid/vendor/trix/assets/trix/stylesheets/content.scss