/** * Fivefish CSS * $Id$ * * Copyright (c) 2012 by the authors * * Authors: * - Michael Granger */ @import url(bootstrap.min.css); body { font-family: 'Istok Web'; padding-top: 45px; background: #efefef; } @import url(bootstrap-responsive.min.css); @font-face { font-family: 'Istok Web'; font-style: normal; font-weight: 400; src: local('Istok Web Regular'), local('IstokWeb-Regular'), url('../fonts/IstokWeb-Regular.woff') format('woff'); } @font-face { font-family: 'Istok Web'; font-style: italic; font-weight: 400; src: local('Istok Web Italic'), local('IstokWeb-Italic'), url('../fonts/IstokWeb-Italic.woff') format('woff'); } @font-face { font-family: 'Istok Web'; font-style: normal; font-weight: 700; src: local('Istok Web Bold'), local('IstokWeb-Bold'), url('../fonts/IstokWeb-Bold.woff') format('woff'); } ul.typeahead.dropdown-menu { right: 0; } ul.typeahead.dropdown-menu li { border-bottom: 1px solid #eee; padding: 2px 4px; } ul.typeahead.dropdown-menu li:last-child { border: none; } ul.typeahead.dropdown-menu .search-item-name { font-weight: 600; } ul.typeahead.dropdown-menu .search-item-rank { font-size: 9px; padding: 0 4px; color: #ccc; } ul.typeahead.dropdown-menu i { padding: 0 2px; } ul.typeahead.dropdown-menu .search-item-snippet { overflow: hidden; display: block; margin: 0 14px; } /* Page header */ h2.namespace { color: #666; } div.container > header.hero-unit { background-image: -webkit-gradient( linear, left bottom, left top, from(#c9c9c9), color-stop(0.701, #d8d8d8), to(#c6c6c6) ); background-image: -moz-linear-gradient( 90deg, #c9c9c9 0%, #d8d8d8 70.1%, #c6c6c6 100%); } /* Butt the popover up to the right of the word */ div.container > header.hero-unit h1 { display: inline-block; text-shadow: 1px 1px 3px rgba( 25,25,25, 0.2 ); } /* ...and allow it to be flexible about its width */ .popover { width: inherit; } /* Indexes */ section#indexes { max-height: 460px; } section#indexes ul.nav-list { max-height: 440px; overflow-y: scroll; overflow-x: hidden; background: #f5f5f5; } section#indexes a .method-parent { color: #666; font-size: 11px; font-variant: small-caps; } /* Class/module description */ section.description p { line-height: 1.67em; font-size: 1.2em; margin: 1em 0; } section.description p + p { margin: 1em 0; } section.description h2, section.description h3 { margin-top: 1.5em; margin-bottom: 0; } header h1 span, section.description h2 span, section.description h3 span, section.description h4 span { font-size: 12px; padding: 0 0.5em; } header h1 span a, section.description h2 span a, section.description h3 span a, section.description h4 span a { color: #bbb; } /* :section: groups */ section.documentation-section { margin-top: 3em; } section.documentation-section > header { position: relative; background-color: #dadada; padding-left: 1em; border-radius: 0.5em; } section .section-click-top { position: absolute; top: 0; right: 2em; } dl.rdoc-list { margin: 0.5em 1em; background: #f5f5f5; padding: 1em; border-radius: 1em; } section.constants-list dt i { margin-right: 0.5em; background-position: -24px -72px; } section.attributes-list dt i { margin-right: 0.5em; background-position: -456px -96px; } dl.rdoc-list dd, section.constants-list dd, section.attributes-list dd { margin: 0 0 1em; } dd > p:first-child { margin-top: 0; } /* "Public instance methods" + method list */ section.methods { margin-top: 3em; } section.methods > header { font-size: 1.75em; padding: 0.5em; background-color: #c9c9c9; border-radius: 5px; } section.public-methods div.method header i { background-position:0 -96px; margin-top: 4px; } section.protected-methods div.method header i { background-position:-24px -96px; margin-top: 4px; } section.methods a[name] { position: relative; top: -135px; visibility: hidden; } /* Individual method */ div.method {} a:target + div.method { -moz-box-shadow: 0 0 13px rgba(0, 0, 0, 0.35); -webkit-box-shadow: 0 0 13px rgba(0, 0, 0, 0.35); box-shadow: 0 0 13px rgba(0, 0, 0, 0.35); margin: 1em -3em; padding: 0 2em; background-color: rgba(247, 244, 200, 0.7); transition: all 2s ease-in-out; -webkit-transition: all 0.25s ease-in-out; -moz-transition: all 0.25s ease-in-out; } div.method + div.method { margin-top: 1em; } div.method header, dl.rdoc-list dt, section.constants-list dt, section.attributes-list dt { font-weight: bold; font-size: 1.2em; } div.method header span.method-args { color: #666; } div.method div.method-description p, div.aliases { color: #666; margin-bottom: 0.75em; } /* @group Source Code */ div.method-source-code { display: none; } div.method-source-code pre, .description pre, pre.ruby { overflow: auto; color: #586e75; padding: 0.5em; border-radius: 5px; border-color: transparent; box-shadow: 0 0 8px rgba(25,25,25, 0.2); background-color: #fdf6e3; } code { color: #586e75; background-color: #fdf6e3; } /* Source highlight colors courtesy of Solarized (http://ethanschoonover.com/solarized) */ .ruby-constant { color: #586e75; background: transparent; } .ruby-keyword { color: #1360a9; background: transparent; font-weight: bold; } .ruby-ivar { color: #2aa198; background: transparent; } .ruby-operator { color: #859900; background: transparent; } .ruby-identifier { color: #1d544c; background: transparent; } .ruby-node { color: #a73407; background: transparent; } .ruby-comment { color: #dc322f; background: transparent; font-style: italic; } .ruby-regexp { color: #ffa07a; background: transparent; } .ruby-value { color: #009705; background: transparent; } .ruby-string { color: #657b83; background-color: rgba(190, 190, 190, 0.35); } /* @end */ div.file-metadata { float: right; } /* Don't show DIVs for modal dialogs at startup */ .modal { display: none; } /* Part of the jquery.dropdowns plugin by Cory LaViska http://labs.abeautifulsite.net/jquery-dropdown/ */ div.dropdown-menu { font: 14px sans-serif; position: absolute; z-index: 9999999; display: none; background: white; } .dropdown-menu ul { min-width: 160px; list-style: none; background: #FFF; border-radius: 6px; overflow: visible; padding: 0; margin: 0; } .dropdown-menu.has-tip { margin-top: 8px; } .dropdown-menu.has-tip:before { position: absolute; top: -6px; left: 9px; content: ''; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 7px solid #CCC; border-bottom-color: rgba(0, 0, 0, 0.2); display: inline-block; } .dropdown-menu.has-tip.anchor-right:before { left: auto; right: 9px; } .dropdown-menu.has-tip:after { position: absolute; top: -5px; left: 10px; content: ''; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 6px solid #FFF; display: inline-block; } .dropdown-menu.has-tip.anchor-right:after { left: auto; right: 10px; } .dropdown-menu.has-scroll ul { max-height: 558px; overflow: auto; } .dropdown-menu li { list-style: none; padding: 0; margin: 0; line-height: 18px; } .dropdown-menu li > a, .dropdown-menu label { display: block; color: #555; text-decoration: none; line-height: 18px; padding: 3px 15px; white-space: nowrap; } .dropdown-menu li > a:hover, .dropdown-menu label:hover { background-color: #08C; color: #FFF; cursor: pointer; } .dropdown-menu .divider { height: 1px; background: #E5E5E5; margin: 5px 1px; overflow: hidden; } /* Keep the .caret from Bootstrap's dropdowns 'cause it looks nifty */ .navbar .nav .dropdown-toggle .caret, .navbar .nav .open.dropdown .caret { border-top-color: white; border-bottom-color: white; } .dropdown-toggle .caret { margin-top: 8px; margin-left: 2px; } .caret { display: inline-block; width: 0; height: 0; vertical-align: top; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid black; opacity: 0.3; filter: alpha(opacity=30); content: ""; } .nav-list li a { overflow: hidden; text-overflow: ellipsis; } .nav-list li a:hover { overflow: visible; } .nav-list li .ns { font-size: smaller; } footer { padding: 1em 0 3em; }