markdown_convert 1.2.38__py3-none-any.whl → 1.2.39__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,14 @@
1
1
  :root {
2
- /* -- Standard margins */
3
- --top-margin: 0.75em;
4
- --bottom-margin: 0.5em;
5
- --left-margin: 1.5em;
2
+ /* -- Header margins -- */
3
+ --top-margin: 1em;
4
+ --bottom-margin-small: 0.25em;
6
5
 
7
- /* -- Small margins */
8
- --left-margin-small: 1em;
9
- --top-margin-small: 0.25em;
10
- --bottom-margin-small: 0.15em;
6
+ /* -- Element margins -- */
7
+ --bottom-margin: 0.75em;
11
8
 
12
- /* -- Big margins */
9
+ /* -- Nested element margins -- */
10
+ --left-margin: 1.5em;
11
+ --left-margin-small: 1em;
13
12
  --left-margin-big: 2em;
14
13
  }
15
14
 
@@ -28,39 +27,41 @@ body {
28
27
  }
29
28
 
30
29
  /* Headers and paragraphs */
31
- h1,
30
+ h1 {
31
+ margin-top: 0;
32
+ margin-bottom: var(--bottom-margin-small);
33
+ }
34
+
32
35
  h2,
33
36
  h3,
34
37
  h4,
35
38
  h5 {
36
- color: #333;
37
- font-weight: 600;
39
+ margin-top: var(--top-margin);
40
+ margin-bottom: var(--bottom-margin-small);
38
41
  }
39
42
 
