1/* These are hacks on top of pytorch-sphinx-theme to fix random problems when 2it is applied to C++ docs */ 3 4/* Fix clickable types floating to the right */ 5a.reference.internal { 6 position: static !important; 7} 8 9/* Clickable links should have a underline */ 10a.reference.internal:hover { 11 text-decoration: underline !important; 12} 13 14/* Non-clickable type properties should match C++ syntax and be black */ 15.function em.property { 16 text-transform: none !important; 17 color: #262626 !important; 18} 19 20/* This was broken for some reason and wasn't using the right font */ 21.function a.anchorjs-link { 22 font-family: anchorjs-icons !important; 23} 24/* Prevents keywords from overlapping */ 25article.pytorch-article .class dt em.property { 26 position: initial !important; 27} 28 29/* Properly aligns keywords the left */ 30article.pytorch-article .class dt { 31 padding-left: 0.5em !important; 32} 33