summaryrefslogtreecommitdiffstats
path: root/common/_static
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-01-27 11:27:31 +1100
committerAmar Takhar <verm@darkbeer.org>2016-05-02 20:51:25 -0400
commit859f0b73197ce9c41ac65ff5c6953923307ffed0 (patch)
tree4b2994971c2dde38b3015194dca9d2aec08c97c9 /common/_static
parentCleanups. (diff)
downloadrtems-docs-859f0b73197ce9c41ac65ff5c6953923307ffed0.tar.bz2
Add an rtems-table class to wrap and align HTML tables.
Diffstat (limited to 'common/_static')
-rw-r--r--common/_static/my-styles.css32
1 files changed, 32 insertions, 0 deletions
diff --git a/common/_static/my-styles.css b/common/_static/my-styles.css
index c82b59b..d899bf6 100644
--- a/common/_static/my-styles.css
+++ b/common/_static/my-styles.css
@@ -30,6 +30,14 @@
}
/*
+ * 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.
*/
@@ -51,6 +59,30 @@ table.rtems-items-table.docutils:not(.field-list) tr td:nth-child(2n) {
}
/*
+ * 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.
*/
.wy-nav-top, .wy-nav-top a {