Made changes in print.scss
This commit is contained in:
parent
27650c3fa9
commit
248eda3919
1 changed files with 27 additions and 11 deletions
|
@ -3,6 +3,12 @@
|
|||
/* ----------------------------- */
|
||||
|
||||
@media print {
|
||||
* {
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
body {
|
||||
width: auto !important;
|
||||
margin: auto !important;
|
||||
|
@ -13,7 +19,7 @@
|
|||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6,
|
||||
blockquote, p
|
||||
p, blockquote,
|
||||
ul, ol {
|
||||
color: #000 !important;
|
||||
margin: auto !important;
|
||||
|
@ -26,6 +32,10 @@
|
|||
display: block;
|
||||
}
|
||||
|
||||
img {
|
||||
@include filter(grayscale(100%));
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. No orphans
|
||||
* 2. No widows
|
||||
|
@ -61,6 +71,7 @@
|
|||
|
||||
/**
|
||||
* 1. Displays url after link
|
||||
* 2. ... unless it's a JS or empty link
|
||||
*/
|
||||
a {
|
||||
color: #000 !important;
|
||||
|
@ -69,5 +80,10 @@
|
|||
&[href]:after {
|
||||
content: " (" attr(href) ")"; /* 1 */
|
||||
}
|
||||
|
||||
&[href^="javascript:"]:after,
|
||||
&[href^="#"]:after {
|
||||
content: ''; /* 2 */
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue