pytorch_theme.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. body {
  2. font-family: "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;
  3. }
  4. /* Default header fonts are ugly */
  5. h1, h2, .rst-content .toctree-wrapper p.caption, h3, h4, h5, h6, legend, p.caption {
  6. font-family: "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;
  7. }
  8. /* Use white for docs background */
  9. .wy-side-nav-search {
  10. background-color: #fff;
  11. }
  12. .wy-nav-content-wrap, .wy-menu li.current > a {
  13. background-color: #fff;
  14. }
  15. @media screen and (min-width: 1400px) {
  16. .wy-nav-content-wrap {
  17. background-color: rgba(0, 0, 0, 0.0470588);
  18. }
  19. .wy-nav-content {
  20. background-color: #fff;
  21. }
  22. }
  23. /* Fixes for mobile */
  24. .wy-nav-top {
  25. background-color: #fff;
  26. background-image: url('../img/apex.jpg');
  27. background-repeat: no-repeat;
  28. background-position: center;
  29. padding: 0;
  30. margin: 0.4045em 0.809em;
  31. color: #333;
  32. }
  33. .wy-nav-top > a {
  34. display: none;
  35. }
  36. @media screen and (max-width: 768px) {
  37. .wy-side-nav-search>a img.logo {
  38. height: 60px;
  39. }
  40. }
  41. /* This is needed to ensure that logo above search scales properly */
  42. .wy-side-nav-search a {
  43. display: block;
  44. }
  45. /* This ensures that multiple constructors will remain in separate lines. */
  46. .rst-content dl:not(.docutils) dt {
  47. display: table;
  48. }
  49. /* Use our red for literals (it's very similar to the original color) */
  50. .rst-content tt.literal, .rst-content tt.literal, .rst-content code.literal {
  51. color: #F05732;
  52. }
  53. .rst-content tt.xref, a .rst-content tt, .rst-content tt.xref,
  54. .rst-content code.xref, a .rst-content tt, a .rst-content code {
  55. color: #404040;
  56. }
  57. /* Change link colors (except for the menu) */
  58. a {
  59. color: #F05732;
  60. }
  61. a:hover {
  62. color: #F05732;
  63. }
  64. a:visited {
  65. color: #D44D2C;
  66. }
  67. .wy-menu a {
  68. color: #b3b3b3;
  69. }
  70. .wy-menu a:hover {
  71. color: #b3b3b3;
  72. }
  73. /* Default footer text is quite big */
  74. footer {
  75. font-size: 80%;
  76. }
  77. footer .rst-footer-buttons {
  78. font-size: 125%; /* revert footer settings - 1/80% = 125% */
  79. }
  80. footer p {
  81. font-size: 100%;
  82. }
  83. /* For hidden headers that appear in TOC tree */
  84. /* see http://stackoverflow.com/a/32363545/3343043 */
  85. .rst-content .hidden-section {
  86. display: none;
  87. }
  88. nav .hidden-section {
  89. display: inherit;
  90. }
  91. .wy-side-nav-search>div.version {
  92. color: #000;
  93. }