2012-09-07 21:52:44 +04:00
|
|
|
/* Set the body padding-top when above 980px to push the content down from
|
|
|
|
below the navbar, which is fixed at >980px screen widths. */
|
2012-09-08 23:23:32 +04:00
|
|
|
pre {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2012-09-07 21:52:44 +04:00
|
|
|
|
2012-09-09 19:56:04 +04:00
|
|
|
.dropdown .dropdown-menu {
|
2015-06-16 04:46:08 +03:00
|
|
|
display: none;
|
|
|
|
overflow-y: scroll;
|
2012-09-09 19:56:04 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown.open .dropdown-menu {
|
2015-06-16 04:46:08 +03:00
|
|
|
display: block;
|
2012-09-09 19:56:04 +04:00
|
|
|
}
|
|
|
|
|
2012-09-13 21:39:08 +04:00
|
|
|
@media (max-width: 480px) {
|
|
|
|
.repo-link {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-09-12 16:11:26 +04:00
|
|
|
/* Header link to GitHub */
|
|
|
|
.repo-link {
|
|
|
|
float: right;
|
|
|
|
margin-right: 10px;
|
2012-09-12 23:39:22 +04:00
|
|
|
margin-top: 9px;
|
2012-09-12 16:11:26 +04:00
|
|
|
}
|
|
|
|
|
2013-01-22 21:35:46 +04:00
|
|
|
body.index-page #main-content p.badges {
|
|
|
|
padding-bottom: 1px;
|
|
|
|
}
|
|
|
|
|
2012-09-12 13:12:13 +04:00
|
|
|
/* GitHub 'Star' badge */
|
2013-01-22 21:35:46 +04:00
|
|
|
body.index-page #main-content iframe.github-star-button {
|
2012-09-09 19:56:04 +04:00
|
|
|
float: right;
|
2012-09-12 13:12:13 +04:00
|
|
|
margin-top: -12px;
|
2012-09-09 19:56:04 +04:00
|
|
|
margin-right: -15px;
|
|
|
|
}
|
|
|
|
|
2015-06-23 13:19:00 +03:00
|
|
|
/* Travis CI and PyPI badge */
|
|
|
|
body.index-page #main-content img.status-badge {
|
2012-09-09 19:56:04 +04:00
|
|
|
float: right;
|
|
|
|
margin-right: 8px;
|
2013-03-06 17:35:04 +04:00
|
|
|
margin-top: -11px;
|
2012-09-12 13:12:13 +04:00
|
|
|
margin-bottom: 0px;
|
2012-09-09 19:56:04 +04:00
|
|
|
}
|
|
|
|
|
2012-09-12 13:12:13 +04:00
|
|
|
/* Github source file badges */
|
|
|
|
a.github {
|
|
|
|
float: right;
|
|
|
|
margin-top: -12px;
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.github:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2012-10-05 18:22:30 +04:00
|
|
|
/* */
|
|
|
|
body hr {
|
2012-10-05 19:32:41 +04:00
|
|
|
border-top: 1px dotted #A30000;
|
2012-10-05 18:22:30 +04:00
|
|
|
}
|
|
|
|
|
2012-09-12 13:12:13 +04:00
|
|
|
/* Force TOC text to not overrun */
|
2012-09-09 01:31:44 +04:00
|
|
|
#table-of-contents {
|
|
|
|
overflow: hidden;
|
2012-10-05 15:29:53 +04:00
|
|
|
margin: 0 0 20px 0;
|
2012-09-09 01:31:44 +04:00
|
|
|
}
|
|
|
|
|
2012-09-12 13:12:13 +04:00
|
|
|
/* Code blocks should scroll horizontally */
|
2012-09-09 19:56:04 +04:00
|
|
|
pre {
|
|
|
|
overflow: auto;
|
|
|
|
word-wrap: normal;
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
|
2012-09-07 21:52:44 +04:00
|
|
|
/* Preserve the spacing of the navbar across different screen sizes. */
|
|
|
|
.navbar-inner {
|
2012-10-05 19:32:41 +04:00
|
|
|
/*padding: 5px 0;*/
|
2012-09-07 21:52:44 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 979px) {
|
|
|
|
.navbar .brand {
|
|
|
|
margin-left: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
.navbar-inner .container-fluid {
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-list li.main {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2012-10-18 02:09:11 +04:00
|
|
|
.nav-list a {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2013-05-21 20:45:25 +04:00
|
|
|
.nav-list > li > a {
|
|
|
|
padding: 2px 15px 3px;
|
|
|
|
}
|
|
|
|
|
2012-09-07 21:05:44 +04:00
|
|
|
/* Set the table of contents to static so it flows back into the content when
|
|
|
|
viewed on tablets and smaller. */
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
#table-of-contents {
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-09-07 21:52:44 +04:00
|
|
|
/* When the page is in two-column layout, give the main content some room
|
|
|
|
to breath on the left. */
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
#main-content {
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
2012-09-07 21:05:44 +04:00
|
|
|
}
|
|
|
|
|
2012-09-12 13:12:13 +04:00
|
|
|
/* Cutesy quote styling */
|
2012-09-07 21:05:44 +04:00
|
|
|
blockquote {
|
|
|
|
font-family: Georgia, serif;
|
|
|
|
font-size: 18px;
|
|
|
|
font-style: italic;
|
|
|
|
margin: 0.25em 0;
|
|
|
|
padding: 0.25em 40px;
|
|
|
|
line-height: 1.45;
|
|
|
|
position: relative;
|
|
|
|
color: #383838;
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
|
2012-09-09 01:06:13 +04:00
|
|
|
blockquote:before {
|
2012-09-07 21:05:44 +04:00
|
|
|
display: block;
|
|
|
|
content: "\201C";
|
|
|
|
font-size: 80px;
|
|
|
|
position: absolute;
|
|
|
|
left: -10px;
|
|
|
|
top: -20px;
|
|
|
|
color: #7a7a7a;
|
|
|
|
}
|
|
|
|
|
2012-09-09 01:06:13 +04:00
|
|
|
blockquote p:last-child {
|
2012-09-07 21:05:44 +04:00
|
|
|
color: #999999;
|
|
|
|
font-size: 14px;
|
|
|
|
display: block;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
2012-10-05 15:29:53 +04:00
|
|
|
|
|
|
|
/*=== dabapps bootstrap styles ====*/
|
|
|
|
|
|
|
|
html{
|
|
|
|
width:100%;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
body, .navbar .navbar-inner .container-fluid{
|
|
|
|
max-width: 1150px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2018-01-30 11:08:06 +03:00
|
|
|
/* Replacement for `body { background-attachment: fixed; }`, which
|
|
|
|
has performance issues when scrolling on large displays. */
|
|
|
|
body::before {
|
|
|
|
content: ' ';
|
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
background-color: #f8f8f8;
|
|
|
|
background: url(../img/grid.png) repeat-x;
|
|
|
|
will-change: transform;
|
|
|
|
z-index: -1;
|
2012-10-05 15:29:53 +04:00
|
|
|
}
|
|
|
|
|
2015-01-13 15:21:03 +03:00
|
|
|
|
|
|
|
#main-content h1:first-of-type {
|
|
|
|
margin-top: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-content h1, #main-content h2 {
|
|
|
|
font-weight: 300;
|
|
|
|
margin-top: 20px
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-content h3, #main-content h4, #main-content h5 {
|
2015-05-19 13:55:13 +03:00
|
|
|
font-weight: 300;
|
2015-01-13 15:21:03 +03:00
|
|
|
margin-top: 15px
|
|
|
|
}
|
|
|
|
|
2015-02-06 16:08:04 +03:00
|
|
|
#main-content img {
|
|
|
|
display: block;
|
|
|
|
margin: 40px auto;
|
|
|
|
}
|
2012-10-05 15:29:53 +04:00
|
|
|
/* custom navigation styles */
|
|
|
|
|
|
|
|
.navbar .navbar-inner{
|
|
|
|
background: #2C2C2C;
|
|
|
|
color: white;
|
|
|
|
border: none;
|
|
|
|
border-top: 5px solid #A30000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar .navbar-inner .nav li, .navbar .navbar-inner .nav li a, .navbar .navbar-inner .brand{
|
2014-11-19 19:22:23 +03:00
|
|
|
color: white;
|
2012-10-05 15:29:53 +04:00
|
|
|
}
|
|
|
|
|
2012-10-05 19:32:41 +04:00
|
|
|
.nav-list > .active > a, .navbar .navbar-inner .nav li a:hover {
|
|
|
|
background:#212121;
|
|
|
|
color:white;
|
2012-10-05 15:29:53 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar .navbar-inner .dropdown-menu li a, .navbar .navbar-inner .dropdown-menu li{
|
2014-11-19 19:22:23 +03:00
|
|
|
color: #A30000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu .active > a,
|
|
|
|
.dropdown-menu .active > a:hover {
|
|
|
|
background-image: none;
|
2012-10-05 15:29:53 +04:00
|
|
|
}
|
2014-11-19 19:22:23 +03:00
|
|
|
|
|
|
|
.navbar-inverse .nav .dropdown .active > a,
|
|
|
|
.navbar-inverse .nav .dropdown .active > a:hover,
|
|
|
|
.navbar-inverse .nav .dropdown .active > a:focus {
|
|
|
|
background-color: #eeeeee;
|
|
|
|
}
|
|
|
|
|
2012-10-05 15:29:53 +04:00
|
|
|
.navbar .navbar-inner .dropdown-menu li a:hover{
|
|
|
|
background: #eeeeee;
|
|
|
|
color: #c20000;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* custom general page styles */
|
|
|
|
.hero-unit h2, .hero-unit h1{
|
|
|
|
color: #A30000;
|
|
|
|
}
|
|
|
|
|
|
|
|
body a{
|
|
|
|
color: #A30000;
|
|
|
|
}
|
|
|
|
|
|
|
|
body a:hover{
|
|
|
|
color: #c20000;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* subnavigation styles */
|
|
|
|
|
|
|
|
@media (min-width: 767px) {
|
|
|
|
.sidebar-nav-fixed {
|
|
|
|
position:fixed;
|
|
|
|
width:19%;
|
|
|
|
max-width: 240px;
|
|
|
|
}
|
|
|
|
|
2012-10-06 23:05:36 +04:00
|
|
|
.navbar {
|
|
|
|
position: fixed;
|
|
|
|
}
|
2012-10-05 15:29:53 +04:00
|
|
|
.navbar .navbar-inner .container-fluid{
|
|
|
|
max-width: 1110px;
|
|
|
|
}
|
2012-10-06 23:05:36 +04:00
|
|
|
}
|
2012-10-05 19:32:41 +04:00
|
|
|
|
2014-12-20 00:32:43 +03:00
|
|
|
h1 code, h2 code, h3 code, h4 code, h5 code {
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
|
2012-10-05 19:32:41 +04:00
|
|
|
/* sticky footer and footer */
|
|
|
|
html, body {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.wrapper {
|
|
|
|
min-height: 100%;
|
|
|
|
height: auto !important;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0 auto -60px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.body-content{
|
|
|
|
padding-top: 70px;
|
|
|
|
padding-bottom: 70px;
|
|
|
|
}
|
|
|
|
|
2012-10-06 23:05:36 +04:00
|
|
|
@media (max-width: 979px) {
|
|
|
|
.navbar-fixed-top .navbar-inner {
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
.body-content{
|
|
|
|
padding-top: 0px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
footer.span12 {
|
|
|
|
width: 95%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-10-05 19:32:41 +04:00
|
|
|
footer, .push {
|
|
|
|
height: 60px; /* .push must be the same height as .footer */
|
|
|
|
}
|
|
|
|
|
2012-10-05 20:00:24 +04:00
|
|
|
|
2012-10-05 19:32:41 +04:00
|
|
|
footer p {
|
|
|
|
text-align: center;
|
|
|
|
color: gray;
|
|
|
|
border-top: 1px solid #DDD;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer a {
|
|
|
|
color: gray;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer a:hover {
|
|
|
|
color: gray;
|
|
|
|
}
|
2013-03-28 19:58:53 +04:00
|
|
|
|
|
|
|
.btn-inverse {
|
|
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#606060), to(#404040)) !important;
|
|
|
|
background-image: -webkit-linear-gradient(top, #606060, #404040) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-open .modal,.btn:focus{outline:none;}
|
|
|
|
|
|
|
|
@media (max-width: 650px) {
|
|
|
|
.repo-link.btn-inverse {display: none;}
|
|
|
|
}
|
2013-04-25 23:43:37 +04:00
|
|
|
|
|
|
|
td, th {
|
|
|
|
padding: 0.25em;
|
|
|
|
background-color: #f7f7f9;
|
|
|
|
border-color: #e1e1e8;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
border-color: white;
|
2013-06-04 23:59:12 +04:00
|
|
|
margin-bottom: 0.6em;
|
2013-04-25 23:43:37 +04:00
|
|
|
}
|
2013-06-27 02:26:35 +04:00
|
|
|
|
|
|
|
.side-nav {
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
2014-07-31 23:19:28 +04:00
|
|
|
|
|
|
|
|
|
|
|
ul.sponsor.diamond li a {
|
|
|
|
float: left;
|
|
|
|
width: 600px;
|
|
|
|
height: 20px;
|
|
|
|
text-align: center;
|
2014-08-01 01:33:45 +04:00
|
|
|
margin: 10px 70px;
|
2014-07-31 23:19:28 +04:00
|
|
|
padding: 300px 0 0 0;
|
|
|
|
background-position: 0 50%;
|
|
|
|
background-size: 600px auto;
|
|
|
|
background-repeat: no-repeat;
|
2014-08-01 01:33:45 +04:00
|
|
|
font-size: 200%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1000px) {
|
|
|
|
ul.sponsor.diamond li a {
|
|
|
|
float: left;
|
|
|
|
width: 300px;
|
|
|
|
height: 20px;
|
|
|
|
text-align: center;
|
|
|
|
margin: 10px 40px;
|
|
|
|
padding: 300px 0 0 0;
|
|
|
|
background-position: 0 50%;
|
|
|
|
background-size: 280px auto;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
font-size: 150%;
|
|
|
|
}
|
2014-07-31 23:19:28 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
ul.sponsor.platinum li a {
|
|
|
|
float: left;
|
|
|
|
width: 300px;
|
|
|
|
height: 20px;
|
|
|
|
text-align: center;
|
|
|
|
margin: 10px 40px;
|
|
|
|
padding: 300px 0 0 0;
|
|
|
|
background-position: 0 50%;
|
|
|
|
background-size: 280px auto;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
font-size: 150%;
|
|
|
|
}
|
|
|
|
|
2014-08-01 01:33:45 +04:00
|
|
|
ul.sponsor.gold li a {
|
|
|
|
float: left;
|
|
|
|
width: 130px;
|
|
|
|
height: 20px;
|
|
|
|
text-align: center;
|
|
|
|
margin: 10px 30px;
|
|
|
|
padding: 150px 0 0 0;
|
|
|
|
background-position: 0 50%;
|
|
|
|
background-size: 130px auto;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
font-size: 120%;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.sponsor.silver li a {
|
|
|
|
float: left;
|
|
|
|
width: 130px;
|
|
|
|
height: 20px;
|
|
|
|
text-align: center;
|
|
|
|
margin: 10px 30px;
|
|
|
|
padding: 150px 0 0 0;
|
|
|
|
background-position: 0 50%;
|
|
|
|
background-size: 130px auto;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
font-size: 120%;
|
|
|
|
}
|
|
|
|
|
2014-07-31 23:19:28 +04:00
|
|
|
ul.sponsor {
|
|
|
|
list-style: none;
|
2014-08-01 01:33:45 +04:00
|
|
|
display: block;
|
2014-07-31 23:19:28 +04:00
|
|
|
}
|
2015-04-21 10:07:02 +03:00
|
|
|
|
|
|
|
#mkdocs_search_modal article p{
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2015-10-27 23:20:59 +03:00
|
|
|
|
|
|
|
.toclink {
|
|
|
|
color: #333;
|
|
|
|
}
|
2017-04-26 16:15:29 +03:00
|
|
|
|
|
|
|
.book-cover img {
|
|
|
|
margin: 0 !important;
|
|
|
|
display: inline-block !important;
|
|
|
|
}
|