diff options
| author | Patrick H. Lauke <[email protected]> | 2016-10-03 10:00:09 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-10-03 10:00:09 +0100 |
| commit | add8dfe1572f5a5ea579259d4eae3c3c3909a6e1 (patch) | |
| tree | 125393f9c873905e2c8bf774cb34e422f9bb8fc3 | |
| parent | 07033a8cf8571f11866a04e1e244defc4a2e03cc (diff) | |
| parent | 6ae42a02c6d3d108f3693faa094fd4a20d3b411e (diff) | |
| download | bootstrap-add8dfe1572f5a5ea579259d4eae3c3c3909a6e1.tar.xz bootstrap-add8dfe1572f5a5ea579259d4eae3c3c3909a6e1.zip | |
Merge pull request #20821 from patrickhlauke/v4-h5bp-print
Update print styles borrowed from h5bp
| -rw-r--r-- | scss/_print.scss | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/scss/_print.scss b/scss/_print.scss index 84556602f..fd99d6978 100644 --- a/scss/_print.scss +++ b/scss/_print.scss @@ -14,7 +14,10 @@ *::before, *::after, *::first-letter, - *::first-line { + p::first-line, + div::first-line, + blockquote::first-line, + li::first-line { // Bootstrap specific; comment out `color` and `background` //color: #000 !important; // Black prints faster: // http://www.sanbeiji.com/archives/953 @@ -24,7 +27,7 @@ } a, - a:visited { + a::visited { text-decoration: underline; } @@ -44,10 +47,13 @@ // //a[href^="#"]::after, - //a[href^="javascript:"]::after { - // content: ""; + //a[href^="javascript:"]:after { + // content: ""; //} + pre { + white-space: pre-wrap !important; + } pre, blockquote { border: $border-width solid #999; // Bootstrap custom code; using `$border-width` instead of 1px |
