diff --git a/pdf.less b/pdf.less index c3aca20..66170d2 100644 --- a/pdf.less +++ b/pdf.less @@ -3,10 +3,11 @@ Styles used in PDFs by the DW2PDF plugin (in addition to all.css, and the DW2PDF plugin also includes style.css via the 'usestyles' option) ********************************************************************/ -.dokuwiki { - +@import 'style.less'; @import 'print_or_pdf.less'; +.dokuwiki { + /*____________ only print ____________*/ /* due to including style.css, these need to be overwritten again */ diff --git a/print.less b/print.less index 5244d85..7fe0d8c 100644 --- a/print.less +++ b/print.less @@ -2,10 +2,10 @@ Print Styles for the Wrap Plugin (additional to all.css) ********************************************************************/ -.dokuwiki { - @import 'print_or_pdf.less'; +.dokuwiki { + /* boxes and notes with icons ********************************************************************/ diff --git a/print_or_pdf.less b/print_or_pdf.less index 7a6e646..ef8e94a 100644 --- a/print_or_pdf.less +++ b/print_or_pdf.less @@ -7,19 +7,19 @@ Styles shared between print.css and pdf.css /*____________ pagebreak ____________*/ -.wrap_pagebreak { +.dokuwiki .wrap_pagebreak { page-break-after: always; } /*____________ avoid page break ____________*/ /* not yet supported by most browsers */ -.wrap_nopagebreak { +.dokuwiki .wrap_nopagebreak { page-break-inside: avoid; } /*____________ no print ____________*/ -.wrap_noprint { +.dokuwiki .wrap_noprint { display: none; }