Line | |
---|
1 | @import "nature.css"; |
---|
2 | |
---|
3 | /* Override default theme styles here */ |
---|
4 | |
---|
5 | /* Better styling for figures: |
---|
6 | - Add border so figures with white background look |
---|
7 | ok on non-white pages |
---|
8 | - Add hover highlight to emphasize detailed figures can |
---|
9 | be clicked for full-res view |
---|
10 | */ |
---|
11 | |
---|
12 | div.figure img { |
---|
13 | border:1px solid #AAAAAA; |
---|
14 | padding:5px; |
---|
15 | border-radius: 5px; |
---|
16 | } |
---|
17 | |
---|
18 | div.figure img:hover { |
---|
19 | box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5); |
---|
20 | } |
---|
21 | |
---|
22 | span.pre { |
---|
23 | |
---|
24 | } |
---|
25 | |
---|
26 | /* Override ToC styling: |
---|
27 | -Show bullets for all levels |
---|
28 | -Remove right margin |
---|
29 | -Remove word-wrap: break-word |
---|
30 | */ |
---|
31 | div.sphinxsidebar ul { |
---|
32 | list-style: square; |
---|
33 | } |
---|
34 | |
---|
35 | div.sphinxsidebar ul ul, |
---|
36 | div.sphinxsidebar ul.want-points { |
---|
37 | margin-right: 0px; |
---|
38 | margin-left: 10px; |
---|
39 | list-style: square; |
---|
40 | } |
---|
41 | |
---|
42 | div.sphinxsidebar ul ul { |
---|
43 | margin-top: 0; |
---|
44 | margin-bottom: 0; |
---|
45 | } |
---|
46 | |
---|
47 | /* Top-level entries are bold, lower levels are normal */ |
---|
48 | div.sphinxsidebar li.toctree-l1 { |
---|
49 | font-weight: bold; |
---|
50 | } |
---|
51 | |
---|
52 | div.sphinxsidebar li.toctree-l2 { |
---|
53 | font-weight: normal; |
---|
54 | } |
---|
55 | |
---|
56 | /* toctree classes use 'current' for all ul/li in selected leaf |
---|
57 | but the a.current.reference is only applied to the current page |
---|
58 | */ |
---|
59 | a.current.reference.internal { |
---|
60 | font-weight: bold; |
---|
61 | background-color: #BED4EB; |
---|
62 | padding: 2px; |
---|
63 | } |
---|
64 | |
---|
65 | /* Hide ToC levels 4+ - fulltoc extension includes these in the HTML by default */ |
---|
66 | li.toctree-l4, |
---|
67 | li.toctree-l5, |
---|
68 | li.toctree-l6 { |
---|
69 | display: none; |
---|
70 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.