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,
@ -16,81 +19,82 @@ h4,
h5, h5,
h6, h6,
legend, legend,
input{ input {
color:#010101; color: #010101;
letter-spacing:0.3px letter-spacing: 0.3px
} }
p { 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 */
a{ /* Links */
a {
color: #263673 color: #263673
} }
a:hover{
a:hover {
color: #005CAB color: #005CAB
} }
a:visited{
color:#ADAFB3 a:visited {
color: #ADAFB3
} }
/* Side navigation bar */
.wy-side-nav-search{ /* Side navigation bar */
background-color:#010101;
.wy-side-nav-search {
background-color: #252627;
} }
.wy-side-nav-search a.icon-home{ .wy-side-nav-search a.icon-home {
color:transparent; color: transparent;
background-image:url('../images/fg002_corda_w3.png'); background-image: url('../images/fg002_corda_w3.png');
background-repeat:no-repeat; background-repeat: no-repeat;
background-size: Auto 20px; background-size: Auto 20px;
background-position:center top; background-position: center top;
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] {
border-radius:5px border-radius: 5px
} }
.wy-menu-vertical a:hover{ .wy-menu-vertical a:hover {
background-color: #ADAFB3; background-color: #ADAFB3;
color:#FFF color: #FFF
} }
.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 */
.rst-content tt.literal, .rst-content tt.literal, .rst-content code.literal
{
color:#EC1D24;
text-transform:none;
} }
.wy-menu-vertical header, .wy-menu-vertical p.caption /* Navigation headers */
{
font-size:1.1em; .rst-content tt.literal,
color:#EC1D24; .rst-content tt.literal,
text-transform:none; .rst-content code.literal {
background-color: #3C3C3E; color: #EC1D24;
padding: 0 0.5em; text-transform: none;
margin-top: 0.5em;
} }
/* Code snippets */ .wy-menu-vertical header,
.wy-menu-vertical p.caption {
color: #EC1D24;
}
/* Code snippets */
.codesnippet-widgets { .codesnippet-widgets {
min-width: 100%; min-width: 100%;
@ -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,15 +137,15 @@ 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,
.rst-content .wy-alert-warning.tip .admonition-title, .rst-content .wy-alert-warning.tip .admonition-title,
.rst-content .warning .admonition-title, .rst-content .warning .admonition-title,
.rst-content .wy-alert-warning.seealso .admonition-title, .rst-content .wy-alert-warning.seealso .admonition-title,
.rst-content .admonition-todo .admonition-title{ .rst-content .admonition-todo .admonition-title {
background-color: #263673 background-color: #263673
} }
@ -155,7 +160,22 @@ a:visited{
.rst-content .tip, .rst-content .tip,
.rst-content .warning, .rst-content .warning,
.rst-content .seealso, .rst-content .seealso,
.rst-content .admonition-todo{ .rst-content .admonition-todo {
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;
}