Adjust Colors for the Solidity Docs

This commit is contained in:
4molybdenum2
2021-10-07 16:23:30 +02:00
committed by Kamil Śliwak
parent 0043eca672
commit 551c3ae17a
4 changed files with 53 additions and 13 deletions
+34
View File
@@ -12,3 +12,37 @@ pre {
.rst-content table.docutils td {
vertical-align: top;
}
/* links */
.rst-content a:not(:visited) {
color: #002fa7;
}
.rst-content .highlighted {
background: #eac545;
}
/* code block highlights */
.rst-content pre {
background: #fafafa;
}
.wy-side-nav-search img.logo {
width: 100px !important;
padding: 0;
}
.wy-side-nav-search > a {
padding: 0;
margin: 0;
}
/* project version (displayed under project logo) */
.wy-side-nav-search .version {
color: #272525 !important;
}
/* menu section headers */
.wy-menu .caption {
color: #65afff !important;
}
+12 -5
View File
@@ -1,11 +1,9 @@
/* links */
a,
a:visited {
color: #aaddff;
.rst-content a:not(:visited) {
color: #aaddff !important;
}
/* code directives */
.method dt,
@@ -46,6 +44,9 @@ em.property {
background-color: #5a5a5a;
}
.rst-content pre {
background: none;
}
/* inlined code highlights */
@@ -70,6 +71,12 @@ code.docutils.literal.notranslate {
color: #ddd;
}
/* highlight color search text */
.rst-content .highlighted {
background: #ff5722;
box-shadow: 0 0 0 2px #f0978b;
}
/* notes, warnings, hints */
@@ -619,4 +626,4 @@ code.docutils.literal.notranslate {
}
/* Literal.Number.Integer.Long */
/* Literal.Number.Integer.Long */