aboutsummaryrefslogtreecommitdiff
path: root/scss/_print.scss
diff options
context:
space:
mode:
Diffstat (limited to 'scss/_print.scss')
-rw-r--r--scss/_print.scss12
1 files changed, 9 insertions, 3 deletions
diff --git a/scss/_print.scss b/scss/_print.scss
index b2c93735c..bd41328c2 100644
--- a/scss/_print.scss
+++ b/scss/_print.scss
@@ -1,4 +1,4 @@
-// scss-lint:disable ImportantRule, QualifyingElement
+// scss-lint:disable QualifyingElement
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css
@@ -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
@@ -45,9 +48,12 @@
//a[href^="#"]::after,
//a[href^="javascript:"]::after {
- // content: "";
+ // content: "";
//}
+ pre {
+ white-space: pre-wrap !important;
+ }
pre,
blockquote {
border: $border-width solid #999; // Bootstrap custom code; using `$border-width` instead of 1px