Haskell Artificial Neural Networking library
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

601 lignes
8.8KB

  1. /* @group Fundamentals */
  2. * { margin: 0; padding: 0 }
  3. /* Is this portable? */
  4. html {
  5. background-color: white;
  6. width: 100%;
  7. height: 100%;
  8. }
  9. body {
  10. background: white;
  11. color: black;
  12. text-align: left;
  13. min-height: 100%;
  14. position: relative;
  15. }
  16. p {
  17. margin: 0.8em 0;
  18. }
  19. ul, ol {
  20. margin: 0.8em 0 0.8em 2em;
  21. }
  22. dl {
  23. margin: 0.8em 0;
  24. }
  25. dt {
  26. font-weight: bold;
  27. }
  28. dd {
  29. margin-left: 2em;
  30. }
  31. a { text-decoration: none; }
  32. a[href]:link { color: rgb(196,69,29); }
  33. a[href]:visited { color: rgb(171,105,84); }
  34. a[href]:hover { text-decoration:underline; }
  35. /* @end */
  36. /* @group Fonts & Sizes */
  37. /* Basic technique & IE workarounds from YUI 3
  38. For reasons, see:
  39. http://yui.yahooapis.com/3.1.1/build/cssfonts/fonts.css
  40. */
  41. body {
  42. font:13px/1.4 sans-serif;
  43. *font-size:small; /* for IE */
  44. *font:x-small; /* for IE in quirks mode */
  45. }
  46. h1 { font-size: 146.5%; /* 19pt */ }
  47. h2 { font-size: 131%; /* 17pt */ }
  48. h3 { font-size: 116%; /* 15pt */ }
  49. h4 { font-size: 100%; /* 13pt */ }
  50. h5 { font-size: 100%; /* 13pt */ }
  51. select, input, button, textarea {
  52. font:99% sans-serif;
  53. }
  54. table {
  55. font-size:inherit;
  56. font:100%;
  57. }
  58. pre, code, kbd, samp, tt, .src {
  59. font-family:monospace;
  60. *font-size:108%;
  61. line-height: 124%;
  62. }
  63. .links, .link {
  64. font-size: 85%; /* 11pt */
  65. }
  66. #module-header .caption {
  67. font-size: 182%; /* 24pt */
  68. }
  69. .info {
  70. font-size: 85%; /* 11pt */
  71. }
  72. #table-of-contents, #synopsis {
  73. /* font-size: 85%; /* 11pt */
  74. }
  75. /* @end */
  76. /* @group Common */
  77. .caption, h1, h2, h3, h4, h5, h6 {
  78. font-weight: bold;
  79. color: rgb(78,98,114);
  80. margin: 0.8em 0 0.4em;
  81. }
  82. * + h1, * + h2, * + h3, * + h4, * + h5, * + h6 {
  83. margin-top: 2em;
  84. }
  85. h1 + h2, h2 + h3, h3 + h4, h4 + h5, h5 + h6 {
  86. margin-top: inherit;
  87. }
  88. ul.links {
  89. list-style: none;
  90. text-align: left;
  91. float: right;
  92. display: inline-table;
  93. margin: 0 0 0 1em;
  94. }
  95. ul.links li {
  96. display: inline;
  97. border-left: 1px solid #d5d5d5;
  98. white-space: nowrap;
  99. padding: 0;
  100. }
  101. ul.links li a {
  102. padding: 0.2em 0.5em;
  103. }
  104. .hide { display: none; }
  105. .show { display: inherit; }
  106. .clear { clear: both; }
  107. .collapser {
  108. background-image: url(minus.gif);
  109. background-repeat: no-repeat;
  110. }
  111. .expander {
  112. background-image: url(plus.gif);
  113. background-repeat: no-repeat;
  114. }
  115. p.caption.collapser,
  116. p.caption.expander {
  117. background-position: 0 0.4em;
  118. }
  119. .collapser, .expander {
  120. padding-left: 14px;
  121. margin-left: -14px;
  122. cursor: pointer;
  123. }
  124. pre {
  125. padding: 0.25em;
  126. margin: 0.8em 0;
  127. background: rgb(229,237,244);
  128. overflow: auto;
  129. border-bottom: 0.25em solid white;
  130. /* white border adds some space below the box to compensate
  131. for visual extra space that paragraphs have between baseline
  132. and the bounding box */
  133. }
  134. .src {
  135. background: #f0f0f0;
  136. padding: 0.2em 0.5em;
  137. }
  138. .keyword { font-weight: normal; }
  139. .def { font-weight: bold; }
  140. /* @end */
  141. /* @group Page Structure */
  142. #content {
  143. margin: 0 auto;
  144. padding: 0 2em 6em;
  145. }
  146. #package-header {
  147. background: rgb(41,56,69);
  148. border-top: 5px solid rgb(78,98,114);
  149. color: #ddd;
  150. padding: 0.2em;
  151. position: relative;
  152. text-align: left;
  153. }
  154. #package-header .caption {
  155. background: url(hslogo-16.png) no-repeat 0em;
  156. color: white;
  157. margin: 0 2em;
  158. font-weight: normal;
  159. font-style: normal;
  160. padding-left: 2em;
  161. }
  162. #package-header a:link, #package-header a:visited { color: white; }
  163. #package-header a:hover { background: rgb(78,98,114); }
  164. #module-header .caption {
  165. color: rgb(78,98,114);
  166. font-weight: bold;
  167. border-bottom: 1px solid #ddd;
  168. }
  169. table.info {
  170. float: right;
  171. padding: 0.5em 1em;
  172. border: 1px solid #ddd;
  173. color: rgb(78,98,114);
  174. background-color: #fff;
  175. max-width: 40%;
  176. border-spacing: 0;
  177. position: relative;
  178. top: -0.5em;
  179. margin: 0 0 0 2em;
  180. }
  181. .info th {
  182. padding: 0 1em 0 0;
  183. }
  184. div#style-menu-holder {
  185. position: relative;
  186. z-index: 2;
  187. display: inline;
  188. }
  189. #style-menu {
  190. position: absolute;
  191. z-index: 1;
  192. overflow: visible;
  193. background: #374c5e;
  194. margin: 0;
  195. text-align: center;
  196. right: 0;
  197. padding: 0;
  198. top: 1.25em;
  199. }
  200. #style-menu li {
  201. display: list-item;
  202. border-style: none;
  203. margin: 0;
  204. padding: 0;
  205. color: #000;
  206. list-style-type: none;
  207. }
  208. #style-menu li + li {
  209. border-top: 1px solid #919191;
  210. }
  211. #style-menu a {
  212. width: 6em;
  213. padding: 3px;
  214. display: block;
  215. }
  216. #footer {
  217. background: #ddd;
  218. border-top: 1px solid #aaa;
  219. padding: 0.5em 0;
  220. color: #666;
  221. text-align: center;
  222. position: absolute;
  223. bottom: 0;
  224. width: 100%;
  225. height: 3em;
  226. }
  227. /* @end */
  228. /* @group Front Matter */
  229. #table-of-contents {
  230. float: right;
  231. clear: right;
  232. background: #faf9dc;
  233. border: 1px solid #d8d7ad;
  234. padding: 0.5em 1em;
  235. max-width: 20em;
  236. margin: 0.5em 0 1em 1em;
  237. }
  238. #table-of-contents .caption {
  239. text-align: center;
  240. margin: 0;
  241. }
  242. #table-of-contents ul {
  243. list-style: none;
  244. margin: 0;
  245. }
  246. #table-of-contents ul ul {
  247. margin-left: 2em;
  248. }
  249. #description .caption {
  250. display: none;
  251. }
  252. #synopsis {
  253. display: none;
  254. }
  255. .no-frame #synopsis {
  256. display: block;
  257. position: fixed;
  258. right: 0;
  259. height: 80%;
  260. top: 10%;
  261. padding: 0;
  262. max-width: 75%;
  263. }
  264. #synopsis .caption {
  265. float: left;
  266. width: 29px;
  267. color: rgba(255,255,255,0);
  268. height: 110px;
  269. margin: 0;
  270. font-size: 1px;
  271. padding: 0;
  272. }
  273. #synopsis p.caption.collapser {
  274. background: url(synopsis.png) no-repeat -64px -8px;
  275. }
  276. #synopsis p.caption.expander {
  277. background: url(synopsis.png) no-repeat 0px -8px;
  278. }
  279. #synopsis ul {
  280. height: 100%;
  281. overflow: auto;
  282. padding: 0.5em;
  283. margin: 0;
  284. }
  285. #synopsis ul ul {
  286. overflow: hidden;
  287. }
  288. #synopsis ul,
  289. #synopsis ul li.src {
  290. background-color: #faf9dc;
  291. white-space: nowrap;
  292. list-style: none;
  293. margin-left: 0;
  294. }
  295. /* @end */
  296. /* @group Main Content */
  297. #interface div.top { margin: 2em 0; }
  298. #interface h1 + div.top,
  299. #interface h2 + div.top,
  300. #interface h3 + div.top,
  301. #interface h4 + div.top,
  302. #interface h5 + div.top {
  303. margin-top: 1em;
  304. }
  305. #interface p.src .link {
  306. float: right;
  307. color: #919191;
  308. border-left: 1px solid #919191;
  309. background: #f0f0f0;
  310. padding: 0 0.5em 0.2em;
  311. margin: 0 -0.5em 0 0.5em;
  312. }
  313. #interface td.src .link {
  314. float: right;
  315. color: #919191;
  316. border-left: 1px solid #919191;
  317. background: #f0f0f0;
  318. padding: 0 0.5em 0.2em;
  319. margin: 0 -0.5em 0 0.5em;
  320. }
  321. #interface span.fixity {
  322. color: #919191;
  323. border-left: 1px solid #919191;
  324. padding: 0.2em 0.5em 0.2em 0.5em;
  325. margin: 0 -1em 0 1em;
  326. }
  327. #interface span.rightedge {
  328. border-left: 1px solid #919191;
  329. padding: 0.2em 0 0.2em 0;
  330. margin: 0 0 0 1em;
  331. }
  332. #interface table { border-spacing: 2px; }
  333. #interface td {
  334. vertical-align: top;
  335. padding-left: 0.5em;
  336. }
  337. #interface td.src {
  338. white-space: nowrap;
  339. }
  340. #interface td.doc p {
  341. margin: 0;
  342. }
  343. #interface td.doc p + p {
  344. margin-top: 0.8em;
  345. }
  346. .clearfix:after {
  347. clear: both;
  348. content: " ";
  349. display: block;
  350. height: 0;
  351. visibility: hidden;
  352. }
  353. .subs dl {
  354. margin: 0;
  355. }
  356. .subs dt {
  357. float: left;
  358. clear: left;
  359. display: block;
  360. margin: 1px 0;
  361. }
  362. .subs dd {
  363. float: right;
  364. width: 90%;
  365. display: block;
  366. padding-left: 0.5em;
  367. margin-bottom: 0.5em;
  368. }
  369. .subs dd.empty {
  370. display: none;
  371. }
  372. .subs dd p {
  373. margin: 0;
  374. }
  375. /* Render short-style data instances */
  376. .inst ul {
  377. height: 100%;
  378. padding: 0.5em;
  379. margin: 0;
  380. }
  381. .inst, .inst li {
  382. list-style: none;
  383. margin-left: 1em;
  384. }
  385. /* Workaround for bug in Firefox (issue #384) */
  386. .inst-left {
  387. float: left;
  388. }
  389. .top p.src {
  390. border-top: 1px solid #ccc;
  391. }
  392. .subs, .doc {
  393. /* use this selector for one level of indent */
  394. padding-left: 2em;
  395. }
  396. .warning {
  397. color: red;
  398. }
  399. .arguments {
  400. margin-top: -0.4em;
  401. }
  402. .arguments .caption {
  403. display: none;
  404. }
  405. .fields { padding-left: 1em; }
  406. .fields .caption { display: none; }
  407. .fields p { margin: 0 0; }
  408. /* this seems bulky to me
  409. .methods, .constructors {
  410. background: #f8f8f8;
  411. border: 1px solid #eee;
  412. }
  413. */
  414. /* @end */
  415. /* @group Auxillary Pages */
  416. .extension-list {
  417. list-style-type: none;
  418. margin-left: 0;
  419. }
  420. #mini {
  421. margin: 0 auto;
  422. padding: 0 1em 1em;
  423. }
  424. #mini > * {
  425. font-size: 93%; /* 12pt */
  426. }
  427. #mini #module-list .caption,
  428. #mini #module-header .caption {
  429. font-size: 125%; /* 15pt */
  430. }
  431. #mini #interface h1,
  432. #mini #interface h2,
  433. #mini #interface h3,
  434. #mini #interface h4 {
  435. font-size: 109%; /* 13pt */
  436. margin: 1em 0 0;
  437. }
  438. #mini #interface .top,
  439. #mini #interface .src {
  440. margin: 0;
  441. }
  442. #mini #module-list ul {
  443. list-style: none;
  444. margin: 0;
  445. }
  446. #alphabet ul {
  447. list-style: none;
  448. padding: 0;
  449. margin: 0.5em 0 0;
  450. text-align: center;
  451. }
  452. #alphabet li {
  453. display: inline;
  454. margin: 0 0.25em;
  455. }
  456. #alphabet a {
  457. font-weight: bold;
  458. }
  459. #index .caption,
  460. #module-list .caption { font-size: 131%; /* 17pt */ }
  461. #index table {
  462. margin-left: 2em;
  463. }
  464. #index .src {
  465. font-weight: bold;
  466. }
  467. #index .alt {
  468. font-size: 77%; /* 10pt */
  469. font-style: italic;
  470. padding-left: 2em;
  471. }
  472. #index td + td {
  473. padding-left: 1em;
  474. }
  475. #module-list ul {
  476. list-style: none;
  477. margin: 0 0 0 2em;
  478. }
  479. #module-list li {
  480. clear: right;
  481. }
  482. #module-list span.collapser,
  483. #module-list span.expander {
  484. background-position: 0 0.3em;
  485. }
  486. #module-list .package {
  487. float: right;
  488. }
  489. /* @end */