PluginProbe
PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin / 1.6
PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin v1.6
trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.7.7 1.7.8 1.7.9 1.8.0 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.1 All 71 releases
← All changes | mpdf/mpdf.css +20 -82 trunk1.6 View file →
@@ -1,82 +1,20 @@
1 -
2 -
3 -
4 -/* LISTS */
5 -
6 -/*
7 -A default margin-top/bottom for lists is NOT set in config.php - (standard browsers give outermost list a top and bottom margin).
8 -[mPDF default CSS set in config.php only works on basic elements, cannot do selectors such as "ol ol"]
9 -Need to add the following to do this, but also prevent margins in nested lists as per default HTML in most browsers:
10 -*/
11 -
12 -ul, ol { margin-top: 0.83em; margin-bottom: 0.83em; }
13 -ul ul, ul ol, ol ul, ol ol { margin-top: 0; margin-bottom: 0; }
14 -
15 -
16 -
17 -
18 -/* INDEXES */
19 -div.mpdf_index_main {
20 - font-family: sans-serif;
21 - line-height: normal;
22 -}
23 -div.mpdf_index_entry {
24 - line-height: normal;
25 - text-indent: -1.5em;
26 -}
27 -div.mpdf_index_letter {
28 - font-family: sans-serif;
29 - font-size: 1.8em;
30 - font-weight: bold;
31 - line-height: normal;
32 - text-transform: uppercase;
33 - page-break-after: avoid;
34 - margin-top: 0.3em;
35 - margin-collapse: collapse;
36 -}
37 -a.mpdf_index_link {
38 - color: #000000;
39 - text-decoration: none;
40 -}
41 -
42 -
43 -
44 -/* TABLE OF CONTENTS */
45 -div.mpdf_toc {
46 - font-family: sans-serif;
47 - line-height: normal;
48 -}
49 -a.mpdf_toc_a {
50 - text-decoration: none;
51 - color: black;
52 -}
53 -div.mpdf_toc_level_0 { /* Whole line level 0 */
54 - line-height: 1.5;
55 - margin-left: 0;
56 - padding-right: 0em; /* should match the outdent specified for ToC; 0 is default; suggested value 2em */
57 -}
58 -span.mpdf_toc_t_level_0 { /* Title level 0 - may be inside <a> */
59 - font-weight: bold;
60 -}
61 -span.mpdf_toc_p_level_0 { /* Page no. level 0 - may be inside <a> */
62 -}
63 -div.mpdf_toc_level_1 { /* Whole line level 1 */
64 - margin-left: 2em;
65 - text-indent: -2em;
66 - padding-right: 0em; /* should match the outdent specified for ToC; 0 is default; suggested value 2em */
67 -}
68 -span.mpdf_toc_t_level_1 { /* Title level 1 */
69 - font-style: italic;
70 - font-weight: bold;
71 -}
72 -span.mpdf_toc_p_level_1 { /* Page no. level 1 - may be inside <a> */
73 -}
74 -div.mpdf_toc_level_2 { /* Whole line level 2 */
75 - margin-left: 4em;
76 - text-indent: -2em;
77 - padding-right: 0em; /* should match the outdent specified for ToC; 0 is default; suggested value 2em */
78 -}
79 -span.mpdf_toc_t_level_2 { /* Title level 2 */
80 -}
81 -span.mpdf_toc_p_level_2 { /* Page no. level 2 - may be inside <a> */
82 -}
1 +/*
2 + This is a secondary default stylesheet for mPDF
3 + It will only parse element-level CSS here
4 + Remove the comment marks below and edit as required
5 +*/
6 +
7 +
8 +
9 +/*
10 + These values used to be the default prior to mPDF 4.2
11 + Altered to make appearance closer to that of browsers
12 + Uncomment these lines to return to behaviour prior to v4.2
13 +*/
14 +
15 +
16 +/*
17 +img { margin: 0.83em 0; vertical-align: bottom; }
18 +table { margin: 0.5em; }
19 +textarea { vertical-align: top; }
20 +*/