40
- h1 {
43
+ p {
41
44
  margin-top: 0;
42
45
  margin-bottom: var(--bottom-margin);
43
46
  }
44
47
 
48
+ h1,
45
49
  h2,
46
50
  h3,
47
51
  h4,
48
- h5,
49
- p {
50
- margin-top: var(--top-margin);
51
- margin-bottom: 0;
52
+ h5 {
53
+ color: #333;
54
+ font-weight: 600;
52
55
  }
53
56
 
54
57
  h1 {
55
58
  font-size: 2.2rem;
56
59
  border-bottom: 0.5px solid #999;
57
- padding-bottom: var(--bottom-margin-small);
58
60
  }
59
61
 
60
62
  h2 {
61
63
  font-size: 1.8rem;
62
64
  border-bottom: 0.5px solid #999;
63
- padding-bottom: var(--bottom-margin-small);
64
65
  }
65
66
 
66
67
  h3 {
@@ -90,22 +91,20 @@ a {
90
91
  ul,
91
92
  ol {
92
93
  font-size: 1rem;
93
- padding: 0;
94
- margin-top: var(--top-margin);
95
- margin-right: 0;
94
+ margin-top: 0;
96
95
  margin-bottom: var(--bottom-margin);
97
- margin-left: var(--left-margin-big);
96
+ margin-right: 0;
97
+ margin-left: var(--left-margin-small);
98
+ padding-left: var(--left-margin);
98
99
  }
99
100
 
100
101
  ul ol,
101
102
  ol ul,
102
103
  ol ol,
103
104
  ul ul {
104
- margin-top: 0;
105
- }
106
-
107
- li {
108
- margin-top: var(--top-margin-small);
105
+ margin-bottom: 0;
106
+ margin-left: 0;
107
+ padding-left: var(--left-margin);
109
108
  }
110
109
 
111
110
  /* Code blocks */
@@ -114,10 +113,10 @@ pre {
114
113
  white-space: pre-wrap;
115
114
  }
116
115
 
117
- pre > code {
116
+ pre>code {
118
117
  display: block;
119
118
  padding: 1em;
120
- margin-top: var(--top-margin);
119
+ margin-top: 0;
121
120
  margin-bottom: var(--bottom-margin);
122
121
  }
123
122
 
@@ -143,15 +142,16 @@ h5 code {
143
142
 
144
143
  /* Quotes */
145
144
  blockquote {
146
- margin-top: var(--top-margin);
145
+ margin-top: 0;
146
+ margin-bottom: var(--bottom-margin);
147
147
  margin-left: var(--left-margin);
148
148
  border-left: 4px solid #ccc;
149
149
  padding-left: 0.5em;
150
150
  color: #666;
151
151
  }
152
152
 
153
- blockquote > blockquote {
154
- margin-left: var(--left-margin-small);
153
+ blockquote>blockquote {
154
+ padding-left: var(--left-margin-small);
155
155
  }
156
156
 
157
157
  /* Figures */
@@ -162,7 +162,7 @@ img {
162
162
  }
163
163
 
164
164
  /* -- Figure footer */
165
- p > img + em {
165
+ p>img+em {
166
166
  text-align: center;
167
167
  font-size: 1rem;
168
168
  font-style: italic;
@@ -176,7 +176,8 @@ table {
176
176
  font-size: 1rem;
177
177
  font-family: inherit;
178
178
  border-collapse: collapse;
179
- margin-top: var(--top-margin);
179
+ margin-top: 0;
180
+ margin-bottom: var(--bottom-margin);
180
181
  text-align: left;
181
182
  width: 100%;
182
183
  table-layout: auto;
@@ -215,7 +216,7 @@ td {
215
216
  page-break-after: always;
216
217
  }
217
218
 
218
- .pagebreak + * {
219
+ .pagebreak+* {
219
220
  margin-top: 0;
220
221
  }
221
222
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: markdown_convert
3
- Version: 1.2.38
3
+ Version: 1.2.39
4
4
  Summary: Convert Markdown files to PDF from your command line.
5
5
  Project-URL: homepage, https://github.com/Julynx/markdown_convert
6
6
  Author-email: Julio Cabria <juliocabria@tutanota.com>
@@ -1,7 +1,7 @@
1
1
  markdown_convert/__init__.py,sha256=ysW3pXsDGGK4PzZHcIBTpfVW58IkDUwHffDkf_GM6UU,303
2
2
  markdown_convert/__main__.py,sha256=hO7AO0GnzPMPNqls8r5aF2C-7l9aFHDf1m8mXSy1GBE,2809
3
3
  markdown_convert/code.css,sha256=Wt4FqFqJcpT-jwY3GN-o4ZRCCXU8DQj-9lqKdGiuoyw,4935
4
- markdown_convert/default.css,sha256=QFJ2F3Rc7Cn-o5-9CuEXeq8NYLSB_FDWrv3MNY418A0,3465
4
+ markdown_convert/default.css,sha256=4S8lVclp-GMvpalFRS2Q-_7fDNhnweWE_UQDVbpTYng,3492
5
5
  markdown_convert/modules/__init__.py,sha256=PFPgiQhMXgyfjD8BkfLC_X8AR1jz-dCxfif2qmNofJs,65
6
6
  markdown_convert/modules/constants.py,sha256=_h6N0fhG9K1hQPmp3eYu53TfQnAPe7RtmMj-2FCD7VU,495
7
7
  markdown_convert/modules/convert.py,sha256=R1xIKW6UVGP7a6VK5C6qLK278wBlHZV9X6Y9q73mz_k,9843
@@ -9,8 +9,8 @@ markdown_convert/modules/resources.py,sha256=tnW8JmCrJNBRbzOcaOVG6GX5jPC8Kzj3dA7
9
9
  markdown_convert/modules/transform.py,sha256=uQbTtiSKDTXRs49OuDazpD2nSya4fpghzMS4BZ9zm_8,3120
10
10
  markdown_convert/modules/utils.py,sha256=NX0WegM8e8MPKNNmweTujAWO8ZghdB8LSGDx20K2E44,655
11
11
  markdown_convert/modules/validate.py,sha256=XV_k7cHeifEKDaltF26tCmabs2-Me5msP3enI_eVwfA,1517
12
- markdown_convert-1.2.38.dist-info/METADATA,sha256=gh3AU2ZAPkxrvn-ga9SkDsBhT7MagGfhMd1SZTOqip0,3939
13
- markdown_convert-1.2.38.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
14
- markdown_convert-1.2.38.dist-info/entry_points.txt,sha256=RCmzC7C0sX-SpzIP2Cr34rhg3lMd7BRx-exaZPfK8bU,68
15
- markdown_convert-1.2.38.dist-info/licenses/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
16
- markdown_convert-1.2.38.dist-info/RECORD,,
12
+ markdown_convert-1.2.39.dist-info/METADATA,sha256=OwYd5H8EW8YWWK2-Nx2CrCYDDssUwmw6A_hJXc2UlQ8,3939
13
+ markdown_convert-1.2.39.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
14
+ markdown_convert-1.2.39.dist-info/entry_points.txt,sha256=RCmzC7C0sX-SpzIP2Cr34rhg3lMd7BRx-exaZPfK8bU,68
15
+ markdown_convert-1.2.39.dist-info/licenses/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
16
+ markdown_convert-1.2.39.dist-info/RECORD,,