This commit is contained in:
kyodev 2017-06-01 23:17:54 +02:00
parent ff02f22bf0
commit baa8f4b868
5 changed files with 6492 additions and 203 deletions

View File

@ -17,7 +17,8 @@
{%- endblock %} {%- endblock %}
{%- block styles %} {%- block styles %}
<link href="{{ base_url }}/css/bootstrap-custom.min.css" rel="stylesheet"> <link href="{{ base_url }}/css/normalize.css" rel="stylesheet">
<link href="{{ base_url }}/css/bootstrap-mod.css" rel="stylesheet">
<link href="{{ base_url }}/css/font-awesome-4.5.0.css" rel="stylesheet"> <link href="{{ base_url }}/css/font-awesome-4.5.0.css" rel="stylesheet">
<link href="{{ base_url }}/css/base.css" rel="stylesheet"> <link href="{{ base_url }}/css/base.css" rel="stylesheet">
<link rel="stylesheet" href="{{ base_url }}/css/highlight.css"> <link rel="stylesheet" href="{{ base_url }}/css/highlight.css">

View File

@ -1,41 +1,34 @@
body { body {
padding-top: 70px; padding-top: 70px;
background: url(../img/grid.png) repeat-x; background: url(../img/grid.png) repeat-x;
background-attachment: fixed; background-attachment: fixed;
background-color: #f8f8f8; background-color: #f8f8f8;
} }
body > .container { body > .container {
min-height: 400px; min-height: 400px;
} }
ul.nav .main { ul.nav .main {
font-weight: bold; font-weight: bold;
} }
.col-md-3 { .col-md-3 {
padding-left: 0; padding-left: 0;
} }
.col-md-9 { .col-md-9 {
padding-bottom: 100px; padding-bottom: 100px;
} }
.source-links { .source-links {
float: right; float: right;
} }
.col-md-9 img { .col-md-9 img {
max-width: 100%; max-width: 100%;
display: inline-block; display: inline-block;
padding: 4px; padding: 4px;
line-height: 1.428571429; line-height: 1.428571429;
background-color: #fff; background-color: #fff;
border: 1px solid #ddd; border: 1px solid #ddd;
border-radius: 4px; border-radius: 4px;
margin: 20px auto 30px auto; margin: 20px auto 30px auto;
} }
/* /*
* The code below adds some padding to the top of the current anchor target so * The code below adds some padding to the top of the current anchor target so
* that, when navigating to it, the header isn't hidden by the navbar at the * that, when navigating to it, the header isn't hidden by the navbar at the
@ -48,272 +41,257 @@ ul.nav .main {
* See <https://github.com/mkdocs/mkdocs/issues/843> for more details. * See <https://github.com/mkdocs/mkdocs/issues/843> for more details.
*/ */
:target::before { :target::before {
content: ""; content: "";
display: block; display: block;
margin-top: -75px; margin-top: -75px;
height: 75px; height: 75px;
pointer-events: none; pointer-events: none;
animation: 0s 1s forwards collapse-anchor-padding-1; animation: 0s 1s forwards collapse-anchor-padding-1;
} }
.clicky :target::before { .clicky :target::before {
animation-name: collapse-anchor-padding-2; animation-name: collapse-anchor-padding-2;
} }
@keyframes collapse-anchor-padding-1 { @keyframes collapse-anchor-padding-1 {
to { to {
margin-top: 0; margin-top: 0;
height: 0; height: 0;
} }
} }
@keyframes collapse-anchor-padding-2 { @keyframes collapse-anchor-padding-2 {
to { to {
margin-top: 0; margin-top: 0;
height: 0; height: 0;
} }
} }
h1 { h1 {
color: #444; color: #444;
font-weight: 400; font-weight: 400;
font-size: 42px; font-size: 42px;
} }
h2, h3, h4, h5, h6 { h2, h3, h4, h5, h6 {
color: #444; color: #444;
font-weight: 300; font-weight: 300;
} }
hr { hr {
border-top: 1px solid #aaa; border-top: 1px solid #aaa;
} }
pre, .rst-content tt { pre, .rst-content tt {
max-width: 100%; max-width: 100%;
background: #fff; background: #fff;
border: solid 1px #e1e4e5; border: solid 1px #e1e4e5;
color: #333; color: #333;
overflow-x: auto; overflow-x: auto;
} }
code.code-large, .rst-content tt.code-large { code.code-large, .rst-content tt.code-large {
font-size: 90%; font-size: 90%;
} }
code { code {
padding: 2px 5px; padding: 2px 5px;
background: #fff; background: #fff;
border: solid 1px #e1e4e5; border: solid 1px #e1e4e5;
color: #333; color: #333;
white-space: pre-wrap; white-space: pre-wrap;
word-wrap: break-word; word-wrap: break-word;
} }
pre code { pre code {
background: transparent; background: transparent;
border: none; border: none;
white-space: pre; white-space: pre;
word-wrap: normal; word-wrap: normal;
font-family: monospace,serif; font-family: monospace,serif;
font-size: 12px; font-size: 12px;
} }
a code { a code {
color: #2FA4E7; color: #2FA4E7;
} }
a:hover code, a:focus code { a:hover code, a:focus code {
color: #157AB5; color: #157AB5;
} }
footer { footer {
margin-top: 30px; margin-top: 30px;
margin-bottom: 10px; margin-bottom: 10px;
text-align: center; text-align: center;
font-weight: 200; font-weight: 200;
} }
.modal-dialog { .modal-dialog {
margin-top: 60px; margin-top: 60px;
} }
/* /*
* Side navigation * Side navigation
* *
* Scrollspy and affixed enhanced navigation to highlight sections and secondary * Scrollspy and affixed enhanced navigation to highlight sections and secondary
* sections of docs content. * sections of docs content.
*/ */
/* By default it's not affixed in mobile views, so undo that */ /* By default it's not affixed in mobile views, so undo that */
.bs-sidebar.affix { /* csslint allow: adjoining-classes */ .bs-sidebar.affix { /* csslint allow: adjoining-classes */
position: static; position: static;
} }
.bs-sidebar.well { /* csslint allow: adjoining-classes */ .bs-sidebar.well { /* csslint allow: adjoining-classes */
padding: 0; padding: 0;
max-height: 90%; max-height: 90%;
overflow-y: auto; overflow-y: auto;
} }
/* First level of nav */ /* First level of nav */
.bs-sidenav { .bs-sidenav {
padding-top: 10px; padding-top: 10px;
padding-bottom: 10px; padding-bottom: 10px;
border-radius: 5px; border-radius: 5px;
} }
/* All levels of nav */ /* All levels of nav */
.bs-sidebar .nav > li > a { .bs-sidebar .nav > li > a {
display: block; display: block;
padding: 5px 20px; padding: 5px 20px;
z-index: 1; z-index: 1;
} }
.bs-sidebar .nav > li > a:hover, .bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus { .bs-sidebar .nav > li > a:focus {
text-decoration: none; text-decoration: none;
border-right: 1px solid; border-right: 1px solid;
} }
.bs-sidebar .nav > .active > a, .bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a, .bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a { .bs-sidebar .nav > .active:focus > a {
font-weight: bold; font-weight: bold;
background-color: transparent; background-color: transparent;
border-right: 1px solid; border-right: 1px solid;
} }
/* Nav: second level (shown on .active) */ /* Nav: second level (shown on .active) */
.bs-sidebar .nav .nav { .bs-sidebar .nav .nav {
display: none; /* Hide by default, but at >768px, show it */ display: none; /* Hide by default, but at >768px, show it */
margin-bottom: 8px; margin-bottom: 8px;
} }
.bs-sidebar .nav .nav > li > a { .bs-sidebar .nav .nav > li > a {
padding-top: 3px; padding-top: 3px;
padding-bottom: 3px; padding-bottom: 3px;
padding-left: 30px; padding-left: 30px;
font-size: 90%; font-size: 90%;
} }
/* Show and affix the side nav when space allows it */ /* Show and affix the side nav when space allows it */
@media (min-width: 992px) { @media (min-width: 992px) {
.bs-sidebar .nav > .active > ul { .bs-sidebar .nav > .active > ul {
display: block; display: block;
} }
/* Widen the fixed sidebar */ /* Widen the fixed sidebar */
.bs-sidebar.affix, /* csslint allow: adjoining-classes */ .bs-sidebar.affix, /* csslint allow: adjoining-classes */
.bs-sidebar.affix-bottom { /* csslint allow: adjoining-classes */ .bs-sidebar.affix-bottom { /* csslint allow: adjoining-classes */
width: 213px; width: 213px;
} }
.bs-sidebar.affix { /* csslint allow: adjoining-classes */ .bs-sidebar.affix { /* csslint allow: adjoining-classes */
position: fixed; /* Undo the static from mobile first approach */ position: fixed; /* Undo the static from mobile first approach */
top: 80px; top: 80px;
} }
.bs-sidebar.affix-bottom { /* csslint allow: adjoining-classes */ .bs-sidebar.affix-bottom { /* csslint allow: adjoining-classes */
position: absolute; /* Undo the static from mobile first approach */ position: absolute; /* Undo the static from mobile first approach */
} }
.bs-sidebar.affix-bottom .bs-sidenav, /* csslint allow: adjoining-classes */ .bs-sidebar.affix-bottom .bs-sidenav, /* csslint allow: adjoining-classes */
.bs-sidebar.affix .bs-sidenav { /* csslint allow: adjoining-classes */ .bs-sidebar.affix .bs-sidenav { /* csslint allow: adjoining-classes */
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
} }
} }
@media (min-width: 1200px) { @media (min-width: 1200px) {
/* Widen the fixed sidebar again */ /* Widen the fixed sidebar again */
.bs-sidebar.affix-bottom, /* csslint allow: adjoining-classes */ .bs-sidebar.affix-bottom, /* csslint allow: adjoining-classes */
.bs-sidebar.affix { /* csslint allow: adjoining-classes */ .bs-sidebar.affix { /* csslint allow: adjoining-classes */
width: 263px; width: 263px;
} }
} }
.headerlink { .headerlink {
font-family: FontAwesome; font-family: FontAwesome;
font-size: 14px; font-size: 14px;
display: none; display: none;
padding-left: .5em; padding-left: .5em;
} }
h1:hover .headerlink,
h1:hover .headerlink, h2:hover .headerlink, h3:hover .headerlink, h4:hover .headerlink, h5:hover .headerlink, h6:hover .headerlink{ h2:hover .headerlink,
display:inline-block; h3:hover .headerlink,
h4:hover .headerlink,
h5:hover .headerlink,
h6:hover .headerlink{
display:inline-block;
} }
.admonition { .admonition {
padding: 15px; padding: 15px;
margin-bottom: 20px; margin-bottom: 20px;
border: 1px solid transparent; border: 1px solid transparent;
border-radius: 4px; border-radius: 4px;
text-align: left; text-align: left;
} }
.admonition.note { /* csslint allow: adjoining-classes */ .admonition.note { /* csslint allow: adjoining-classes */
color: #3a87ad; color: #3a87ad;
background-color: #d9edf7; background-color: #d9edf7;
border-color: #bce8f1; border-color: #bce8f1;
} }
.admonition.warning { /* csslint allow: adjoining-classes */ .admonition.warning { /* csslint allow: adjoining-classes */
color: #c09853; color: #c09853;
background-color: #fcf8e3; background-color: #fcf8e3;
border-color: #fbeed5; border-color: #fbeed5;
} }
.admonition.danger { /* csslint allow: adjoining-classes */ .admonition.danger { /* csslint allow: adjoining-classes */
color: #b94a48; color: #b94a48;
background-color: #f2dede; background-color: #f2dede;
border-color: #eed3d7; border-color: #eed3d7;
} }
.admonition-title { .admonition-title {
font-weight: bold; font-weight: bold;
text-align: left; text-align: left;
} }
.dropdown-submenu { .dropdown-submenu {
position: relative; position: relative;
} }
.dropdown-submenu>.dropdown-menu { .dropdown-submenu>.dropdown-menu {
top: 0; top: 0;
left: 100%; left: 100%;
margin-top: -6px; margin-top: -6px;
margin-left: -1px; margin-left: -1px;
-webkit-border-radius: 0 6px 6px 6px; border-radius: 0 6px 6px 6px;
-moz-border-radius: 0 6px 6px;
border-radius: 0 6px 6px 6px;
} }
.dropdown-submenu:hover>.dropdown-menu { .dropdown-submenu:hover>.dropdown-menu {
display: block; display: block;
} }
.dropdown-submenu>a:after { .dropdown-submenu>a:after {
display: block; display: block;
content: " "; content: " ";
float: right; float: right;
width: 0; width: 0;
height: 0; height: 0;
border-color: transparent; border-color: transparent;
border-style: solid; border-style: solid;
border-width: 5px 0 5px 5px; border-width: 5px 0 5px 5px;
border-left-color: #ccc; border-left-color: #ccc;
margin-top: 5px; margin-top: 5px;
margin-right: -10px; margin-right: -10px;
} }
.dropdown-submenu:hover>a:after { .dropdown-submenu:hover>a:after {
border-left-color: #fff; border-left-color: #fff;
} }
.dropdown-submenu.pull-left { /* csslint allow: adjoining-classes */ .dropdown-submenu.pull-left { /* csslint allow: adjoining-classes */
float: none; float: none;
} }
.dropdown-submenu.pull-left>.dropdown-menu { /* csslint allow: adjoining-classes */ .dropdown-submenu.pull-left>.dropdown-menu { /* csslint allow: adjoining-classes */
left: -100%; left: -100%;
margin-left: 10px; margin-left: 10px;
-webkit-border-radius: 6px 0 6px 6px; border-radius: 6px 0 6px 6px;
-moz-border-radius: 6px 0 6px 6px; }
border-radius: 6px 0 6px 6px; /* mods kyopages */
.navbar-default {
background-image: linear-gradient( hsl(200,80%,45%), hsl(200,80%,25%) );
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
color: #fff;
background-color: #178acc;
background-color: hsl(200,80%,35%);
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
color: #fff;
background-color: #178acc;
background-color: hsl(200,80%,45%);
}
a {
color: hsl(200,80%,45%);
}
a:visited {
color: hsl(200,80%,25%);
} }

