summaryrefslogtreecommitdiff
path: root/platform/www/lib/plugins/wrap/print_or_pdf.less
blob: 1d20a9ec19831fcbe4b17f942049c83c65598c25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/********************************************************************
Styles shared between print.css and pdf.css
********************************************************************/

.dokuwiki {

/* miscellaneous
********************************************************************/

/*____________ pagebreak ____________*/

.wrap_pagebreak {
    break-after: page; /* CSS 3 */
    page-break-after: always; /* CSS 2.1 */
}

/*____________ avoid page break ____________*/
/* not yet supported by most browsers */

.wrap_nopagebreak {
    break-inside: avoid; /* CSS 3 */
    page-break-inside: avoid; /* CSS 2.1 */
}

/*____________ no print ____________*/

.wrap_noprint {
    display: none;
}

} /* /.dokuwiki */