nature.css 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  1. /*
  2. * nature.css_t
  3. * ~~~~~~~~~~~~
  4. *
  5. * Sphinx stylesheet -- nature theme.
  6. *
  7. * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
  8. * :license: BSD, see LICENSE for details.
  9. *
  10. */
  11. @import url("basic.css");
  12. /* -- page layout ----------------------------------------------------------- */
  13. body {
  14. font-family: Arial, sans-serif;
  15. font-size: 100%;
  16. background-color: #111;
  17. color: #555;
  18. margin: 0;
  19. padding: 0;
  20. }
  21. div.documentwrapper {
  22. float: left;
  23. width: 100%;
  24. }
  25. div.bodywrapper {
  26. margin: 0 0 0 230px;
  27. }
  28. hr {
  29. border: 1px solid #B1B4B6;
  30. }
  31. div.document {
  32. background-color: #eee;
  33. }
  34. div.body {
  35. background-color: #ffffff;
  36. color: #3E4349;
  37. padding: 0 30px 30px 30px;
  38. font-size: 0.9em;
  39. }
  40. div.footer {
  41. color: #555;
  42. width: 100%;
  43. padding: 13px 0;
  44. text-align: center;
  45. font-size: 75%;
  46. }
  47. div.footer a {
  48. color: #444;
  49. text-decoration: underline;
  50. }
  51. div.related {
  52. background-color: #6BA81E;
  53. line-height: 32px;
  54. color: #fff;
  55. text-shadow: 0px 1px 0 #444;
  56. font-size: 0.9em;
  57. }
  58. div.related a {
  59. color: #E2F3CC;
  60. }
  61. div.sphinxsidebar {
  62. font-size: 0.75em;
  63. line-height: 1.5em;
  64. }
  65. div.sphinxsidebarwrapper{
  66. padding: 20px 0;
  67. }
  68. div.sphinxsidebar h3,
  69. div.sphinxsidebar h4 {
  70. font-family: Arial, sans-serif;
  71. color: #222;
  72. font-size: 1.2em;
  73. font-weight: normal;
  74. margin: 0;
  75. padding: 5px 10px;
  76. background-color: #ddd;
  77. text-shadow: 1px 1px 0 white
  78. }
  79. div.sphinxsidebar h4{
  80. font-size: 1.1em;
  81. }
  82. div.sphinxsidebar h3 a {
  83. color: #444;
  84. }
  85. div.sphinxsidebar p {
  86. color: #888;
  87. padding: 5px 20px;
  88. }
  89. div.sphinxsidebar p.topless {
  90. }
  91. div.sphinxsidebar ul {
  92. margin: 10px 20px;
  93. padding: 0;
  94. color: #000;
  95. }
  96. div.sphinxsidebar a {
  97. color: #444;
  98. }
  99. div.sphinxsidebar input {
  100. border: 1px solid #ccc;
  101. font-family: sans-serif;
  102. font-size: 1em;
  103. }
  104. div.sphinxsidebar input[type=text]{
  105. margin-left: 20px;
  106. }
  107. /* -- body styles ----------------------------------------------------------- */
  108. a {
  109. color: #005B81;
  110. text-decoration: none;
  111. }
  112. a:hover {
  113. color: #E32E00;
  114. text-decoration: underline;
  115. }
  116. div.body h1,
  117. div.body h2,
  118. div.body h3,
  119. div.body h4,
  120. div.body h5,
  121. div.body h6 {
  122. font-family: Arial, sans-serif;
  123. background-color: #BED4EB;
  124. font-weight: normal;
  125. color: #212224;
  126. margin: 30px 0px 10px 0px;
  127. padding: 5px 0 5px 10px;
  128. text-shadow: 0px 1px 0 white
  129. }
  130. div.body h1 { border-top: 20px solid white; margin-top: 0; font-size: 200%; }
  131. div.body h2 { font-size: 150%; background-color: #C8D5E3; }
  132. div.body h3 { font-size: 120%; background-color: #D8DEE3; }
  133. div.body h4 { font-size: 110%; background-color: #D8DEE3; }
  134. div.body h5 { font-size: 100%; background-color: #D8DEE3; }
  135. div.body h6 { font-size: 100%; background-color: #D8DEE3; }
  136. a.headerlink {
  137. color: #c60f0f;
  138. font-size: 0.8em;
  139. padding: 0 4px 0 4px;
  140. text-decoration: none;
  141. }
  142. a.headerlink:hover {
  143. background-color: #c60f0f;
  144. color: white;
  145. }
  146. div.body p, div.body dd, div.body li {
  147. line-height: 1.5em;
  148. }
  149. div.admonition p.admonition-title + p {
  150. display: inline;
  151. }
  152. div.highlight{
  153. background-color: white;
  154. }
  155. div.note {
  156. background-color: #eee;
  157. border: 1px solid #ccc;
  158. }
  159. div.seealso {
  160. background-color: #ffc;
  161. border: 1px solid #ff6;
  162. }
  163. div.topic {
  164. background-color: #eee;
  165. }
  166. div.warning {
  167. background-color: #ffe4e4;
  168. border: 1px solid #f66;
  169. }
  170. p.admonition-title {
  171. display: inline;
  172. }
  173. p.admonition-title:after {
  174. content: ":";
  175. }
  176. pre {
  177. padding: 10px;
  178. background-color: White;
  179. color: #222;
  180. line-height: 1.2em;
  181. border: 1px solid #C6C9CB;
  182. font-size: 1.1em;
  183. margin: 1.5em 0 1.5em 0;
  184. -webkit-box-shadow: 1px 1px 1px #d8d8d8;
  185. -moz-box-shadow: 1px 1px 1px #d8d8d8;
  186. }
  187. tt {
  188. background-color: #ecf0f3;
  189. color: #222;
  190. /* padding: 1px 2px; */
  191. font-size: 1.1em;
  192. font-family: monospace;
  193. }
  194. .viewcode-back {
  195. font-family: Arial, sans-serif;
  196. }
  197. div.viewcode-block:target {
  198. background-color: #f4debf;
  199. border-top: 1px solid #ac9;
  200. border-bottom: 1px solid #ac9;
  201. }
  202. /* -- custom styles override --------------------------------------------------------- */
  203. /* turn off text shadows */
  204. div.body h1,
  205. div.body h2,
  206. div.body h3,
  207. div.body h4,
  208. div.body h5,
  209. div.body h6 {
  210. text-shadow: 0px 0px 0 white;
  211. }
  212. div.related {
  213. text-shadow: 0px 0px 0 #444;
  214. }
  215. div.sphinxsidebar h3,
  216. div.sphinxsidebar h4 {
  217. text-shadow: 0px 0px 0 white;
  218. }
  219. /* set top header color */
  220. div.related {
  221. background-color: #444;
  222. color: #aaa;
  223. }
  224. div.related a {
  225. color: #fff;
  226. }
  227. /* turn off italics for "class" and parameters */
  228. em {
  229. font-style: normal;
  230. color: #2194ce;
  231. padding: 0 0.2em;
  232. }
  233. /* unify fonts for method signatures */
  234. tt.descname, tt.descclassname {
  235. font-family: tahoma;
  236. font-size: 1.5em;
  237. font-weight: bold;
  238. }
  239. tt.descclassname {
  240. color: #777;
  241. }
  242. tt.descname {
  243. color: #000;
  244. }
  245. big, dt em {
  246. font-size: 1.5em;
  247. }
  248. /* fix parameters parenthesis spacing */
  249. big {
  250. padding: 0 0.2em;
  251. }
  252. /* use smaller padding */
  253. div.body {
  254. padding: 2em;
  255. }
  256. /* restyle top header */
  257. div.body h1 {
  258. border-top: 0;
  259. font-weight: bold;
  260. margin-bottom: 1em;
  261. padding: 0;
  262. background-color: transparent;
  263. }
  264. /* restyle sub headers */
  265. div.body h2 {
  266. padding: 0;
  267. background-color: transparent;
  268. }
  269. /* restyle constructor / attributes / methods headers */
  270. .rubric {
  271. color: orange;
  272. background-color: #fff;
  273. font-size: 1.5em;
  274. }
  275. p.rubric {
  276. padding: 0em 0em;
  277. margin: 1em 0 0em;
  278. margin-left: 0em;
  279. }
  280. /* use stronger black for body text */
  281. div.body {
  282. color: #111;
  283. }
  284. /* Restyle fields */
  285. th.field-name {
  286. font-weight: normal;
  287. color: #666;
  288. }
  289. dl.function {
  290. border-left: 0px solid #aaa;
  291. border-top: 0px solid #aaa;
  292. padding: 0.25em 0 1em;
  293. }
  294. dl.function dt {
  295. }
  296. table.field-list {
  297. padding: 1em;
  298. background-color: #eee;
  299. border: 5px solid #eee;
  300. color: #000;
  301. box-shadow: 1px 1px 4px #ccc;
  302. }
  303. /* fix arguments list styling */
  304. .field-body li {
  305. list-style-type: none;
  306. margin: 0;
  307. }
  308. .field-body ul {
  309. padding: 0;
  310. }
  311. dd {
  312. margin: 1em 0 0 0.25em;
  313. }
  314. /* cross-reference link style */
  315. tt.xref {
  316. font-family: arial;
  317. font-weight: normal;
  318. font-size: 1em;
  319. color: #005B81;
  320. }