Merged in docsite-theme-fix (pull request #578)

This commit is contained in:
Andrius Dagys 2016-11-29 14:48:33 +00:00
commit b73116ff1b

View File

@ -1,4 +1,5 @@
@import "theme.css"; @import "theme.css";
/* Highlights */ /* Highlights */
.highlight .k, .highlight .k,
@ -6,7 +7,9 @@
color: #263673; color: #263673;
} }
/* Text */ /* Text */
body, body,
h1, h1,
h2, h2,
@ -25,22 +28,26 @@ p {
font-size: 100%; /* Get rid of RTD rule that assumes nobody changes their browser font size */ font-size: 100%; /* Get rid of RTD rule that assumes nobody changes their browser font size */
} }
/* Links */ /* Links */
a { a {
color: #263673 color: #263673
} }
a:hover { a:hover {
color: #005CAB color: #005CAB
} }
a:visited { a:visited {
color: #ADAFB3 color: #ADAFB3
} }
/* Side navigation bar */ /* Side navigation bar */
.wy-side-nav-search { .wy-side-nav-search {
background-color:#010101; background-color: #252627;
} }
.wy-side-nav-search a.icon-home { .wy-side-nav-search a.icon-home {
@ -52,7 +59,6 @@ a:visited{
background-origin: content box; background-origin: content box;
height: 20px; height: 20px;
width: 100% width: 100%
} }
.wy-side-nav-search input[type=text] { .wy-side-nav-search input[type=text] {
@ -65,31 +71,29 @@ a:visited{
} }
.wy-nav-content { .wy-nav-content {
background-color:#fff background-color: #fff max-width: 1000px;
max-width: 1000px;
} }
.wy-nav-side { .wy-nav-side {
background:#010101 background-color: #252627;
} }
/* Navigation headers */ /* Navigation headers */
.rst-content tt.literal, .rst-content tt.literal, .rst-content code.literal
{ .rst-content tt.literal,
.rst-content tt.literal,
.rst-content code.literal {
color: #EC1D24; color: #EC1D24;
text-transform: none; text-transform: none;
} }
.wy-menu-vertical header,
.wy-menu-vertical header, .wy-menu-vertical p.caption .wy-menu-vertical p.caption {
{
font-size:1.1em;
color: #EC1D24; color: #EC1D24;
text-transform:none;
background-color: #3C3C3E;
padding: 0 0.5em;
margin-top: 0.5em;
} }
/* Code snippets */ /* Code snippets */
.codesnippet-widgets { .codesnippet-widgets {
@ -116,6 +120,7 @@ a:visited{
/* Notification boxes */ /* Notification boxes */
.wy-alert.wy-alert-warning .wy-alert-title, .wy-alert.wy-alert-warning .wy-alert-title,
.rst-content .wy-alert-warning.note .wy-alert-title, .rst-content .wy-alert-warning.note .wy-alert-title,
.rst-content .attention .wy-alert-title, .rst-content .attention .wy-alert-title,
@ -132,8 +137,8 @@ a:visited{
.rst-content .wy-alert.wy-alert-warning .admonition-title, .rst-content .wy-alert.wy-alert-warning .admonition-title,
.rst-content .wy-alert-warning.note .admonition-title, .rst-content .wy-alert-warning.note .admonition-title,
.rst-content .attention .admonition-title, .rst-content .attention .admonition-title,
.rst-content .caution .admonition-title, .rst-content .rst-content .caution .admonition-title,
.wy-alert-warning.danger .admonition-title, .rst-content .wy-alert-warning.danger .admonition-title,
.rst-content .wy-alert-warning.error .admonition-title, .rst-content .wy-alert-warning.error .admonition-title,
.rst-content .wy-alert-warning.hint .admonition-title, .rst-content .wy-alert-warning.hint .admonition-title,
.rst-content .wy-alert-warning.important .admonition-title, .rst-content .wy-alert-warning.important .admonition-title,
@ -159,3 +164,18 @@ a:visited{
background-color: #d9e5ef background-color: #d9e5ef
} }
/* Mobile view */
.wy-nav-top {
background-color: #252627;
}
.wy-nav-top a {
color: transparent;
background-image: url('../images/fg002_corda_w3.png');
background-repeat: no-repeat;
background-size: Auto 19px;
background-position: center top;
background-origin: content box;
}