classy.css_t 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. /*
  2. * flasky.css_t
  3. * ~~~~~~~~~~~~
  4. *
  5. * Sphinx stylesheet -- flasky theme based on nature theme.
  6. *
  7. * :copyright: Copyright 2007-2010 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: 'Georgia', serif;
  15. font-size: 17px;
  16. color: #000;
  17. background: white;
  18. margin: 0;
  19. padding: 0;
  20. }
  21. div.documentwrapper {
  22. float: left;
  23. width: 100%;
  24. }
  25. div.bodywrapper {
  26. margin: 40px auto 0 auto;
  27. width: 700px;
  28. }
  29. hr {
  30. border: 1px solid #B1B4B6;
  31. }
  32. div.body {
  33. background-color: #ffffff;
  34. color: #3E4349;
  35. padding: 0 30px 30px 30px;
  36. }
  37. img.floatingflask {
  38. padding: 0 0 10px 10px;
  39. float: right;
  40. }
  41. div.footer {
  42. text-align: right;
  43. color: #888;
  44. padding: 10px;
  45. font-size: 14px;
  46. width: 650px;
  47. margin: 0 auto 40px auto;
  48. }
  49. div.footer a {
  50. color: #888;
  51. text-decoration: underline;
  52. }
  53. div.related {
  54. line-height: 32px;
  55. color: #888;
  56. }
  57. div.related ul {
  58. padding: 0 0 0 10px;
  59. }
  60. div.related a {
  61. color: #444;
  62. }
  63. /* -- body styles ----------------------------------------------------------- */
  64. a {
  65. color: #004B6B;
  66. text-decoration: underline;
  67. }
  68. a:hover {
  69. color: #6D4100;
  70. text-decoration: underline;
  71. }
  72. div.body {
  73. padding-bottom: 40px; /* saved for footer */
  74. }
  75. div.body h1,
  76. div.body h2,
  77. div.body h3,
  78. div.body h4,
  79. div.body h5,
  80. div.body h6 {
  81. font-family: 'Garamond', 'Georgia', serif;
  82. font-weight: normal;
  83. margin: 30px 0px 10px 0px;
  84. padding: 0;
  85. }
  86. #classy-classes-for-javascript h1 {
  87. text-indent: -999999px;
  88. background: url(classyjs.png) no-repeat center;
  89. height: 460px;
  90. margin: 0;
  91. }
  92. div.body h2 { font-size: 180%; }
  93. div.body h3 { font-size: 150%; }
  94. div.body h4 { font-size: 130%; }
  95. div.body h5 { font-size: 100%; }
  96. div.body h6 { font-size: 100%; }
  97. a.headerlink {
  98. color: white;
  99. padding: 0 4px;
  100. text-decoration: none;
  101. }
  102. a.headerlink:hover {
  103. color: #444;
  104. background: #eaeaea;
  105. }
  106. div.body p, div.body dd, div.body li {
  107. line-height: 1.4em;
  108. }
  109. div.admonition {
  110. background: #fafafa;
  111. margin: 20px -30px;
  112. padding: 10px 30px;
  113. border-top: 1px solid #ccc;
  114. border-bottom: 1px solid #ccc;
  115. }
  116. div.admonition p.admonition-title {
  117. font-family: 'Garamond', 'Georgia', serif;
  118. font-weight: normal;
  119. font-size: 24px;
  120. margin: 0 0 10px 0;
  121. padding: 0;
  122. line-height: 1;
  123. }
  124. div.admonition p.last {
  125. margin-bottom: 0;
  126. }
  127. div.highlight{
  128. background-color: white;
  129. }
  130. dt:target, .highlight {
  131. background: #FAF3E8;
  132. }
  133. div.note {
  134. background-color: #eee;
  135. border: 1px solid #ccc;
  136. }
  137. div.seealso {
  138. background-color: #ffc;
  139. border: 1px solid #ff6;
  140. }
  141. div.topic {
  142. background-color: #eee;
  143. }
  144. div.warning {
  145. background-color: #ffe4e4;
  146. border: 1px solid #f66;
  147. }
  148. p.admonition-title {
  149. display: inline;
  150. }
  151. p.admonition-title:after {
  152. content: ":";
  153. }
  154. pre, tt {
  155. font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
  156. font-size: 0.85em;
  157. }
  158. img.screenshot {
  159. }
  160. tt.descname, tt.descclassname {
  161. font-size: 0.95em;
  162. }
  163. tt.descname {
  164. padding-right: 0.08em;
  165. }
  166. img.screenshot {
  167. -moz-box-shadow: 2px 2px 4px #eee;
  168. -webkit-box-shadow: 2px 2px 4px #eee;
  169. box-shadow: 2px 2px 4px #eee;
  170. }
  171. table.docutils {
  172. border: 1px solid #888;
  173. -moz-box-shadow: 2px 2px 4px #eee;
  174. -webkit-box-shadow: 2px 2px 4px #eee;
  175. box-shadow: 2px 2px 4px #eee;
  176. }
  177. table.docutils td, table.docutils th {
  178. border: 1px solid #888;
  179. padding: 0.25em 0.7em;
  180. }
  181. table.field-list, table.footnote {
  182. border: none;
  183. -moz-box-shadow: none;
  184. -webkit-box-shadow: none;
  185. box-shadow: none;
  186. }
  187. table.footnote {
  188. margin: 15px 0;
  189. width: 100%;
  190. border: 1px solid #eee;
  191. }
  192. table.field-list th {
  193. padding: 0 0.8em 0 0;
  194. }
  195. table.field-list td {
  196. padding: 0;
  197. }
  198. table.footnote td {
  199. padding: 0.5em;
  200. }
  201. dl {
  202. margin: 0;
  203. padding: 0;
  204. }
  205. dl dd {
  206. margin-left: 30px;
  207. }
  208. pre {
  209. padding: 0;
  210. margin: 15px -8px;
  211. padding: 8px;
  212. line-height: 1.3em;
  213. border: 1px solid #A4D4EC;
  214. background: #E9F5FC;
  215. border-radius: 2px;
  216. -moz-border-radius: 2px;
  217. -webkit-border-radius: 2px;
  218. }
  219. tt {
  220. background-color: #ecf0f3;
  221. color: #222;
  222. /* padding: 1px 2px; */
  223. }
  224. tt.xref, a tt {
  225. background-color: #FBFBFB;
  226. }
  227. a:hover tt {
  228. background: #EEE;
  229. }