1/*--------------------- Layout and Typography ----------------------------*/ 2body { 3 font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; 4 font-size: 15px; 5 line-height: 22px; 6 color: #252519; 7 margin: 0; padding: 0; 8} 9a { 10 color: #261a3b; 11} 12 a:visited { 13 color: #261a3b; 14 } 15p { 16 margin: 0 0 15px 0; 17} 18h1, h2, h3, h4, h5, h6 { 19 margin: 0px 0 15px 0; 20} 21#container { 22 position: relative; 23} 24#background { 25 position: fixed; 26 top: 0; left: 525px; right: 0; bottom: 0; 27 background: #f5f5ff; 28 border-left: 1px solid #e5e5ee; 29 z-index: -1; 30} 31table { 32 margin-top: 100px; 33} 34thead tr { 35 display: none; 36} 37table td { 38 border: 0; 39 outline: 0; 40} 41 td.docs, th.docs { 42 max-width: 450px; 43 min-width: 450px; 44 min-height: 5px; 45 padding: 10px 25px 1px 50px; 46 overflow-x: hidden; 47 vertical-align: top; 48 text-align: left; 49 } 50 .docs pre { 51 margin: 15px 0 15px; 52 padding-left: 15px; 53 } 54 .docs p tt, .docs p code { 55 background: #f8f8ff; 56 border: 1px solid #dedede; 57 font-size: 12px; 58 padding: 0 0.2em; 59 } 60 .pilwrap { 61 position: relative; 62 } 63 .pilcrow { 64 font: 12px Arial; 65 text-decoration: none; 66 color: #454545; 67 position: absolute; 68 top: 3px; left: -20px; 69 padding: 1px 2px; 70 opacity: 0; 71 -webkit-transition: opacity 0.2s linear; 72 } 73 td.docs:hover .pilcrow { 74 opacity: 1; 75 } 76 td.code, th.code { 77 padding: 14px 15px 16px 25px; 78 width: 100%; 79 vertical-align: top; 80 background: #f5f5ff; 81 border-left: 1px solid #e5e5ee; 82 } 83 pre, tt, code { 84 font-size: 12px; line-height: 18px; 85 font-family: Menlo, Monaco, Consolas, "Lucida Console", monospace; 86 margin: 0; padding: 0; 87 } 88 89/*---------------------- Navbar: Cribbed from Coffee-Script -----------------------------*/ 90.bookmark { 91 display: block; 92 width: 0; height: 0; 93 position: relative; 94 top: -100px; 95} 96 97#fadeout { 98 z-index: 50; 99 position: fixed; 100 left: 0; top: 0; right: 0; 101 height: 100px; 102 background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 255)), to(rgba(255, 255, 255, 0))); 103 background: -moz-linear-gradient(top, rgba(255, 255, 255, 255), rgba(255, 255, 255, 0)); 104} 105 106#flybar { 107 position: fixed; 108 z-index: 100; 109 height: 50px; 110 min-width: 600px; 111 left: 40px; right: 40px; top: 25px; 112 padding-left: 250px; 113 background: #eee; 114 background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#dadada)); 115 background: -moz-linear-gradient(top, #f8f8f8, #dadada); 116 border: 1px solid #aaa; 117 border-top: 1px solid #bbb; 118 border-bottom: 1px solid #888; 119 -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; 120 -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.1); 121 -moz-box-shadow: 0 3px 5px rgba(0,0,0,0.1); 122 box-shadow: 0 3px 5px rgba(0,0,0,0.1); 123} 124 #title { 125 height: 50px; 126 line-height: 50px; 127 text-decoration: none; 128 top: 0px; left: 10px; 129 padding: 0px; 130 position: absolute; 131 } 132 #title h1 { 133 margin: 0px; 134 display: inline; 135 } 136 #error { 137 position: absolute; 138 -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; 139 -webkit-border-top-left-radius: 0; -moz-border-radius-topleft: 0; border-top-left-radius: 0; 140 -webkit-border-bottom-left-radius: 0; -moz-border-radius-bottomleft: 0; border-bottom-left-radius: 0; 141 right: 0px; top: 0px; left: 726px; bottom: 0; 142 padding: 0 0 0 15px; 143 background: #fdcdcc; 144 background: -webkit-gradient(linear, left top, left bottom, from(#ffedec), to(#ff9a95)); 145 background: -moz-linear-gradient(top, #f8f8f8, #dadada); 146 color: #862322; 147 font-size: 10px; 148 line-height: 50px; 149 overflow: hidden; 150 text-transform: uppercase; 151 } 152 .navigation { 153 height: 30px; 154 line-height: 30px; 155 text-transform: uppercase; 156 position: relative; 157 padding: 0px 20px; 158 margin-top: 10px; 159 border: 1px solid #aaa; 160 cursor: pointer; 161 } 162 .navigation.about { 163 float: right; 164 margin-right: 10px; 165 } 166 .navigation.toc { 167 float: right; 168 margin-right: 10px; 169 } 170 .navigation:hover, 171 .navigation.active { 172 background: #eee; 173 background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#f8f8f8)); 174 background: -moz-linear-gradient(top, #eee, #f8f8f8); 175 } 176 .navigation.active { 177 height: 51px; 178 color: #000; 179 background: -webkit-gradient(linear, left top, left bottom, from(#e5e5e5), to(#fff)); 180 background: -moz-linear-gradient(top, #e5e5e5, #fff); 181 } 182 .navigation .button { 183 font-weight: bold; 184 -webkit-user-select: none; 185 -khtml-user-select: none; 186 -moz-user-select: none; 187 -o-user-select: none; 188 user-select: none; 189 } 190 .navigation .button::selection { 191 background: transparent; 192 } 193 .navigation .contents { 194 display: none; 195 position: absolute; 196 background: #fff; 197 opacity: 0.97; 198 top: 40px; right: 0; 199 padding: 5px 0; 200 margin-left: -1px; 201 margin-right: -1px; 202 border: 1px solid #aaa; 203 border-top: 0; 204 -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; 205 -webkit-border-top-left-radius: 0; -moz-border-radius-topleft: 0; border-top-left-radius: 0; 206 -webkit-border-top-right-radius: 0; -moz-border-radius-topright: 0; border-top-right-radius: 0; 207 -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2); 208 -moz-box-shadow: 0 3px 5px rgba(0,0,0,0.2); 209 box-shadow: 0 3px 5px rgba(0,0,0,0.2); 210 } 211 .navigation .contents p { 212 display: block; 213 text-transform: none; 214 margin: 0px; 215 padding: 4px 10px; 216 border: 1px solid transparent; 217 border-left: 0; border-right: 0; 218 } 219 .navigation.about .contents p { 220 width: 335px; 221 } 222 .navigation.about .contents a { 223 display: block; 224 text-transform: none; 225 padding: 4px 20px; 226 border: 1px solid transparent; 227 border-left: 0; border-right: 0; 228 } 229 .navigation .contents.menu { 230 width: 450px; 231 } 232 .navigation .contents.menu a { 233 display: block; 234 text-transform: none; 235 text-decoration: none; 236 padding: 4px 10px; 237 border: 1px solid transparent; 238 border-left: 0; border-right: 0; 239 } 240 .navigation .contents.menu a:hover { 241 border-color: #ddd; 242 background: #eee; 243 } 244 .navigation.active .contents { 245 display: block; 246 } 247 248/*---------------------- Syntax Highlighting -----------------------------*/ 249td.linenos { background-color: #f0f0f0; padding-right: 10px; } 250span.lineno { background-color: #f0f0f0; padding: 0 5px 0 5px; } 251body .hll { background-color: #ffffcc } 252body .c { color: #408080; font-style: italic } /* Comment */ 253body .err { border: 1px solid #FF0000 } /* Error */ 254body .k { color: #954121 } /* Keyword */ 255body .o { color: #666666 } /* Operator */ 256body .cm { color: #408080; font-style: italic } /* Comment.Multiline */ 257body .cp { color: #BC7A00 } /* Comment.Preproc */ 258body .c1 { color: #408080; font-style: italic } /* Comment.Single */ 259body .cs { color: #408080; font-style: italic } /* Comment.Special */ 260body .gd { color: #A00000 } /* Generic.Deleted */ 261body .ge { font-style: italic } /* Generic.Emph */ 262body .gr { color: #FF0000 } /* Generic.Error */ 263body .gh { color: #000080; font-weight: bold } /* Generic.Heading */ 264body .gi { color: #00A000 } /* Generic.Inserted */ 265body .go { color: #808080 } /* Generic.Output */ 266body .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ 267body .gs { font-weight: bold } /* Generic.Strong */ 268body .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ 269body .gt { color: #0040D0 } /* Generic.Traceback */ 270body .kc { color: #954121 } /* Keyword.Constant */ 271body .kd { color: #954121; font-weight: bold } /* Keyword.Declaration */ 272body .kn { color: #954121; font-weight: bold } /* Keyword.Namespace */ 273body .kp { color: #954121 } /* Keyword.Pseudo */ 274body .kr { color: #954121; font-weight: bold } /* Keyword.Reserved */ 275body .kt { color: #B00040 } /* Keyword.Type */ 276body .m { color: #666666 } /* Literal.Number */ 277body .s { color: #219161 } /* Literal.String */ 278body .na { color: #7D9029 } /* Name.Attribute */ 279body .nb { color: #954121 } /* Name.Builtin */ 280body .nc { color: #0000FF; font-weight: bold } /* Name.Class */ 281body .no { color: #880000 } /* Name.Constant */ 282body .nd { color: #AA22FF } /* Name.Decorator */ 283body .ni { color: #999999; font-weight: bold } /* Name.Entity */ 284body .ne { color: #D2413A; font-weight: bold } /* Name.Exception */ 285body .nf { color: #0000FF } /* Name.Function */ 286body .nl { color: #A0A000 } /* Name.Label */ 287body .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ 288body .nt { color: #954121; font-weight: bold } /* Name.Tag */ 289body .nv { color: #19469D } /* Name.Variable */ 290body .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ 291body .w { color: #bbbbbb } /* Text.Whitespace */ 292body .mf { color: #666666 } /* Literal.Number.Float */ 293body .mh { color: #666666 } /* Literal.Number.Hex */ 294body .mi { color: #666666 } /* Literal.Number.Integer */ 295body .mo { color: #666666 } /* Literal.Number.Oct */ 296body .sb { color: #219161 } /* Literal.String.Backtick */ 297body .sc { color: #219161 } /* Literal.String.Char */ 298body .sd { color: #219161; font-style: italic } /* Literal.String.Doc */ 299body .s2 { color: #219161 } /* Literal.String.Double */ 300body .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ 301body .sh { color: #219161 } /* Literal.String.Heredoc */ 302body .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ 303body .sx { color: #954121 } /* Literal.String.Other */ 304body .sr { color: #BB6688 } /* Literal.String.Regex */ 305body .s1 { color: #219161 } /* Literal.String.Single */ 306body .ss { color: #19469D } /* Literal.String.Symbol */ 307body .bp { color: #954121 } /* Name.Builtin.Pseudo */ 308body .vc { color: #19469D } /* Name.Variable.Class */ 309body .vg { color: #19469D } /* Name.Variable.Global */ 310body .vi { color: #19469D } /* Name.Variable.Instance */ 311body .il { color: #666666 } /* Literal.Number.Integer.Long */ 312