source: rtems-docs/common/_static/my-styles.css @ 75e787d

4.115
Last change on this file since 75e787d was 75e787d, checked in by Chris Johns <chrisj@…>, on 11/02/16 at 01:08:27

html: Update the CSS and add topics.

  • Property mode set to 100644
File size: 3.6 KB
Line 
1.rtemsdefine {
2    padding: 0 0 0 2em;
3}
4
5.rtemscommand {
6    padding: 0 0 0 2em;
7}
8
9.rtemsoption {
10    padding: 0 0 0 2em;
11}
12
13.rtemsdefine dt {
14        color: #408090;
15}
16
17.rtemsdefine dd {
18        color: #408090;
19}
20
21.rtemscommand {
22        border: 1px solid #808b89;
23        border-radius: 5px;
24        background: #d2e3e0;
25        color: #5e6664
26}
27
28.rtemsoption dt {
29        color: #a87892;
30}
31
32/*
33 * Literals.
34 */
35.rst-content code.literal {
36    background: transparent;
37    color: #2a8e1d;
38    border: 0px;
39}
40
41/*
42 * Special table for RTEMS. Wrap cell contents and vertically align to the top.
43 *
44 * Note: this is not working as expected. The white-space: normal cause the
45 *       columns in the box to not space correctly. The split in half.
46 */
47table.rtems-table.docutils {
48    table-layout: fixed;
49}
50table.rtems-table.docutils td {
51    vertical-align: top;
52    white-space: normal;
53}
54
55/*
56 * Notes.
57 */
58.rst-content .note .admonition-title {
59    background-color: rgba(66, 97, 55, 0.98);
60    color: #fdfdfd;
61}
62.admonition.note {
63    background: #dbe5c6;
64    color: #333333;
65}
66.admonition.note .highlight {
67    background: rgba(219, 229, 198, 0.54);
68    color: #333333;
69}
70
71/*
72 * Todo
73 */
74.rst-content .todo .admonition-title {
75    background-color: rgba(66, 97, 55, 0.98);
76    color: #fdfdfd;
77}
78.admonition.todo {
79    background: #dbe5c6;
80    color: #333333;
81}
82
83/*
84 * Topic
85 */
86.topic .topic-title {
87    background: rgba(231, 242, 209, 0.33);
88    /*background-color: #dbe5c6;*/
89    color: #38532F;
90}
91.topic {
92    background: rgba(231, 242, 209, 0.2);
93    color: #4040408;
94    border: 1px solid rgba(231, 242, 209, 0.33);
95}
96.topic .highlight pre {
97    background: rgba(231, 242, 209, 0.2);
98    color: #4040408;
99}
100
101/*
102 * Warning
103 */
104.rst-content .warning .admonition-title {
105    background-color: rgba(66, 97, 55, 0.98);
106    color: #ef6d6d;
107}
108.admonition.warning {
109    background: #dbe5c6;
110    color: #333333;
111}
112
113/*
114 * Nav side-bar in RTEMS colours.
115 */
116.wy-nav-top, .wy-nav-top a {
117    background-color: #38532F;
118    color: #fdfdfd;
119}
120
121.wy-side-nav-search {
122    background-color: #38532F;
123}
124
125.wy-nav-side {
126    background-color: #dbe5c6;
127    color: #424242;
128}
129
130.wy-menu-vertical {
131    background-color: #dbe5c6;
132    color: #333333;
133}
134.wy-menu-vertical a {
135    background-color: #dbe5c6;
136    color: #333333;
137}
138.wy-menu-vertical a:hover {
139    background-color: #38532F;
140    color: #fdfdfd;
141}
142
143.wy-menu-vertical li.toctree-l1.current>a{
144    background:#dbe5c6;
145    color: #333333;
146}
147
148.wy-menu-vertical li.toctree-l1.current>a:hover{
149    background-color: #38532F;
150    color: #fdfdfd;
151}
152
153.wy-menu-vertical li.toctree-l1.current li.toctree-l2>a{
154    background:#dbe5c6;
155    color: #333333;
156}
157
158.wy-menu-vertical li.toctree-l1.current li.toctree-l2>a:hover{
159    background-color: #38532F;
160    color: #fdfdfd;
161}
162
163.wy-menu-vertical li.toctree-l1.current li.toctree-l2.current>a{
164    background:#dbe5c6;
165    color: #333333;
166}
167
168.wy-menu-vertical li.toctree-l1.current li.toctree-l2.current>a:hover{
169    background-color: #38532F;
170    color: #fdfdfd;
171}
172
173.wy-menu-vertical li.toctree-l1.current li.toctree-l2.current li.toctree-l3>a{
174    background: #dbe5c6;
175    color: #333333;
176}
177
178.wy-menu-vertical li.toctree-l1.current li.toctree-l2.current li.toctree-l3>a:hover{
179    background-color: #38532F;
180    color: #fdfdfd;
181}
182
183.wy-menu-vertical li.toctree-l1.current li.toctree-l2.current li.toctree-l3 li.toctree-l4>a{
184    background: #dbe5c6;
185    color: #333333;
186}
187
188.wy-menu-vertical li.toctree-l1.current li.toctree-l2.current li.toctree-l3 li.toctree-l4>a:hover{
189    background-color: #38532F;
190    color: #fdfdfd;
191}
192
193.wy-nav-content a {
194    color: #2a8e1d;
195}
196
197.wy-nav-content a:hover {
198    color: #4B6D2F;
199}
Note: See TracBrowser for help on using the repository browser.