haiku.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  1. /*
  2. * haiku.css_t
  3. * ~~~~~~~~~~~
  4. *
  5. * Sphinx stylesheet -- haiku theme.
  6. *
  7. * Adapted from http://haiku-os.org/docs/Haiku-doc.css.
  8. * Original copyright message:
  9. *
  10. * Copyright 2008-2009, Haiku. All rights reserved.
  11. * Distributed under the terms of the MIT License.
  12. *
  13. * Authors:
  14. * Francois Revol <[email protected]>
  15. * Stephan Assmus <[email protected]>
  16. * Braden Ewing <[email protected]>
  17. * Humdinger <[email protected]>
  18. *
  19. * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
  20. * :license: BSD, see LICENSE for details.
  21. *
  22. */
  23. @import url("basic.css");
  24. html {
  25. margin: 0px;
  26. padding: 0px;
  27. background: #FFF url(bg-page.png) top left repeat-x;
  28. }
  29. body {
  30. line-height: 1.5;
  31. margin: auto;
  32. padding: 0px;
  33. font-family: "DejaVu Sans", Arial, Helvetica, sans-serif;
  34. min-width: 59em;
  35. max-width: 70em;
  36. color: #333333;
  37. }
  38. div.footer {
  39. padding: 8px;
  40. font-size: 11px;
  41. text-align: center;
  42. letter-spacing: 0.5px;
  43. }
  44. /* link colors and text decoration */
  45. a:link {
  46. font-weight: bold;
  47. text-decoration: none;
  48. color: #dc3c01;
  49. }
  50. a:visited {
  51. font-weight: bold;
  52. text-decoration: none;
  53. color: #892601;
  54. }
  55. a:hover, a:active {
  56. text-decoration: underline;
  57. color: #ff4500;
  58. }
  59. /* Some headers act as anchors, don't give them a hover effect */
  60. h1 a:hover, a:active {
  61. text-decoration: none;
  62. color: #0c3762;
  63. }
  64. h2 a:hover, a:active {
  65. text-decoration: none;
  66. color: #0c3762;
  67. }
  68. h3 a:hover, a:active {
  69. text-decoration: none;
  70. color: #0c3762;
  71. }
  72. h4 a:hover, a:active {
  73. text-decoration: none;
  74. color: #0c3762;
  75. }
  76. a.headerlink {
  77. color: #a7ce38;
  78. padding-left: 5px;
  79. }
  80. a.headerlink:hover {
  81. color: #a7ce38;
  82. }
  83. /* basic text elements */
  84. div.content {
  85. margin-top: 20px;
  86. margin-left: 40px;
  87. margin-right: 40px;
  88. margin-bottom: 50px;
  89. font-size: 0.9em;
  90. }
  91. /* heading and navigation */
  92. div.header {
  93. position: relative;
  94. left: 0px;
  95. top: 0px;
  96. height: 85px;
  97. /* background: #eeeeee; */
  98. padding: 0 40px;
  99. }
  100. div.header h1 {
  101. font-size: 1.6em;
  102. font-weight: normal;
  103. letter-spacing: 1px;
  104. color: #0c3762;
  105. border: 0;
  106. margin: 0;
  107. padding-top: 15px;
  108. }
  109. div.header h1 a {
  110. font-weight: normal;
  111. color: #0c3762;
  112. }
  113. div.header h2 {
  114. font-size: 1.3em;
  115. font-weight: normal;
  116. letter-spacing: 1px;
  117. text-transform: uppercase;
  118. color: #aaa;
  119. border: 0;
  120. margin-top: -3px;
  121. padding: 0;
  122. }
  123. div.header img.rightlogo {
  124. float: right;
  125. }
  126. div.title {
  127. font-size: 1.3em;
  128. font-weight: bold;
  129. color: #0c3762;
  130. border-bottom: dotted thin #e0e0e0;
  131. margin-bottom: 25px;
  132. }
  133. div.topnav {
  134. /* background: #e0e0e0; */
  135. }
  136. div.topnav p {
  137. margin-top: 0;
  138. margin-left: 40px;
  139. margin-right: 40px;
  140. margin-bottom: 0px;
  141. text-align: right;
  142. font-size: 0.8em;
  143. }
  144. div.bottomnav {
  145. background: #eeeeee;
  146. }
  147. div.bottomnav p {
  148. margin-right: 40px;
  149. text-align: right;
  150. font-size: 0.8em;
  151. }
  152. a.uplink {
  153. font-weight: normal;
  154. }
  155. /* contents box */
  156. table.index {
  157. margin: 0px 0px 30px 30px;
  158. padding: 1px;
  159. border-width: 1px;
  160. border-style: dotted;
  161. border-color: #e0e0e0;
  162. }
  163. table.index tr.heading {
  164. background-color: #e0e0e0;
  165. text-align: center;
  166. font-weight: bold;
  167. font-size: 1.1em;
  168. }
  169. table.index tr.index {
  170. background-color: #eeeeee;
  171. }
  172. table.index td {
  173. padding: 5px 20px;
  174. }
  175. table.index a:link, table.index a:visited {
  176. font-weight: normal;
  177. text-decoration: none;
  178. color: #dc3c01;
  179. }
  180. table.index a:hover, table.index a:active {
  181. text-decoration: underline;
  182. color: #ff4500;
  183. }
  184. /* Haiku User Guide styles and layout */
  185. /* Rounded corner boxes */
  186. /* Common declarations */
  187. div.admonition {
  188. -webkit-border-radius: 10px;
  189. -khtml-border-radius: 10px;
  190. -moz-border-radius: 10px;
  191. border-radius: 10px;
  192. border-style: dotted;
  193. border-width: thin;
  194. border-color: #dcdcdc;
  195. padding: 10px 15px 10px 15px;
  196. margin-bottom: 15px;
  197. margin-top: 15px;
  198. }
  199. div.note {
  200. padding: 10px 15px 10px 80px;
  201. background: #e4ffde url(alert_info_32.png) 15px 15px no-repeat;
  202. min-height: 42px;
  203. }
  204. div.warning {
  205. padding: 10px 15px 10px 80px;
  206. background: #fffbc6 url(alert_warning_32.png) 15px 15px no-repeat;
  207. min-height: 42px;
  208. }
  209. div.seealso {
  210. background: #e4ffde;
  211. }
  212. /* More layout and styles */
  213. h1 {
  214. font-size: 1.3em;
  215. font-weight: bold;
  216. color: #0c3762;
  217. border-bottom: dotted thin #e0e0e0;
  218. margin-top: 30px;
  219. }
  220. h2 {
  221. font-size: 1.2em;
  222. font-weight: normal;
  223. color: #0c3762;
  224. border-bottom: dotted thin #e0e0e0;
  225. margin-top: 30px;
  226. }
  227. h3 {
  228. font-size: 1.1em;
  229. font-weight: normal;
  230. color: #0c3762;
  231. margin-top: 30px;
  232. }
  233. h4 {
  234. font-size: 1.0em;
  235. font-weight: normal;
  236. color: #0c3762;
  237. margin-top: 30px;
  238. }
  239. p {
  240. text-align: justify;
  241. }
  242. p.last {
  243. margin-bottom: 0;
  244. }
  245. ol {
  246. padding-left: 20px;
  247. }
  248. ul {
  249. padding-left: 5px;
  250. margin-top: 3px;
  251. }
  252. li {
  253. line-height: 1.3;
  254. }
  255. div.content ul > li {
  256. -moz-background-clip:border;
  257. -moz-background-inline-policy:continuous;
  258. -moz-background-origin:padding;
  259. background: transparent url(bullet_orange.png) no-repeat scroll left 0.45em;
  260. list-style-image: none;
  261. list-style-type: none;
  262. padding: 0 0 0 1.666em;
  263. margin-bottom: 3px;
  264. }
  265. td {
  266. vertical-align: top;
  267. }
  268. tt {
  269. background-color: #e2e2e2;
  270. font-size: 1.0em;
  271. font-family: monospace;
  272. }
  273. pre {
  274. border-color: #0c3762;
  275. border-style: dotted;
  276. border-width: thin;
  277. margin: 0 0 12px 0;
  278. padding: 0.8em;
  279. background-color: #f0f0f0;
  280. }
  281. hr {
  282. border-top: 1px solid #ccc;
  283. border-bottom: 0;
  284. border-right: 0;
  285. border-left: 0;
  286. margin-bottom: 10px;
  287. margin-top: 20px;
  288. }
  289. /* printer only pretty stuff */
  290. @media print {
  291. .noprint {
  292. display: none;
  293. }
  294. /* for acronyms we want their definitions inlined at print time */
  295. acronym[title]:after {
  296. font-size: small;
  297. content: " (" attr(title) ")";
  298. font-style: italic;
  299. }
  300. /* and not have mozilla dotted underline */
  301. acronym {
  302. border: none;
  303. }
  304. div.topnav, div.bottomnav, div.header, table.index {
  305. display: none;
  306. }
  307. div.content {
  308. margin: 0px;
  309. padding: 0px;
  310. }
  311. html {
  312. background: #FFF;
  313. }
  314. }
  315. .viewcode-back {
  316. font-family: "DejaVu Sans", Arial, Helvetica, sans-serif;
  317. }
  318. div.viewcode-block:target {
  319. background-color: #f4debf;
  320. border-top: 1px solid #ac9;
  321. border-bottom: 1px solid #ac9;
  322. margin: -1px -12px;
  323. padding: 0 12px;
  324. }