|
| 1 | +/* Custom CSS to override Sphinx RTD theme blue colors with green */ |
| 2 | + |
| 3 | +/* Links - change from blue to green */ |
| 4 | +a { |
| 5 | + color: #61EB4C !important; |
| 6 | +} |
| 7 | + |
| 8 | +a:visited { |
| 9 | + color: #4FC73A !important; |
| 10 | +} |
| 11 | + |
| 12 | +a:hover { |
| 13 | + color: #7FFF4D !important; |
| 14 | +} |
| 15 | + |
| 16 | +/* Reference links */ |
| 17 | +a.reference { |
| 18 | + color: #61EB4C !important; |
| 19 | +} |
| 20 | + |
| 21 | +a.reference:hover { |
| 22 | + color: #7FFF4D !important; |
| 23 | +} |
| 24 | + |
| 25 | +/* Internal references */ |
| 26 | +a.reference.internal { |
| 27 | + color: #61EB4C !important; |
| 28 | +} |
| 29 | + |
| 30 | +a.reference.internal:hover { |
| 31 | + color: #7FFF4D !important; |
| 32 | + text-decoration: underline; |
| 33 | +} |
| 34 | + |
| 35 | +/* External references */ |
| 36 | +a.reference.external { |
| 37 | + color: #61EB4C !important; |
| 38 | +} |
| 39 | + |
| 40 | +a.reference.external:hover { |
| 41 | + color: #7FFF4D !important; |
| 42 | +} |
| 43 | + |
| 44 | +/* Code references */ |
| 45 | +a.code { |
| 46 | + color: #61EB4C !important; |
| 47 | +} |
| 48 | + |
| 49 | +a.code:hover { |
| 50 | + color: #7FFF4D !important; |
| 51 | +} |
| 52 | + |
| 53 | +/* Header links */ |
| 54 | +h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { |
| 55 | + color: #61EB4C !important; |
| 56 | +} |
| 57 | + |
| 58 | +h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { |
| 59 | + color: #7FFF4D !important; |
| 60 | +} |
| 61 | + |
| 62 | +/* RTD theme specific - sidebar and navigation */ |
| 63 | +/* Note: nav header background is set via html_theme_options['style_nav_header_background'] in conf.py */ |
| 64 | + |
| 65 | +.wy-side-nav-search > a { |
| 66 | + color: #000000 !important; |
| 67 | +} |
| 68 | + |
| 69 | +.wy-menu-vertical a { |
| 70 | + color: #61EB4C !important; |
| 71 | +} |
| 72 | + |
| 73 | +.wy-menu-vertical a:hover { |
| 74 | + color: #7FFF4D !important; |
| 75 | + background-color: rgba(97, 235, 76, 0.1) !important; |
| 76 | +} |
| 77 | + |
| 78 | +.wy-menu-vertical li.current > a { |
| 79 | + color: #61EB4C !important; |
| 80 | + background-color: rgba(97, 235, 76, 0.15) !important; |
| 81 | +} |
| 82 | + |
| 83 | +.wy-menu-vertical li.toctree-l1.current > a { |
| 84 | + border-right: 3px solid #61EB4C !important; |
| 85 | +} |
| 86 | + |
| 87 | +/* Version selector */ |
| 88 | +.rst-versions .rst-current-version { |
| 89 | + background-color: #61EB4C !important; |
| 90 | +} |
| 91 | + |
| 92 | +/* Code blocks - syntax highlighting links */ |
| 93 | +.highlight a { |
| 94 | + color: #61EB4C !important; |
| 95 | +} |
| 96 | + |
| 97 | +/* Table of contents links */ |
| 98 | +.toctree-wrapper a { |
| 99 | + color: #61EB4C !important; |
| 100 | +} |
| 101 | + |
| 102 | +.toctree-wrapper a:hover { |
| 103 | + color: #7FFF4D !important; |
| 104 | +} |
| 105 | + |
| 106 | +/* Search results */ |
| 107 | +.search li a { |
| 108 | + color: #61EB4C !important; |
| 109 | +} |
| 110 | + |
| 111 | +.search li a:hover { |
| 112 | + color: #7FFF4D !important; |
| 113 | +} |
| 114 | + |
| 115 | +/* Breadcrumbs */ |
| 116 | +.breadcrumbs a { |
| 117 | + color: #61EB4C !important; |
| 118 | +} |
| 119 | + |
| 120 | +.breadcrumbs a:hover { |
| 121 | + color: #7FFF4D !important; |
| 122 | +} |
| 123 | + |
| 124 | +/* Footer links */ |
| 125 | +.footer a { |
| 126 | + color: #61EB4C !important; |
| 127 | +} |
| 128 | + |
| 129 | +.footer a:hover { |
| 130 | + color: #7FFF4D !important; |
| 131 | +} |
| 132 | + |
| 133 | +/* Admonitions - info boxes (usually blue) */ |
| 134 | +.admonition { |
| 135 | + border-left-color: #61EB4C !important; |
| 136 | +} |
| 137 | + |
| 138 | +.admonition-title { |
| 139 | + background-color: rgba(97, 235, 76, 0.1) !important; |
| 140 | + color: #61EB4C !important; |
| 141 | +} |
| 142 | + |
| 143 | +.admonition.note { |
| 144 | + border-left-color: #61EB4C !important; |
| 145 | +} |
| 146 | + |
| 147 | +.admonition.note .admonition-title { |
| 148 | + background-color: rgba(97, 235, 76, 0.1) !important; |
| 149 | + color: #61EB4C !important; |
| 150 | +} |
| 151 | + |
| 152 | +/* View source links */ |
| 153 | +.viewcode-link { |
| 154 | + color: #61EB4C !important; |
| 155 | +} |
| 156 | + |
| 157 | +.viewcode-link:hover { |
| 158 | + color: #7FFF4D !important; |
| 159 | +} |
| 160 | + |
| 161 | +/* Download links */ |
| 162 | +.download a { |
| 163 | + color: #61EB4C !important; |
| 164 | +} |
| 165 | + |
| 166 | +.download a:hover { |
| 167 | + color: #7FFF4D !important; |
| 168 | +} |
| 169 | + |
| 170 | +/* Button-like elements */ |
| 171 | +.btn { |
| 172 | + background-color: #61EB4C !important; |
| 173 | + border-color: #61EB4C !important; |
| 174 | + color: #000000 !important; |
| 175 | +} |
| 176 | + |
| 177 | +.btn:hover { |
| 178 | + background-color: #7FFF4D !important; |
| 179 | + border-color: #7FFF4D !important; |
| 180 | +} |
| 181 | + |
| 182 | +/* Signature/parameter links */ |
| 183 | +.sig-name { |
| 184 | + color: #61EB4C !important; |
| 185 | +} |
| 186 | + |
| 187 | +/* Any other blue accents */ |
| 188 | +[style*="blue"], [style*="#2980B9"], [style*="#0066CC"] { |
| 189 | + color: #61EB4C !important; |
| 190 | +} |
| 191 | + |
0 commit comments