From 859f0b73197ce9c41ac65ff5c6953923307ffed0 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 27 Jan 2016 11:27:31 +1100 Subject: Add an rtems-table class to wrap and align HTML tables. --- common/_static/my-styles.css | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'common/_static/my-styles.css') 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 @@ -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. */ -- cgit v1.2.3