|
60 | 60 | --code-border: rgba(0, 0, 0, 0.05); |
61 | 61 | --code-text: #1d1d1f; |
62 | 62 | --inline-code-bg: rgba(var(--md-primary-fg-color--rgb), 0.1); |
| 63 | + |
| 64 | + /* ReadTheDocs Addons Overrides */ |
| 65 | + --readthedocs-flyout-font-size: 13px; |
| 66 | + --readthedocs-flyout-z-index: 500; |
63 | 67 | } |
64 | 68 |
|
65 | 69 | /* ========================================================================== |
@@ -1176,87 +1180,3 @@ h2 { |
1176 | 1180 | [data-md-color-scheme="city2graph-dark"] .md-typeset ol li a:hover { |
1177 | 1181 | color: var(--link-hover-color) !important; |
1178 | 1182 | } |
1179 | | - |
1180 | | -/* ========================================================================== |
1181 | | - 17. READTHEDOCS OVERRIDES |
1182 | | - ========================================================================== */ |
1183 | | - |
1184 | | -/* Fix for oversized RTD flyout */ |
1185 | | -.rst-versions { |
1186 | | - font-size: 12px !important; |
1187 | | - line-height: 1.2 !important; |
1188 | | - width: auto !important; |
1189 | | - max-width: 300px !important; |
1190 | | - z-index: 99999 !important; |
1191 | | - position: fixed !important; |
1192 | | - bottom: 0 !important; |
1193 | | - right: 0 !important; |
1194 | | - font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif !important; |
1195 | | - background-color: #2980b9 !important; /* Default RTD color to ensure visibility */ |
1196 | | - color: #fcfcfc !important; |
1197 | | - box-shadow: 0 0 10px rgba(0,0,0,0.2) !important; |
1198 | | -} |
1199 | | - |
1200 | | -/* Reset all children to avoid inheriting theme styles */ |
1201 | | -.rst-versions * { |
1202 | | - font-size: 12px !important; |
1203 | | - line-height: normal !important; |
1204 | | - box-sizing: border-box !important; |
1205 | | -} |
1206 | | - |
1207 | | -.rst-versions .rst-badge { |
1208 | | - background: none !important; |
1209 | | - color: inherit !important; |
1210 | | - display: inline-block !important; |
1211 | | - padding: 8px !important; |
1212 | | - font-family: inherit !important; |
1213 | | -} |
1214 | | - |
1215 | | -.rst-versions .rst-current-version { |
1216 | | - background-color: #2980b9 !important; |
1217 | | - color: #fcfcfc !important; |
1218 | | - padding: 8px 12px !important; |
1219 | | - display: block !important; |
1220 | | - text-align: right !important; |
1221 | | - cursor: pointer !important; |
1222 | | -} |
1223 | | - |
1224 | | -/* Dropdown styling */ |
1225 | | -.rst-versions .rst-other-versions { |
1226 | | - font-size: 12px !important; |
1227 | | - padding: 12px !important; |
1228 | | - background-color: #1a1a1a !important; /* Dark background for dropdown */ |
1229 | | - color: #fcfcfc !important; |
1230 | | - display: none; /* Controlled by JS, but set base styles */ |
1231 | | - text-align: left !important; |
1232 | | -} |
1233 | | - |
1234 | | -.rst-versions.shift-up .rst-other-versions { |
1235 | | - display: block !important; |
1236 | | -} |
1237 | | - |
1238 | | -.rst-versions .rst-other-versions dl { |
1239 | | - margin-bottom: 0 !important; |
1240 | | -} |
1241 | | - |
1242 | | -.rst-versions .rst-other-versions dt { |
1243 | | - color: #888 !important; |
1244 | | - font-weight: bold !important; |
1245 | | - margin: 5px 0 !important; |
1246 | | -} |
1247 | | - |
1248 | | -.rst-versions .rst-other-versions dd { |
1249 | | - display: inline-block !important; |
1250 | | - margin-left: 0 !important; |
1251 | | - margin-right: 5px !important; |
1252 | | -} |
1253 | | - |
1254 | | -.rst-versions .rst-other-versions a { |
1255 | | - color: #2980b9 !important; |
1256 | | - text-decoration: none !important; |
1257 | | - padding: 2px 4px !important; |
1258 | | -} |
1259 | | - |
1260 | | -.rst-versions .rst-other-versions a:hover { |
1261 | | - color: #4096ee !important; |
1262 | | -} |
0 commit comments