theme_overrides.css 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /* -*- coding: utf-8; mode: css -*-
  2. *
  3. * Sphinx HTML theme customization: read the doc
  4. *
  5. */
  6. @media screen {
  7. /* content column
  8. *
  9. * RTD theme's default is 800px as max width for the content, but we have
  10. * tables with tons of columns, which need the full width of the view-port.
  11. */
  12. .wy-nav-content{max-width: none; }
  13. /* table:
  14. *
  15. * - Sequences of whitespace should collapse into a single whitespace.
  16. * - make the overflow auto (scrollbar if needed)
  17. * - align caption "left" ("center" is unsuitable on vast tables)
  18. */
  19. .wy-table-responsive table td { white-space: normal; }
  20. .wy-table-responsive { overflow: auto; }
  21. .rst-content table.docutils caption { text-align: left; font-size: 100%; }
  22. /* captions:
  23. *
  24. * - captions should have 100% (not 85%) font size
  25. * - hide the permalink symbol as long as link is not hovered
  26. */
  27. .toc-title {
  28. font-size: 150%;
  29. font-weight: bold;
  30. }
  31. caption, .wy-table caption, .rst-content table.field-list caption {
  32. font-size: 100%;
  33. }
  34. caption a.headerlink { opacity: 0; }
  35. caption a.headerlink:hover { opacity: 1; }
  36. /* Menu selection and keystrokes */
  37. span.menuselection {
  38. color: blue;
  39. font-family: "Courier New", Courier, monospace
  40. }
  41. code.kbd, code.kbd span {
  42. color: white;
  43. background-color: darkblue;
  44. font-weight: bold;
  45. font-family: "Courier New", Courier, monospace
  46. }
  47. /* inline literal: drop the borderbox, padding and red color */
  48. code, .rst-content tt, .rst-content code {
  49. color: inherit;
  50. border: none;
  51. padding: unset;
  52. background: inherit;
  53. font-size: 85%;
  54. }
  55. .rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal {
  56. color: inherit;
  57. }
  58. }