/docs/_static/basic.css
Relevant Search: With Applications for Solr and Elasticsearch
For more in depth reading about search, ranking and generally everything you could ever want to know about how lucene, elasticsearch or solr work under the hood I highly suggest this book. Easily one of the most interesting technical books I have read in a long time. If you are tasked with solving search relevance problems even if not in Solr or Elasticsearch it should be your first reference. Amazon Affiliate LinkCSS | 417 lines | 306 code | 92 blank | 19 comment | 0 complexity | 3275114906b3a0b43e8f451dd3587e07 MD5 | raw file
1/** 2 * Sphinx stylesheet -- basic theme 3 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 */ 5 6/* -- main layout ----------------------------------------------------------- */ 7 8div.clearer { 9 clear: both; 10} 11 12/* -- relbar ---------------------------------------------------------------- */ 13 14div.related { 15 width: 100%; 16 font-size: 90%; 17} 18 19div.related h3 { 20 display: none; 21} 22 23div.related ul { 24 margin: 0; 25 padding: 0 0 0 10px; 26 list-style: none; 27} 28 29div.related li { 30 display: inline; 31} 32 33div.related li.right { 34 float: right; 35 margin-right: 5px; 36} 37 38/* -- sidebar --------------------------------------------------------------- */ 39 40div.sphinxsidebarwrapper { 41 padding: 10px 5px 0 10px; 42} 43 44div.sphinxsidebar { 45 float: left; 46 width: 230px; 47 margin-left: -100%; 48 font-size: 90%; 49} 50 51div.sphinxsidebar ul { 52 list-style: none; 53} 54 55div.sphinxsidebar ul ul, 56div.sphinxsidebar ul.want-points { 57 margin-left: 20px; 58 list-style: square; 59} 60 61div.sphinxsidebar ul ul { 62 margin-top: 0; 63 margin-bottom: 0; 64} 65 66div.sphinxsidebar form { 67 margin-top: 10px; 68} 69 70div.sphinxsidebar input { 71 border: 1px solid #98dbcc; 72 font-family: sans-serif; 73 font-size: 1em; 74} 75 76img { 77 border: 0; 78} 79 80/* -- search page ----------------------------------------------------------- */ 81 82ul.search { 83 margin: 10px 0 0 20px; 84 padding: 0; 85} 86 87ul.search li { 88 padding: 5px 0 5px 20px; 89 background-image: url(file.png); 90 background-repeat: no-repeat; 91 background-position: 0 7px; 92} 93 94ul.search li a { 95 font-weight: bold; 96} 97 98ul.search li div.context { 99 color: #888; 100 margin: 2px 0 0 30px; 101 text-align: left; 102} 103 104ul.keywordmatches li.goodmatch a { 105 font-weight: bold; 106} 107 108/* -- index page ------------------------------------------------------------ */ 109 110table.contentstable { 111 width: 90%; 112} 113 114table.contentstable p.biglink { 115 line-height: 150%; 116} 117 118a.biglink { 119 font-size: 1.3em; 120} 121 122span.linkdescr { 123 font-style: italic; 124 padding-top: 5px; 125 font-size: 90%; 126} 127 128/* -- general index --------------------------------------------------------- */ 129 130table.indextable td { 131 text-align: left; 132 vertical-align: top; 133} 134 135table.indextable dl, table.indextable dd { 136 margin-top: 0; 137 margin-bottom: 0; 138} 139 140table.indextable tr.pcap { 141 height: 10px; 142} 143 144table.indextable tr.cap { 145 margin-top: 10px; 146 background-color: #f2f2f2; 147} 148 149img.toggler { 150 margin-right: 3px; 151 margin-top: 3px; 152 cursor: pointer; 153} 154 155/* -- general body styles --------------------------------------------------- */ 156 157a.headerlink { 158 visibility: hidden; 159} 160 161h1:hover > a.headerlink, 162h2:hover > a.headerlink, 163h3:hover > a.headerlink, 164h4:hover > a.headerlink, 165h5:hover > a.headerlink, 166h6:hover > a.headerlink, 167dt:hover > a.headerlink { 168 visibility: visible; 169} 170 171div.body p.caption { 172 text-align: inherit; 173} 174 175div.body td { 176 text-align: left; 177} 178 179.field-list ul { 180 padding-left: 1em; 181} 182 183.first { 184 margin-top: 0 !important; 185} 186 187p.rubric { 188 margin-top: 30px; 189 font-weight: bold; 190} 191 192/* -- sidebars -------------------------------------------------------------- */ 193 194div.sidebar { 195 margin: 0 0 0.5em 1em; 196 border: 1px solid #ddb; 197 padding: 7px 7px 0 7px; 198 background-color: #ffe; 199 width: 40%; 200 float: right; 201} 202 203p.sidebar-title { 204 font-weight: bold; 205} 206 207/* -- topics ---------------------------------------------------------------- */ 208 209div.topic { 210 border: 1px solid #ccc; 211 padding: 7px 7px 0 7px; 212 margin: 10px 0 10px 0; 213} 214 215p.topic-title { 216 font-size: 1.1em; 217 font-weight: bold; 218 margin-top: 10px; 219} 220 221/* -- admonitions ----------------------------------------------------------- */ 222 223div.admonition { 224 margin-top: 10px; 225 margin-bottom: 10px; 226 padding: 7px; 227} 228 229div.admonition dt { 230 font-weight: bold; 231} 232 233div.admonition dl { 234 margin-bottom: 0; 235} 236 237p.admonition-title { 238 margin: 0px 10px 5px 0px; 239 font-weight: bold; 240} 241 242div.body p.centered { 243 text-align: center; 244 margin-top: 25px; 245} 246 247/* -- tables ---------------------------------------------------------------- */ 248 249table.docutils { 250 border: 0; 251 border-collapse: collapse; 252} 253 254table.docutils td, table.docutils th { 255 padding: 1px 8px 1px 0; 256 border-top: 0; 257 border-left: 0; 258 border-right: 0; 259 border-bottom: 1px solid #aaa; 260} 261 262table.field-list td, table.field-list th { 263 border: 0 !important; 264} 265 266table.footnote td, table.footnote th { 267 border: 0 !important; 268} 269 270th { 271 text-align: left; 272 padding-right: 5px; 273} 274 275/* -- other body styles ----------------------------------------------------- */ 276 277dl { 278 margin-bottom: 15px; 279} 280 281dd p { 282 margin-top: 0px; 283} 284 285dd ul, dd table { 286 margin-bottom: 10px; 287} 288 289dd { 290 margin-top: 3px; 291 margin-bottom: 10px; 292 margin-left: 30px; 293} 294 295dt:target, .highlight { 296 background-color: #fbe54e; 297} 298 299dl.glossary dt { 300 font-weight: bold; 301 font-size: 1.1em; 302} 303 304.field-list ul { 305 margin: 0; 306 padding-left: 1em; 307} 308 309.field-list p { 310 margin: 0; 311} 312 313.refcount { 314 color: #060; 315} 316 317.optional { 318 font-size: 1.3em; 319} 320 321.versionmodified { 322 font-style: italic; 323} 324 325.system-message { 326 background-color: #fda; 327 padding: 5px; 328 border: 3px solid red; 329} 330 331.footnote:target { 332 background-color: #ffa 333} 334 335.line-block { 336 display: block; 337 margin-top: 1em; 338 margin-bottom: 1em; 339} 340 341.line-block .line-block { 342 margin-top: 0; 343 margin-bottom: 0; 344 margin-left: 1.5em; 345} 346 347/* -- code displays --------------------------------------------------------- */ 348 349pre { 350 overflow: auto; 351} 352 353td.linenos pre { 354 padding: 5px 0px; 355 border: 0; 356 background-color: transparent; 357 color: #aaa; 358} 359 360table.highlighttable { 361 margin-left: 0.5em; 362} 363 364table.highlighttable td { 365 padding: 0 0.5em 0 0.5em; 366} 367 368tt.descname { 369 background-color: transparent; 370 font-weight: bold; 371 font-size: 1.2em; 372} 373 374tt.descclassname { 375 background-color: transparent; 376} 377 378tt.xref, a tt { 379 background-color: transparent; 380 font-weight: bold; 381} 382 383h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { 384 background-color: transparent; 385} 386 387/* -- math display ---------------------------------------------------------- */ 388 389img.math { 390 vertical-align: middle; 391} 392 393div.body div.math p { 394 text-align: center; 395} 396 397span.eqno { 398 float: right; 399} 400 401/* -- printout stylesheet --------------------------------------------------- */ 402 403@media print { 404 div.document, 405 div.documentwrapper, 406 div.bodywrapper { 407 margin: 0 !important; 408 width: 100%; 409 } 410 411 div.sphinxsidebar, 412 div.related, 413 div.footer, 414 #top-link { 415 display: none; 416 } 417}