custom.css 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. .main-menu {
  2. display: none !important;
  3. }
  4. .header-logo {
  5. background-image: url("../logo_macop.png") !important;
  6. }
  7. .pytorch-left-menu-search input[type="text"] {
  8. border-color: #009900 !important;
  9. }
  10. .pytorch-left-menu li.toctree-l1.current > a, .pytorch-right-menu li.toctree-l1.current > a {
  11. color: #009900 !important;
  12. }
  13. ul.pytorch-breadcrumbs a {
  14. color: #009900 !important;
  15. }
  16. .pytorch-left-menu-search .version {
  17. color: white !important;
  18. text-align: center !important;
  19. }
  20. a .btn {
  21. color: #009900 !important;
  22. }
  23. footer a {
  24. color: #009900 !important;
  25. }
  26. colgroup :first-child {
  27. width: 60% !important;
  28. }
  29. .rst-content a:link, .rst-content a:visited, .rst-content a:hover {
  30. color: #009900 !important;
  31. }
  32. .pre {
  33. color: #009900 !important;
  34. }
  35. .article.pytorch-article .function dt, article.pytorch-article .attribute dt, article.pytorch-article .class .attribute dt, article.pytorch-article .class dt {
  36. background-color: #bfbfbf !important;
  37. }
  38. .article.pytorch-article .class em.property {
  39. color: #404040 !important;
  40. }
  41. .article.pytorch-article .function dt em, article.pytorch-article .attribute dt em, article.pytorch-article .class .attribute dt em, article.pytorch-article .class dt em, article.pytorch-article .function dt .sig-paren, article.pytorch-article .attribute dt .sig-paren, article.pytorch-article .class dt .sig-paren {
  42. color: #404040 !important;
  43. }
  44. .article.pytorch-article .function dt:hover .viewcode-link, article.pytorch-article .attribute dt:hover .viewcode-link, article.pytorch-article .class dt:hover .viewcode-link {
  45. color: #009900 !important;
  46. }
  47. .article.pytorch-article .function dt > code, article.pytorch-article .attribute dt > code, article.pytorch-article .class .attribute dt > code, article.pytorch-article .class dt > code {
  48. color: #009900 !important;
  49. }
  50. .align-center {
  51. display: block;
  52. margin-left: auto;
  53. margin-right: auto;
  54. }