UNPKG

chancejs

Version:

Various pseudo-random implementations packaged with helpful random utilities

750 lines (749 loc) 14.4 kB
body { font-family: "Lato", Arial, sans-serif; font-size: 15px; line-height: 22px; color: #252519; margin: 0; padding: 0; background: #bbc4c4; } h1, h2, h3, h4, p, a, ul, li { font-weight: 300; } a { color: #261a3b; } a:visited { color: #261a3b; } p { margin: 0 0 15px 0; } h1, h2, h3, h4, h5, h6 { margin: 0 0 15px 0; } .containerobj { width: 100%; left: 0; overflow-x: auto; overflow-y: hidden; white-space: nowrap; } .containerobj div { width: 200px; height: 100%; overflow-y: auto; overflow-x: hidden; float: left; border-right: 1px solid rgba(4,32,41,0.4); } .containerobj a { padding: 4px; display: block; color: #042029; clear: both; white-space: nowrap; text-decoration: none; } .containerobj a:hover { background-color: #1ab2a6; } .containerobj a.active, .containerobj a.inpath { background-color: #1bcec0; } .containerobj .feature { min-width: 200px; } .containerobj .feature a { white-space: normal; } .containerobj .hasChildMenu .widget { color: #042029; float: right; text-decoration: none; font-size: 0.7em; } #jump_to { position: fixed; width: 100%; margin-top: -350px; -webkit-transition: margin-top 0.25s ease-in-out; -moz-transition: margin-top 0.25s ease-in-out; -o-transition: margin-top 0.25s ease-in-out; transition: margin-top 0.25s ease-in-out; } #jump_to.visible { margin-top: 0; } #jump_to #jump_show { color: #042029; position: absolute; text-align: center; font-size: 10px; font-weight: bold; text-transform: uppercase; line-height: 1em; cursor: pointer; top: 350px; width: 56px; left: 490px; background: #2aa198; display: inline-block; padding: 6px 8px 12px; -webkit-border-radius: 0 0 80px 80px; -moz-border-radius: 0 0 80px 80px; -o-border-radius: 0 0 80px 80px; border-radius: 0 0 80px 80px; -webkit-box-shadow: 0 2px 2px rgba(4,32,41,0.4); -moz-box-shadow: 0 2px 2px rgba(4,32,41,0.4); -o-box-shadow: 0 2px 2px rgba(4,32,41,0.4); box-shadow: 0 2px 2px rgba(4,32,41,0.4); } #jump_to #jump_page { width: 100%; background: #2aa198; -webkit-box-shadow: 0 2px 2px rgba(4,32,41,0.4); -moz-box-shadow: 0 2px 2px rgba(4,32,41,0.4); -o-box-shadow: 0 2px 2px rgba(4,32,41,0.4); box-shadow: 0 2px 2px rgba(4,32,41,0.4); } #container { position: relative; color: #839496; background: #042029; } #container:before { content: ''; width: 100%; height: 100%; margin-left: 525px; position: fixed; background-color: #042029; z-index: -1; border-left: 2px solid #888; } #container #background { position: fixed; top: 0; left: 525px; right: 0; bottom: 0; z-index: -1; background: #042029; border-left: 2px solid #888; } .toc { margin: 0; padding-left: 20px; border-left: 1px solid #888; } .toc li { list-style: none; } .toc li a { text-decoration: none; color: #002b36; } .toc li a:hover { text-decoration: underline; color: #252519; } .toc li.level0 { margin-left: 0px; } .toc li.level1 { margin-left: 20px; } .toc li.level2 { margin-left: 40px; } .toc li.level3 { margin-left: 60px; } .toc li.level4 { margin-left: 80px; } .toc li.level5 { margin-left: 100px; } pre, tt, code { font-size: 12px; line-height: 18px; font-family: Monaco, Consolas, "Lucida Console", monospace; margin: 0; padding: 0; } table tr:hover td, table tr:hover th { -webkit-transition: background-color 0.5s ease-in-out; -moz-transition: background-color 0.5s ease-in-out; -o-transition: background-color 0.5s ease-in-out; transition: background-color 0.5s ease-in-out; } table tr:hover td.docs, table tr:hover th.docs { background-color: #aebcbc; } table tr:hover td.code, table tr:hover th.code { background-color: #0b2c37; } table th, table td { -webkit-transition: background-color 2s ease-in-out; -moz-transition: background-color 2s ease-in-out; -o-transition: background-color 2s ease-in-out; transition: background-color 2s ease-in-out; border: 0; outline: 0; } table th.docs, table td.docs { max-width: 450px; min-width: 450px; min-height: 5px; padding: 14px 25px 16px 50px; vertical-align: top; text-align: left; background: #bbc4c4; font-size: 14px; color: #3b4d52; line-height: 18px; } table th.docs pre, table td.docs pre { margin: 15px 0 15px; padding: 8px 0px 8px 12px; border: 1px solid #dedede; } table th.docs:hover .pilcrow, table td.docs:hover .pilcrow { opacity: 1; } table th.docs p tt, table td.docs p tt, table th.docs p code, table td.docs p code { font-size: 12px; padding: 0 0.2em; color: #073642; } table th.docs h1, table td.docs h1, table th.docs h2, table td.docs h2, table th.docs h3, table td.docs h3, table th.docs h4, table td.docs h4, table th.docs h5, table td.docs h5, table th.docs h6, table td.docs h6 { color: #002b36; } table th.docs h1, table td.docs h1 { font-size: 28px; } table th.docs h3, table td.docs h3 { font-size: 20px; } table th.docs h4, table td.docs h4 { font-size: 16px; } table th.code, table td.code { padding: 14px 15px 16px 25px; width: 100%; vertical-align: top; border-left: 1px solid #e5e5ee; } table th.code, table td.code, table th.docs pre, table td.docs pre { border-left: 2px solid #888; background-color: #042029; color: #93a1a1; } table th.code .bp, table td.code .bp, table th.docs pre .bp, table td.docs pre .bp { color: #999; } table th.code .c1, table td.code .c1, table th.docs pre .c1, table td.docs pre .c1 { color: #586e75 !important; font-style: italic !important; } table th.code .cm, table td.code .cm, table th.docs pre .cm, table td.docs pre .cm { color: #586e75 !important; font-style: italic !important; } table th.code .cp, table td.code .cp, table th.docs pre .cp, table td.docs pre .cp { color: #586e75 !important; font-style: italic !important; } table th.code .cs, table td.code .cs, table th.docs pre .cs, table td.docs pre .cs { color: #586e75 !important; font-weight: bold !important; font-style: italic !important; } table th.code .c, table td.code .c, table th.docs pre .c, table td.docs pre .c { color: #586e75 !important; font-style: italic !important; } table th.code .err, table td.code .err, table th.docs pre .err, table td.docs pre .err { color: #dc322f !important; background: none !important; } table th.code .gd .x, table td.code .gd .x, table th.docs pre .gd .x, table td.docs pre .gd .x { color: #93a1a1 !important; background-color: #4d2d33 !important; display: inline-block; } table th.code .gd, table td.code .gd, table th.docs pre .gd, table td.docs pre .gd { color: #93a1a1 !important; background-color: #372c34 !important; display: inline-block; } table th.code .ge, table td.code .ge, table th.docs pre .ge, table td.docs pre .ge { color: #93a1a1 !important; font-style: italic !important; } table th.code .gh, table td.code .gh, table th.docs pre .gh, table td.docs pre .gh { color: #586e75 !important; } table th.code .gi .x, table td.code .gi .x, table th.docs pre .gi .x, table td.docs pre .gi .x { color: #93a1a1 !important; background-color: #355720 !important; display: inline-block; } table th.code .gi, table td.code .gi, table th.docs pre .gi, table td.docs pre .gi { color: #93a1a1 !important; background-color: #1a412b !important; display: inline-block; } table th.code .go, table td.code .go, table th.docs pre .go, table td.docs pre .go { color: #888; } table th.code .gp, table td.code .gp, table th.docs pre .gp, table td.docs pre .gp { color: #555; } table th.code .gr, table td.code .gr, table th.docs pre .gr, table td.docs pre .gr { color: #a00; } table th.code .gs, table td.code .gs, table th.docs pre .gs, table td.docs pre .gs { color: #93a1a1 !important; font-weight: bold !important; } table th.code .gt, table td.code .gt, table th.docs pre .gt, table td.docs pre .gt { color: #a00; } table th.code .gu, table td.code .gu, table th.docs pre .gu, table td.docs pre .gu { color: #6c71c4 !important; } table th.code .il, table td.code .il, table th.docs pre .il, table td.docs pre .il { color: #099; } table th.code .kc, table td.code .kc, table th.docs pre .kc, table td.docs pre .kc { color: #b58900 !important; } table th.code .kd, table td.code .kd, table th.docs pre .kd, table td.docs pre .kd { color: #268bd2 !important; } table th.code .kp, table td.code .kp, table th.docs pre .kp, table td.docs pre .kp { color: #cb4b16 !important; font-weight: bold !important; } table th.code .kr, table td.code .kr, table th.docs pre .kr, table td.docs pre .kr { color: #d33682 !important; font-weight: bold !important; } table th.code .kt, table td.code .kt, table th.docs pre .kt, table td.docs pre .kt { color: #2aa198 !important; } table th.code .k, table td.code .k, table th.docs pre .k, table td.docs pre .k { color: #859900 !important; } table th.code .mf, table td.code .mf, table th.docs pre .mf, table td.docs pre .mf { color: #2aa198 !important; } table th.code .mh, table td.code .mh, table th.docs pre .mh, table td.docs pre .mh { color: #2aa198 !important; } table th.code .mi, table td.code .mi, table th.docs pre .mi, table td.docs pre .mi { color: #2aa198 !important; } table th.code .mo, table td.code .mo, table th.docs pre .mo, table td.docs pre .mo { color: #099; } table th.code .m, table td.code .m, table th.docs pre .m, table td.docs pre .m { color: #2aa198 !important; } table th.code .na, table td.code .na, table th.docs pre .na, table td.docs pre .na { color: #268bd2 !important; } table th.code .nb, table td.code .nb, table th.docs pre .nb, table td.docs pre .nb { color: #b58900 !important; } table th.code .nc, table td.code .nc, table th.docs pre .nc, table td.docs pre .nc { color: #d33682 !important; } table th.code .ne, table td.code .ne, table th.docs pre .ne, table td.docs pre .ne { color: #268bd2 !important; font-weight: bold !important; } table th.code .nf, table td.code .nf, table th.docs pre .nf, table td.docs pre .nf { color: #268bd2 !important; font-weight: bold !important; } table th.code .ni, table td.code .ni, table th.docs pre .ni, table td.docs pre .ni { color: #800080; } table th.code .nl, table td.code .nl, table th.docs pre .nl, table td.docs pre .nl { color: #859900 !important; } table th.code .nn, table td.code .nn, table th.docs pre .nn, table td.docs pre .nn { color: #b58900 !important; } table th.code .no, table td.code .no, table th.docs pre .no, table td.docs pre .no { color: #b58900 !important; } table th.code .nt, table td.code .nt, table th.docs pre .nt, table td.docs pre .nt { color: #268bd2 !important; font-weight: bold !important; } table th.code .nv, table td.code .nv, table th.docs pre .nv, table td.docs pre .nv { color: #93a1a1 !important; } table th.code .nx, table td.code .nx, table th.docs pre .nx, table td.docs pre .nx { color: #93a1a1 !important; } table th.code .n, table td.code .n, table th.docs pre .n, table td.docs pre .n { color: #268bd2 !important; } table th.code .ow, table td.code .ow, table th.docs pre .ow, table td.docs pre .ow { color: #2aa198 !important; font-weight: bold !important; } table th.code .o, table td.code .o, table th.docs pre .o, table td.docs pre .o { color: #859900 !important; } table th.code .p, table td.code .p, table th.docs pre .p, table td.docs pre .p { color: #859900 !important; } table th.code .py, table td.code .py, table th.docs pre .py, table td.docs pre .py { color: #268bd2 !important; } table th.code .s1, table td.code .s1, table th.docs pre .s1, table td.docs pre .s1 { color: #2aa198 !important; } table th.code .s2, table td.code .s2, table th.docs pre .s2, table td.docs pre .s2 { color: #2aa198 !important; } table th.code .sb, table td.code .sb, table th.docs pre .sb, table td.docs pre .sb { color: #d14; } table th.code .sc, table td.code .sc, table th.docs pre .sc, table td.docs pre .sc { color: #d14; } table th.code .sd, table td.code .sd, table th.docs pre .sd, table td.docs pre .sd { color: #2aa198 !important; } table th.code .se, table td.code .se, table th.docs pre .se, table td.docs pre .se { color: #dc322f !important; } table th.code .sh, table td.code .sh, table th.docs pre .sh, table td.docs pre .sh { color: #d14; } table th.code .si, table td.code .si, table th.docs pre .si, table td.docs pre .si { color: #cb4b16 !important; font-weight: normal !important; } table th.code .sr, table td.code .sr, table th.docs pre .sr, table td.docs pre .sr { color: #f00 !important; } table th.code .src, table td.code .src, table th.docs pre .src, table td.docs pre .src { color: #cb4b16 !important; } table th.code .sre, table td.code .sre, table th.docs pre .sre, table td.docs pre .sre { color: #aa2a08 !important; } table th.code .sro, table td.code .sro, table th.docs pre .sro, table td.docs pre .sro { color: #b58900 !important; } table th.code .sri, table td.code .sri, table th.docs pre .sri, table td.docs pre .sri { color: #2aa198 !important; } table th.code .ss, table td.code .ss, table th.docs pre .ss, table td.docs pre .ss { color: #990073; } table th.code .sx, table td.code .sx, table th.docs pre .sx, table td.docs pre .sx { color: #d14; } table th.code .s, table td.code .s, table th.docs pre .s, table td.docs pre .s { color: #2aa198 !important; } table th.code .vc, table td.code .vc, table th.docs pre .vc, table td.docs pre .vc { color: #008080; } table th.code .vg, table td.code .vg, table th.docs pre .vg, table td.docs pre .vg { color: #268bd2 !important; } table th.code .vi, table td.code .vi, table th.docs pre .vi, table td.docs pre .vi { color: #268bd2 !important; } table th.code .w, table td.code .w, table th.docs pre .w, table td.docs pre .w { color: #bbb; } table th.code div .gd, table td.code div .gd, table th.docs pre div .gd, table td.docs pre div .gd, table th.code div .gd .x, table td.code div .gd .x, table th.docs pre div .gd .x, table td.docs pre div .gd .x, table th.code div .gi, table td.code div .gi, table th.docs pre div .gi, table td.docs pre div .gi, table th.code div .gi .x, table td.code div .gi .x, table th.docs pre div .gi .x, table td.docs pre div .gi .x { display: inline-block; width: 100%; } table th.docs h1 { margin-top: 6px; } table th.docs h3 { font-size: 13px; margin-bottom: -10px; margin-top: 40px; } table td.docs h1 { padding-bottom: 20px; border-bottom: 1px solid #888; }