<commit_before>/* ==========================================================================
   cfgov-refresh
   Print
   ========================================================================== */


/* topdoc
  name: Print pages
  family: cfgov-print
  notes:
    - "Print pages are barebones printer friendly pages which are also sometimes
       used as the source to generate PDF's through PDF creation software."
    - "The `.print` class acts a styling hook. When using the
       `.respond-to-print()` mixin, all stlyes will be nested under both
       `@media print` and `.print`."
  patterns:
    - name: Usage
      markup: |
        <div class="print">
            <h1 class="superheader">
                I am a green superheader
            </h1>
        </div>
      notes:
        - "To trigger a print page simply add the `.print` class to a containing
           element."
  tags:
    - cfgov-print
*/

/* print styles here using @respond-to-print mixin */<commit_msg>add basic print styles from html5 boilerplate and override colors/backgrounds for OaH styles<commit_after>/* ==========================================================================
   cfgov-refresh
   Print
   ========================================================================== */


/* topdoc
  name: Print pages
  family: cfgov-print
  notes:
    - "Print pages are barebones printer friendly pages which are also sometimes
       used as the source to generate PDF's through PDF creation software."
    - "The `.print` class acts a styling hook. When using the
       `.respond-to-print()` mixin, all stlyes will be nested under both
       `@media print` and `.print`."
  patterns:
    - name: Usage
      markup: |
        <div class="print">
            <h1 class="superheader">
                I am a green superheader
            </h1>
        </div>
      notes:
        - "To trigger a print page simply add the `.print` class to a containing
           element."
  tags:
    - cfgov-print
*/

// print styles using .respond-to-print mixin

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster:
                               http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
    border-bottom: 0;
  }

  a[href]:after {
    content: " (" attr(href) ")";
    display: block;
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    right: 0;
    width: auto;
    word-wrap: break-word;
    white-space: normal;
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* topdoc
  name: Hero image print styles
  family: cfgov-cf-enhancements
  patterns:
    - name: #hero-bg-image
      markup: |
        <div class="wrapper hero-wrapper">
          <div class="col-7">
            <h1>Owning a Home</h1>
            <h2>We’re here to help you with your home buying process. Just starting out? Learn what to expect and how to get a great deal. About to close? A checklist makes it less stressful.</h2>
          </div>
        </div>
  tags:
    - cfgov-cf-enhancements
*/

#hero-bg-image {
  .respond-to-print({
    background-image: none; 
    background-color: transparent;
    border-bottom: 1px solid @gray-50;
  });
}

/* topdoc
  name: PDF Link print styles
  family: cfgov-cf-enhancements
  patterns:
    - name: .superheader
      markup: |
        <a class="pdf-link pdf" href="/owning-a-home/resources/checklist_mortgage_closing.pdf">Get the closing checklist</a>
  tags:
    - cfgov-cf-enhancements
*/

.pdf-link {
  .respond-to-print({
    display: inline;
  });
}

/* topdoc
  name: Header slug print styles
  family: cfgov-cf-enhancements
  patterns:
    - name: .tabbed-heading
      markup: |
        <header class="tabbed-header tabbed-pad-top">
        <h3 class="subhead tabbed-heading">Stay tuned</h3>
      </header>
  tags:
    - cfgov-cf-enhancements
*/

.tabbed-heading {
  .respond-to-print({
    border-top-color: @gray-50;
  });
}
{'fraction_non_alphanumeric': 0.20156438026474127, 'fraction_numerical': 0.00842358604091456, 'mean_word_length': 2.472841225626741, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4418808', 'n_tokens_mistral': 1588, 'n_tokens_neox': 1490, 'n_words': 426}