solidity/docs/_static/css/custom.css

87 lines
1.9 KiB
CSS
Raw Normal View History

pre {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word;
}
.wy-table-responsive table td, .wy-table-responsive table th {
white-space: normal;
}
2018-08-09 20:42:19 +00:00
.rst-content table.docutils td {
vertical-align: top;
}
2021-09-10 10:16:43 +00:00
/* 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;
}
/* Link to Remix IDE shown next to code snippets */
p.remix-link-container {
position: relative;
right: -100%; /* Positioned next to the the top-right corner of the code block following it. */
}
a.remix-link {
position: absolute; /* Remove it from normal flow not to affect the original position of the snippet. */
top: 0.5em;
width: 3.236em; /* Size of the margin (= right-side padding in .wy-nav-content in the current theme). */
}
a.remix-link .link-icon {
background: url("../img/share-solid.svg") no-repeat;
display: block;
width: 1.5em;
height: 1.5em;
margin: auto;
2021-09-10 10:16:43 +00:00
}
a.remix-link .link-text {
display: none; /* Visible only on hover. */
width: 3.3em; /* Narrow enough to get two lines of text. */
margin: auto;
text-align: center;
font-size: 0.8em;
line-height: normal;
color: black;
}
a.remix-link:hover {
opacity: 0.5;
}
a.remix-link:hover .link-text {
display: block;
}