~yacinechaouche/+junk/BZR

« back to all changes in this revision

Viewing changes to CODE/TEST/HTML/SO/template/less/08-print.less

  • Committer: yacinechaouche at yahoo
  • Date: 2015-01-14 22:23:03 UTC
  • Revision ID: yacinechaouche@yahoo.com-20150114222303-6gbtqqxii717vyka
Ajout de CODE et PROD. Il faudra ensuite ajouter ce qu'il y avait dan TMP

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@import "00-config";
 
2
/* quick print reset */
 
3
@media print {
 
4
        * {
 
5
                background: transparent !important;
 
6
                box-shadow: none !important;
 
7
                text-shadow: none !important;
 
8
        }
 
9
        body {
 
10
                width: auto !important;
 
11
                margin: auto !important;
 
12
                font-family: serif;
 
13
                font-size: 12pt;
 
14
                background-color: #fff !important;
 
15
                color: #333 !important;
 
16
        }
 
17
        p,
 
18
        h1,
 
19
        h2,
 
20
        h3,
 
21
        h4,
 
22
        h5,
 
23
        h6,
 
24
        blockquote,
 
25
        ul,
 
26
        ol {
 
27
                color: #000 !important;
 
28
                margin: auto !important;
 
29
        }
 
30
        .print {
 
31
                display: block; /* displaying .print elements */
 
32
        }
 
33
        img { 
 
34
                -webkit-filter: grayscale(100%);
 
35
                -moz-filter: grayscale(100%);
 
36
                -ms-filter: grayscale(100%);
 
37
                -o-filter: grayscale(100%);
 
38
                filter: grayscale(100%);
 
39
        }
 
40
        p,
 
41
        blockquote {
 
42
                orphans: 3; /* no orphans */
 
43
                widows: 3; /* no widows */
 
44
        }
 
45
        blockquote,
 
46
        ul,
 
47
        ol {
 
48
                page-break-inside: avoid; /* no breaks inside these elements */
 
49
        }
 
50
        h1 {
 
51
                page-break-before: always; /* page break before main headers */
 
52
        }
 
53
        h1,
 
54
        h2,
 
55
        h3,
 
56
        caption {
 
57
                page-break-after: avoid; /* no breaks after these elements */
 
58
        }
 
59
        a {
 
60
                color: #000 !important;
 
61
                text-decoration: underline !important;
 
62
        }
 
63
        a[href]:after {
 
64
                content: " (" attr(href) ")"; /* displaying URLs */
 
65
        }
 
66
        a[href^="javascript:"]:after,
 
67
        a[href^="#"]:after {
 
68
                content: "";
 
69
        }
 
70
}
 
 
b'\\ No newline at end of file'