mirror of
https://github.com/corda/corda.git
synced 2025-02-21 09:51:57 +00:00
Modified CSS to bring docs theme into alignment with R3 corporate theme and corda.net website aesthetics.
Signed-off-by: David Lee <david.lee@r3cev.com>
This commit is contained in:
parent
859542b2df
commit
5718bf9fdf
@ -1,35 +1,159 @@
|
|||||||
@import "theme.css";
|
@import "theme.css";
|
||||||
|
/* Highlights */
|
||||||
|
|
||||||
.highlight .k, .highlight .kd {
|
.highlight .k,
|
||||||
color: blue;
|
.highlight .kd {
|
||||||
|
color: #263673;
|
||||||
}
|
}
|
||||||
|
|
||||||
.codesnippet-widgets {
|
/* Text */
|
||||||
min-width: 100%;
|
body,
|
||||||
display: block;
|
h1,
|
||||||
background: lightskyblue;
|
h2,
|
||||||
color: white;
|
.rst-content .toctree-wrapper p.caption,
|
||||||
padding: 10px 0;
|
h3,
|
||||||
margin: 0 0 -1px 0;
|
h4,
|
||||||
}
|
h5,
|
||||||
|
h6,
|
||||||
.codesnippet-widgets > span {
|
legend,
|
||||||
padding: 10px;
|
input{
|
||||||
cursor: pointer;
|
color:#010101;
|
||||||
}
|
letter-spacing:0.3px
|
||||||
|
|
||||||
.codesnippet-widgets > .current {
|
|
||||||
background: deepskyblue;
|
|
||||||
}
|
|
||||||
|
|
||||||
.codeset > .highlight-java {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wy-nav-content {
|
|
||||||
max-width: 1000px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
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{
|
||||||
|
color: #263673
|
||||||
|
}
|
||||||
|
a:hover{
|
||||||
|
color: #005CAB
|
||||||
|
}
|
||||||
|
a:visited{
|
||||||
|
color:#ADAFB3
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Side navigation bar */
|
||||||
|
|
||||||
|
.wy-side-nav-search{
|
||||||
|
background-color:#010101;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.wy-side-nav-search a.icon-home{
|
||||||
|
color:transparent;
|
||||||
|
background-image:url('../images/fg002_corda_w3.png');
|
||||||
|
background-repeat:no-repeat;
|
||||||
|
background-size: Auto 20px;
|
||||||
|
background-position:center top;
|
||||||
|
background-origin:content box;
|
||||||
|
height:20px;
|
||||||
|
width:100%
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.wy-side-nav-search input[type=text]{
|
||||||
|
border-radius:5px
|
||||||
|
}
|
||||||
|
|
||||||
|
.wy-menu-vertical a:hover{
|
||||||
|
background-color: #ADAFB3;
|
||||||
|
color:#FFF
|
||||||
|
}
|
||||||
|
|
||||||
|
.wy-nav-content{
|
||||||
|
background-color:#fff
|
||||||
|
max-width: 1000px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wy-nav-side{
|
||||||
|
background:#010101
|
||||||
|
}
|
||||||
|
/* 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
|
||||||
|
{
|
||||||
|
font-size:1.1em;
|
||||||
|
color:#EC1D24;
|
||||||
|
text-transform:none;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Code snippets */
|
||||||
|
|
||||||
|
.codesnippet-widgets {
|
||||||
|
min-width: 100%;
|
||||||
|
display: block;
|
||||||
|
background: #005CAB;
|
||||||
|
color: white;
|
||||||
|
padding: 10px 0;
|
||||||
|
margin: 0 0 -1px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.codesnippet-widgets > span {
|
||||||
|
padding: 10px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.codesnippet-widgets > .current {
|
||||||
|
background: #263673;
|
||||||
|
}
|
||||||
|
|
||||||
|
.codeset > .highlight-java {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Notification boxes */
|
||||||
|
.wy-alert.wy-alert-warning .wy-alert-title,
|
||||||
|
.rst-content .wy-alert-warning.note .wy-alert-title,
|
||||||
|
.rst-content .attention .wy-alert-title,
|
||||||
|
.rst-content .caution .wy-alert-title,
|
||||||
|
.rst-content .wy-alert-warning.danger .wy-alert-title,
|
||||||
|
.rst-content .wy-alert-warning.error .wy-alert-title,
|
||||||
|
.rst-content .wy-alert-warning.hint .wy-alert-title,
|
||||||
|
.rst-content .wy-alert-warning.important .wy-alert-title,
|
||||||
|
.rst-content .wy-alert-warning.tip .wy-alert-title,
|
||||||
|
.rst-content .warning .wy-alert-title,
|
||||||
|
.rst-content .wy-alert-warning.seealso .wy-alert-title,
|
||||||
|
.rst-content .admonition-todo .wy-alert-title,
|
||||||
|
.wy-alert.wy-alert-warning .rst-content .admonition-title,
|
||||||
|
.rst-content .wy-alert.wy-alert-warning .admonition-title,
|
||||||
|
.rst-content .wy-alert-warning.note .admonition-title,
|
||||||
|
.rst-content .attention .admonition-title,
|
||||||
|
.rst-content .caution .admonition-title, .rst-content
|
||||||
|
.wy-alert-warning.danger .admonition-title,
|
||||||
|
.rst-content .wy-alert-warning.error .admonition-title,
|
||||||
|
.rst-content .wy-alert-warning.hint .admonition-title,
|
||||||
|
.rst-content .wy-alert-warning.important .admonition-title,
|
||||||
|
.rst-content .wy-alert-warning.tip .admonition-title,
|
||||||
|
.rst-content .warning .admonition-title,
|
||||||
|
.rst-content .wy-alert-warning.seealso .admonition-title,
|
||||||
|
.rst-content .admonition-todo .admonition-title{
|
||||||
|
background-color: #263673
|
||||||
|
}
|
||||||
|
|
||||||
|
.wy-alert,
|
||||||
|
.rst-content .note,
|
||||||
|
.rst-content .attention,
|
||||||
|
.rst-content .caution,
|
||||||
|
.rst-content .danger,
|
||||||
|
.rst-content .error,
|
||||||
|
.rst-content .hint,
|
||||||
|
.rst-content .important,
|
||||||
|
.rst-content .tip,
|
||||||
|
.rst-content .warning,
|
||||||
|
.rst-content .seealso,
|
||||||
|
.rst-content .admonition-todo{
|
||||||
|
background-color:#d9e5ef
|
||||||
|
}
|
||||||
|
|
||||||
|
BIN
docs/source/_static/images/fg002_corda_w3.png
Normal file
BIN
docs/source/_static/images/fg002_corda_w3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
Loading…
x
Reference in New Issue
Block a user