summaryrefslogtreecommitdiff
path: root/rst.css
diff options
context:
space:
mode:
authorThomas Witt <witt@acm.org>2007-07-06 19:47:17 +0000
committerThomas Witt <witt@acm.org>2007-07-06 19:47:17 +0000
commit197cd2d534e309b94b68e8b98709ddcac207032e (patch)
treebe3ea7dc163fdd4cf8e74cc6fa7c75ba9b3b32ed /rst.css
parentf2c7469c8675123010aae89a64d1166daedbde05 (diff)
downloadboost-197cd2d534e309b94b68e8b98709ddcac207032e.tar.gz
Doc and build fixes by Dave Abrahams.
[SVN r38154]
Diffstat (limited to 'rst.css')
-rwxr-xr-xrst.css19
1 files changed, 13 insertions, 6 deletions
diff --git a/rst.css b/rst.css
index 8382031fc4..657224b7b1 100755
--- a/rst.css
+++ b/rst.css
@@ -62,27 +62,34 @@ dl,table
Tables
=============================================================================*/
- table.table
+/* The only clue docutils gives us that tables are logically tables,
+ and not, e.g., footnotes, is that they have border="1". Therefore
+ we're keying off of that. We used to manually patch docutils to
+ add a "table" class to all logical tables, but that proved much too
+ fragile.
+*/
+
+ table[border="1"]
{
width: 92%;
margin-left: 4%;
margin-right: 4%;
}
- table.table
+ table[border="1"]
{
padding: 4px;
}
/* Table Cells */
- table.table tr td
+ table[border="1"] tr td
{
padding: 0.5em;
text-align: left;
font-size: 9pt;
}
- table.table tr th
+ table[border="1"] tr th
{
padding: 0.5em 0.5em 0.5em 0.5em;
border: 1pt solid white;
@@ -93,12 +100,12 @@ dl,table
{
/* Tables */
- table.table tr td
+ table[border="1"] tr td
{
border: 1px solid #DCDCDC;
}
- table.table tr th
+ table[border="1"] tr th
{
background-color: #F0F0F0;
border: 1px solid #DCDCDC;