tabs.css 956 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. .sphinx-tabs {
  2. margin-bottom: 2em;
  3. }
  4. .sphinx-tabs .sphinx-menu a.item {
  5. color: #2980b9 !important;
  6. }
  7. .sphinx-tabs .sphinx-menu {
  8. border-bottom-color: #a0b3bf !important;
  9. }
  10. .sphinx-tabs .sphinx-menu a.active.item {
  11. border-color: #a0b3bf !important;
  12. }
  13. .sphinx-tab {
  14. border-color: #a0b3bf !important;
  15. box-sizing: border-box;
  16. }
  17. .tab div[class^='highlight']:last-child {
  18. margin-bottom: 0;
  19. }
  20. .tab .wy-plain-list-disc:last-child,
  21. .rst-content .section ul:last-child,
  22. .rst-content .toctree-wrapper ul:last-child,
  23. article ul:last-child {
  24. margin-bottom: 0;
  25. }
  26. /* Code tabs don't need the code-block border */
  27. .code-tab.tab {
  28. padding: 0.4em !important;
  29. }
  30. .code-tab.tab div[class^='highlight'] {
  31. border: none;
  32. }
  33. /* Semantic UI tabs don't shrink, make font smaller when viewing in mobile devices */
  34. @media screen and (max-width: 768px) {
  35. .sphinx-tabs .sphinx-menu a.item {
  36. font-size: 0.9em !important;
  37. }
  38. }