2024-05-27 02:59:42 +00:00
|
|
|
$header-bg: #094d75;
|
2015-05-19 15:13:13 +00:00
|
|
|
|
2024-05-27 03:08:42 +00:00
|
|
|
.fmt-banner {
|
2024-05-27 02:59:42 +00:00
|
|
|
background-image:
|
|
|
|
linear-gradient(to bottom, $header-bg 50%, darken($header-bg, 2%) 50%);
|
|
|
|
background-size: 100% 4px;
|
|
|
|
background-color: $header-bg;
|
|
|
|
background-repeat: repeat-y;
|
|
|
|
color: white;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2024-05-27 14:05:53 +00:00
|
|
|
// Keep content not too wide for better readability.
|
2024-05-27 03:08:42 +00:00
|
|
|
.content, .fmt-navbar-content {
|
|
|
|
@extend .col-md-10;
|
|
|
|
@extend .offset-md-1;
|
|
|
|
@extend .col-lg-8;
|
|
|
|
@extend .offset-lg-2;
|
|
|
|
}
|
|
|
|
|
2024-05-27 02:59:42 +00:00
|
|
|
@import 'bootstrap/scss/bootstrap';
|
|
|
|
|
2024-05-27 14:05:53 +00:00
|
|
|
$bd-gutter-x: 3rem;
|
|
|
|
|
|
|
|
// Based on _component-examples.scss in https://github.com/twbs/bootstrap.
|
|
|
|
.highlight {
|
|
|
|
position: relative;
|
|
|
|
padding: .75rem ($bd-gutter-x * .5);
|
|
|
|
background-color: #f5f5f5; // var(--bd-pre-bg);
|
|
|
|
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
padding: .75rem 1.25rem;
|
|
|
|
@include border-radius(calc(var(--bs-border-radius) - 1px));
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
|
|
pre {
|
|
|
|
margin-right: 1.875rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
padding: .25rem 0 .25rem;
|
|
|
|
margin-top: .8125rem;
|
|
|
|
margin-bottom: 0;
|
|
|
|
overflow: overlay;
|
|
|
|
white-space: pre;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre code {
|
|
|
|
@include font-size(inherit);
|
|
|
|
color: var(--bs-body-color); // Effectively the base text color
|
|
|
|
word-wrap: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-27 02:59:42 +00:00
|
|
|
/*$icon-font-path: "fonts/";
|
2015-05-19 15:13:13 +00:00
|
|
|
|
2015-05-19 15:30:16 +00:00
|
|
|
html {
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
|
2015-05-19 15:13:13 +00:00
|
|
|
.navbar {
|
|
|
|
border-radius: 0;
|
|
|
|
margin-bottom: 0;
|
2024-05-27 02:59:42 +00:00
|
|
|
background-color: darken($header-bg, 10%);
|
2015-05-19 15:13:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
div.sphinxsidebar {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
padding-top: 20px;
|
|
|
|
padding-bottom: 20px;
|
2024-05-27 02:59:42 +00:00
|
|
|
//border-top: 1px solid $gray-lighter;
|
2015-05-19 15:13:13 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2015-05-20 01:20:27 +00:00
|
|
|
// Indent descriptions of classes, functions and macros.
|
|
|
|
.class dd, .function dd, .macro dd {
|
|
|
|
margin-left: 20px;
|
2015-05-19 15:13:13 +00:00
|
|
|
}
|
|
|
|
|
2015-05-20 01:20:27 +00:00
|
|
|
// Remove Bootstrap padding for Sphinx containers.
|
|
|
|
.breathe-sectiondef.container {
|
|
|
|
padding: 0;
|
2015-05-19 15:13:13 +00:00
|
|
|
}
|
2015-05-20 00:58:04 +00:00
|
|
|
|
2015-05-20 01:20:27 +00:00
|
|
|
// Remove Bootstrap padding for Sphinx code elements in API signatures.
|
2015-05-20 00:58:04 +00:00
|
|
|
.descclassname, .descname {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2015-05-20 01:20:27 +00:00
|
|
|
|
2021-06-18 19:51:48 +00:00
|
|
|
// Override center alignment in tables.
|
|
|
|
td {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2015-05-20 01:20:27 +00:00
|
|
|
p.rubric {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2024-05-27 02:59:42 +00:00
|
|
|
*/
|