html: Update the CSS and add topics.

This commit is contained in:
Chris Johns 2016-11-02 12:08:27 +11:00
parent 8f2a4f3959
commit 75e787d4a0

View File

@ -34,7 +34,7 @@
*/ */
.rst-content code.literal { .rst-content code.literal {
background: transparent; background: transparent;
color: #77AD4A; color: #2a8e1d;
border: 0px; border: 0px;
} }
@ -56,19 +56,23 @@ table.rtems-table.docutils td {
* Notes. * Notes.
*/ */
.rst-content .note .admonition-title { .rst-content .note .admonition-title {
background-color: #38532F; background-color: rgba(66, 97, 55, 0.98);
color: #fdfdfd; color: #fdfdfd;
} }
.admonition.note { .admonition.note {
background: #dbe5c6; background: #dbe5c6;
color: #333333; color: #333333;
} }
.admonition.note .highlight {
background: rgba(219, 229, 198, 0.54);
color: #333333;
}
/* /*
* Todo * Todo
*/ */
.rst-content .todo .admonition-title { .rst-content .todo .admonition-title {
background-color: #38532F; background-color: rgba(66, 97, 55, 0.98);
color: #fdfdfd; color: #fdfdfd;
} }
.admonition.todo { .admonition.todo {
@ -76,11 +80,29 @@ table.rtems-table.docutils td {
color: #333333; color: #333333;
} }
/*
* Topic
*/
.topic .topic-title {
background: rgba(231, 242, 209, 0.33);
/*background-color: #dbe5c6;*/
color: #38532F;
}
.topic {
background: rgba(231, 242, 209, 0.2);
color: #4040408;
border: 1px solid rgba(231, 242, 209, 0.33);
}
.topic .highlight pre {
background: rgba(231, 242, 209, 0.2);
color: #4040408;
}
/* /*
* Warning * Warning
*/ */
.rst-content .warning .admonition-title { .rst-content .warning .admonition-title {
background-color: #38532F; background-color: rgba(66, 97, 55, 0.98);
color: #ef6d6d; color: #ef6d6d;
} }
.admonition.warning { .admonition.warning {
@ -169,7 +191,7 @@ table.rtems-table.docutils td {
} }
.wy-nav-content a { .wy-nav-content a {
color: #77AD4A; color: #2a8e1d;
} }
.wy-nav-content a:hover { .wy-nav-content a:hover {