mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adjust Colors for the Solidity Docs
This commit is contained in:
committed by
Kamil Śliwak
parent
0043eca672
commit
551c3ae17a
Vendored
+34
@@ -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;
|
||||
}
|
||||
|
||||
Vendored
+12
-5
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user