Sha256: 4952daa0394efc478f41871cf1d86962168fcc8728d32db4cb12115ee75bbc53

Contents?: true

Size: 556 Bytes

Versions: 9

Compression:

Stored size: 556 Bytes

Contents

// Codes
code {
  @include label-base();
  @include label-variant($code-color, lighten($code-color, 42.5%));
  font-size: 85%;
}

.code {
  border-radius: $border-radius;
  color: $body-font-color;
  position: relative;

  &::before {
    color: $gray-color;
    content: attr(data-lang);
    font-size: $font-size-sm;
    position: absolute;
    right: $layout-spacing;
    top: $unit-h;
  }

  code {
    background: $bg-color;
    color: inherit;
    display: block;
    line-height: 1.5;
    overflow-x: auto;
    padding: 1rem;
    width: 100%;
  }
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spectre_scss-0.5.9.1 vendor/assets/stylesheets/spectre/_codes.scss
spectre_scss-0.5.9.0 vendor/assets/stylesheets/spectre/_codes.scss
spectre_scss-0.5.8.0 vendor/assets/stylesheets/spectre/_codes.scss
spectre_scss-0.5.7.0 vendor/assets/stylesheets/spectre/_codes.scss
spectre_scss-0.5.6.0 vendor/assets/stylesheets/spectre/_codes.scss
spectre_scss-0.5.5.0 vendor/assets/stylesheets/spectre/_codes.scss
spectre_scss-0.5.4.0 vendor/assets/stylesheets/spectre/_codes.scss
spectre_scss-0.5.3.0 vendor/assets/stylesheets/spectre/_codes.scss
spectre_scss-0.5.2.0 vendor/assets/stylesheets/spectre/_codes.scss