Sha256: 319b52358e75df9a70fb54bb4aa3a97dba0fc58a29f646aa5f60ba06815db908

Contents?: true

Size: 1 KB

Versions: 7

Compression:

Stored size: 1 KB

Contents

// Unbounded specific
html, body {
  background: none;
  height: 100%;
}

@page {
  size: letter;
}

.o-page {
  @include m(pdf) {
    padding-left: $pdf-margin;
    padding-right: $pdf-margin;
  }
}

header, footer, o-sidebar-nav {
  display: none;
}

tr, img, table, pre, blockquote, .callout { page-break-inside: avoid; }

// Avoid page breaks after a heading
h1, h2, h3, h4, h5 { page-break-after: avoid; }

h1, h2, h3, h4 {
  font-weight: bold;
}

h1 {
  @include txt-pdf-element(h3);
  clear: both;
  padding-top: 1.25rem;

  & + h2 {
    padding-top: 0 !important;
  }

  * { line-height: 1.1; margin-bottom: 0; }
}

h2 {
  @include txt-pdf-element(h4);
  padding-top: 1.25rem;

  & + h3 {
    padding-top: 0 !important;
  }
}

h3 {
  @include txt-pdf-element(h5);
  padding-top: 1.25rem;

  & + h4 {
    padding-top: 0 !important;
  }
}

h4 {
  @include txt-pdf-element(h6);
  padding-top: 1.25rem;
}

ul li {
  text-indent: 0 !important;
}

img, td, span, table {
  max-width: 100%;
}

img { height: auto !important; }

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lcms-engine-0.3.1 app/assets/stylesheets/lcms/engine/print/_base.scss
lcms-engine-0.1.4 app/assets/stylesheets/lcms/engine/print/_base.scss
lcms-engine-0.3.0 app/assets/stylesheets/lcms/engine/print/_base.scss
lcms-engine-0.1.3 app/assets/stylesheets/lcms/engine/print/_base.scss
lcms-engine-0.2.0 app/assets/stylesheets/lcms/engine/print/_base.scss
lcms-engine-0.1.2 app/assets/stylesheets/lcms/engine/print/_base.scss
lcms-engine-0.1.0 app/assets/stylesheets/lcms/engine/print/_base.scss