Add an rtems-table class to wrap and align HTML tables.

This commit is contained in:
Chris Johns
2016-01-27 11:27:31 +11:00
committed by Amar Takhar
parent 1a72a9806f
commit 859f0b7319
6 changed files with 104 additions and 10 deletions

View File

@@ -29,6 +29,14 @@
color: #a87892;
}
/*
* Special table for RTEMS. Wrap cell contents and vertically align to the top.
*/
table.rtems-table.docutils td {
white-space: normal;
vertical-align: top;
}
/*
* Special table. We do not use this because the format is only for HTML
* not PDF. Left here as a record.
@@ -50,6 +58,30 @@ table.rtems-items-table.docutils:not(.field-list) tr td:nth-child(2n) {
text-align: left;
}
/*
* Notes.
*/
.rst-content .note .admonition-title {
background-color: #38532F;
color: #fdfdfd;
}
.admonition.note {
background:#dbe5c6;
color: #333333;
}
/*
* Todo
*/
.rst-content .todo .admonition-title {
background-color: #38532F;
color: #fdfdfd;
}
.admonition.todo {
background:#dbe5c6;
color: #333333;
}
/*
* Nav side-bar in RTEMS colours.
*/