Added viewcode plugin for source code visualization within the static website.

This commit is contained in:
LysandreJik
2019-07-09 17:01:56 -04:00
parent 83fb311ef7
commit 331db8cc02
3 changed files with 17 additions and 5 deletions

View File

@@ -1,12 +1,12 @@
.highlight .c1{
.highlight .c1, .highlight .sd{
color: #999
}
.highlight .nn, .highlight .k, .highlight .s1, .highlight .nb, .highlight .bp {
.highlight .nn, .highlight .k, .highlight .s1, .highlight .nb, .highlight .bp, .highlight .kc {
color: #FB8D68;
}
.highlight .kn, .highlight .nv, .highlight .s2 {
.highlight .kn, .highlight .nv, .highlight .s2, .highlight .ow {
color: #6670FF;
}

View File

@@ -104,6 +104,18 @@ a {
background-color: #6670FF;
}
/* Source spans */
.rst-content .viewcode-link, .rst-content .viewcode-back{
color: #6670FF;
font-size: 110%;
letter-spacing: 2px;
text-transform: uppercase;
}
/* FONTS */
body{
font-family: Calibre;