cremeaux/assets/styles/print.sass

81 lines
994 B
Sass

/* Print */
@media print
*
background: transparent !important
box-shadow: none !important
text-shadow: none !important
body
width: auto
margin: auto
font-family: serif
font-size: 12pt
p,
.p-like,
h1,
.h1-like,
h2,
.h2-like,
h3,
.h3-like,
h4,
.h4-like,
h5,
.h5-like,
h6,
.h6-like,
blockquote,
ul,
ol
color: #000
margin: auto
img
max-width: 100% !important
.print
display: block
.no-print
display: none
p,
.p-like,
blockquote
orphans: 3
widows: 3
blockquote,
ul,
ol,
img
page-break-inside: avoid
h1,
.h1-like
page-break-before: always
h1,
.h1-like,
h2,
.h2-like,
h3,
.h3-like,
caption
page-break-after: avoid
a
color: #000
a[href^="http"]:not([href*="cremeaux.fr"]):after
content: " (" attr(href) ")"
a[href^="javascript:"]::after,
a[href^="#"]::after
content: ""
abbr[title]:after
content: " (" attr(title) ")"