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. */
|
|
|
|
@media (min-width: 980px) {
|
|
|
|
body {
|
|
|
|
padding-top: 71px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-09-07 21:05:44 +04:00
|
|
|
body {
|
|
|
|
padding-bottom: 40px;
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown.open .dropdown-menu {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2012-09-12 13:12:13 +04:00
|
|
|
/* GitHub 'Star' badge */
|
2012-10-01 19:17:01 +04:00
|
|
|
body.index-page #main-content iframe {
|
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;
|
|
|
|
}
|
|
|
|
|
2012-09-12 13:12:13 +04:00
|
|
|
/* Travis CI badge */
|
2012-10-01 19:17:01 +04:00
|
|
|
body.index-page #main-content p:first-of-type {
|
2012-09-09 19:56:04 +04:00
|
|
|
float: right;
|
|
|
|
margin-right: 8px;
|
2012-09-12 13:12:13 +04:00
|
|
|
margin-top: -14px;
|
|
|
|
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
|
|
|
/* Footer */
|
|
|
|
/*
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* */
|
|
|
|
body hr {
|
|
|
|
border-top: 1px dotted #A30000
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
padding: 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@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-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;
|
|
|
|
}
|
|
|
|
|
|
|
|
body{
|
|
|
|
background: url("../img/grid.png") repeat-x;
|
2012-10-05 17:00:02 +04:00
|
|
|
background-attachment: fixed;
|
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{
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-list > .active > a, .nav-list > .active > a:hover {
|
|
|
|
background: #2c2c2c;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar .navbar-inner .dropdown-menu li a, .navbar .navbar-inner .dropdown-menu li{
|
|
|
|
color: #A30000;
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar .navbar-inner .container-fluid{
|
|
|
|
max-width: 1110px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|