mirror of
https://git.rtems.org/rtems-docs/
synced 2025-10-18 06:57:09 +08:00
Add an rtems-table class to wrap and align HTML tables.
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user