|
From: <mi...@us...> - 2021-01-26 23:39:06
|
Revision: 8609
http://sourceforge.net/p/docutils/code/8609
Author: milde
Date: 2021-01-26 23:39:02 +0000 (Tue, 26 Jan 2021)
Log Message:
-----------
Support "captionbelow" class value for tables in HTML5.
Modified Paths:
--------------
trunk/docutils/HISTORY.txt
trunk/docutils/docs/user/config.txt
trunk/docutils/docutils/writers/html5_polyglot/minimal.css
Modified: trunk/docutils/HISTORY.txt
===================================================================
--- trunk/docutils/HISTORY.txt 2021-01-26 23:38:51 UTC (rev 8608)
+++ trunk/docutils/HISTORY.txt 2021-01-26 23:39:02 UTC (rev 8609)
@@ -106,6 +106,7 @@
- Move non-essential styling from ``minimal.css`` to ``plain.css``.
Support numbered figures in ``plain.css``.
+ Support "captionbelow" class value for tables in ``minimal.css``.
- Fix bug #398: properly close link tag to "schema.dcterms".
Modified: trunk/docutils/docs/user/config.txt
===================================================================
--- trunk/docutils/docs/user/config.txt 2021-01-26 23:38:51 UTC (rev 8608)
+++ trunk/docutils/docs/user/config.txt 2021-01-26 23:39:02 UTC (rev 8609)
@@ -1189,21 +1189,24 @@
The default CSS sylesheet defines:
-borderless
- No borders around the table.
+ borderless
+ No borders around the table.
+
+ booktabs
+ Lines above and below the table and a thin line after the head.
+
+ align-left, align-center, align-right
+ Align the tables
+
+ colwidths-auto
+ Delegate the determination of table column widths to the backend
+ (leave out the ``<colgroup>`` column specification).
+ See also the "widths" option of the `table directive`_.
+
+ captionbelow
+ Place the table caption below the table
+ (only with the `HTML5 writer`_, new in 0.17).
-booktabs
- Lines above and below the table and a thin line after the head.
-
-align-left, align-center, align-right
- Align the tables
-
-colwidths-auto
- Delegate the determination of table column widths to the backend
- (Leave out the ``<colgroup>`` column specification.)
-
- Cf. the `table directive`_.
-
Default: "". Option: ``--table-style``.
.. _table directive: ../ref/rst/directives.html#table
Modified: trunk/docutils/docutils/writers/html5_polyglot/minimal.css
===================================================================
--- trunk/docutils/docutils/writers/html5_polyglot/minimal.css 2021-01-26 23:38:51 UTC (rev 8608)
+++ trunk/docutils/docutils/writers/html5_polyglot/minimal.css 2021-01-26 23:39:02 UTC (rev 8609)
@@ -43,7 +43,7 @@
h2 + p.section-subtitle {
font-size: 1.6em;
}
-h3 + p.section-subtitle {
+h3 + p.section-subtitle {
font-size: 1.28em;
}
p.subtitle,
@@ -247,8 +247,12 @@
table > caption {
text-align: left;
- margin-bottom: 0.25em
+ margin-top: 0.2em;
+ margin-bottom: 0.2em;
}
+table.captionbelow {
+ caption-side: bottom;
+}
table.borderless td, table.borderless th {
border: 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|