1pre {
2    white-space: pre-wrap;       /* css-3 */
3    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
4    white-space: -pre-wrap;      /* Opera 4-6 */
5    white-space: -o-pre-wrap;    /* Opera 7 */
6    word-wrap: break-word;
7}
8
9.wy-table-responsive table td, .wy-table-responsive table th {
10    white-space: normal;
11}
12.rst-content table.docutils td {
13    vertical-align: top;
14}
15
16/* links */
17.rst-content a:not(:visited) {
18    color: #002fa7;
19}
20
21.rst-content .highlighted {
22    background: #eac545;
23}
24
25/* code block highlights */
26.rst-content pre {
27    background: #fafafa;
28}
29
30.wy-side-nav-search img.logo {
31    width: 100px !important;
32    padding: 0;
33}
34
35.wy-side-nav-search > a {
36    padding: 0;
37    margin: 0;
38}
39
40/* project version (displayed under project logo) */
41.wy-side-nav-search .version {
42    color: #272525 !important;
43}
44
45/* menu section headers */
46.wy-menu .caption {
47    color: #65afff !important;
48}
49
50/* Link to Remix IDE shown next to code snippets */
51p.remix-link-container {
52    position: relative;
53    right: -100%;        /* Positioned next to the the top-right corner of the code block following it. */
54}
55
56a.remix-link {
57    position: absolute;  /* Remove it from normal flow not to affect the original position of the snippet. */
58    top: 0.5em;
59    width: 3.236em;      /* Size of the margin (= right-side padding in .wy-nav-content in the current theme). */
60}
61
62a.remix-link .link-icon {
63    background: url("../img/solid-share-arrow.svg") no-repeat;
64    display: block;
65    width: 1.5em;
66    height: 1.5em;
67    margin: auto;
68}
69
70a.remix-link .link-text {
71    display: none;       /* Visible only on hover. */
72    width: 3.3em;        /* Narrow enough to get two lines of text. */
73    margin: auto;
74    text-align: center;
75    font-size: 0.8em;
76    line-height: normal;
77    color: black;
78}
79
80a.remix-link:hover {
81    opacity: 0.5;
82}
83
84a.remix-link:hover .link-text {
85    display: block;
86}
87