File diff suppressed because one or more lines are too long

6063
theme/mkdocs/css/bootstrap-mod.css vendored Normal file

File diff suppressed because it is too large Load Diff

246
theme/mkdocs/css/normalize.css vendored Normal file
View File

@ -0,0 +1,246 @@
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block
}
audio,
canvas,
video {
display: inline-block
}
audio:not([controls]) {
display: none;
height: 0
}
[hidden],
template {
display: none
}
html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%
}
body {
margin: 0
}
a {
background: transparent
}
a:focus {
outline: thin dotted
}
a:active,
a:hover {
outline: 0
}
h1 {
margin: .67em 0;
font-size: 2em
}
abbr[title] {
border-bottom: 1px dotted
}
b,
strong {
font-weight: bold
}
dfn {
font-style: italic
}
hr {
height: 0;
-moz-box-sizing: content-box;
box-sizing: content-box
}
mark {
color: #000;
background: #ff0
}
code,
kbd,
pre,
samp {
font-family: monospace, serif;
font-size: 1em
}
pre {
white-space: pre-wrap
}
q {
quotes: "\201C" "\201D" "\2018" "\2019"
}
small {
font-size: 80%
}
sub,
sup {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline
}
sup {
top: -0.5em
}
sub {
bottom: -0.25em
}
img {
border: 0
}
svg:not(:root) {
overflow: hidden
}
figure {
margin: 0
}
fieldset {
padding: .35em .625em .75em;
margin: 0 2px;
border: 1px solid #c0c0c0
}
legend {
padding: 0;
border: 0
}
button,
input,
select,
textarea {
margin: 0;
font-family: inherit;
font-size: 100%
}
button,
input {
line-height: normal
}
button,
select {
text-transform: none
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
cursor: pointer;
-webkit-appearance: button
}
button[disabled],
html input[disabled] {
cursor: default
}
input[type="checkbox"],
input[type="radio"] {
padding: 0;
box-sizing: border-box
}
input[type="search"] {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
-webkit-appearance: textfield
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none
}
button::-moz-focus-inner,
input::-moz-focus-inner {
padding: 0;
border: 0
}
textarea {
overflow: auto;
vertical-align: top
}
table {
border-collapse: collapse;
border-spacing: 0
}
@media print {
* {
color: #000!important;
text-shadow: none!important;
background: transparent!important;
box-shadow: none!important
}
a,
a:visited {
text-decoration: underline
}
a[href]:after {
content: " (" attr(href) ")"
}
abbr[title]:after {
content: " (" attr(title) ")"
}
a[href^="javascript:"]:after,
a[href^="#"]:after {
content: ""
}
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid
}
thead {
display: table-header-group
}
tr,
img {
page-break-inside: avoid
}
img {
max-width: 100%!important
}
@page {
margin: 2cm .5cm
}
p,
h2,
h3 {
orphans: 3;
widows: 3
}
h2,
h3 {
page-break-after: avoid
}
select {
background: #fff!important
}
.navbar {
display: none
}
.table td,
.table th {
background-color: #fff!important
}
.btn>.caret,
.dropup>.btn>.caret {
border-top-color: #000!important
}
.label {
border: 1px solid #000
}
.table {
border-collapse: collapse!important
}
.table-bordered th,
.table-bordered td {
border: 1px solid #ddd!important
}
}