custom.css 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. .main-menu {
  2. display: none !important;
  3. }
  4. .header-logo {
  5. background-image: url("../logo_macop.png") !important;
  6. }
  7. @media only screen and (max-width: 900px) {
  8. .header-logo {
  9. background-size: 93px 30px !important;
  10. height: 33px !important;
  11. margin-top: 1px !important;
  12. }
  13. }
  14. .pytorch-left-menu-search input[type="text"] {
  15. border-color: #009900 !important;
  16. }
  17. .pytorch-left-menu li.toctree-l1.current > a, .pytorch-right-menu li.toctree-l1.current > a {
  18. color: #009900 !important;
  19. }
  20. ul.pytorch-breadcrumbs a {
  21. color: #009900 !important;
  22. }
  23. .pytorch-left-menu-search .version {
  24. color: white !important;
  25. text-align: center !important;
  26. }
  27. a .btn {
  28. color: #009900 !important;
  29. }
  30. footer a {
  31. color: #009900 !important;
  32. }
  33. div[id=api] colgroup :first-child {
  34. width: 60% !important;
  35. }
  36. table.docutils colgroup :first-child {
  37. width: 60% !important;
  38. }
  39. table.colwidths-given colgroup :first-child {
  40. width: 30% !important;
  41. }
  42. .rst-content a:link, .rst-content a:visited, .rst-content a:hover {
  43. color: #009900 !important;
  44. }
  45. .pre {
  46. color: #009900 !important;
  47. }
  48. .article.pytorch-article .function dt, article.pytorch-article .attribute dt, article.pytorch-article .class .attribute dt, article.pytorch-article .class dt {
  49. background-color: #bfbfbf !important;
  50. }
  51. .article.pytorch-article .class em.property {
  52. color: #404040 !important;
  53. }
  54. .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 {
  55. color: #404040 !important;
  56. }
  57. .article.pytorch-article .function dt:hover .viewcode-link, article.pytorch-article .attribute dt:hover .viewcode-link, article.pytorch-article .class dt:hover .viewcode-link {
  58. color: #009900 !important;
  59. }
  60. .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 {
  61. color: #009900 !important;
  62. }
  63. .align-center {
  64. display: block;
  65. margin-left: auto;
  66. margin-right: auto;
  67. }
  68. .tutorials-header .main-menu-open-button {
  69. display: none !important;
  70. }