_maxcdn.scss 990 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ._maxcdn {
  2. padding-left: 1rem;
  3. h1, h2, h3 { margin-left: -1rem; }
  4. h2 { @extend %block-heading; }
  5. h3 { @extend %block-label, %label-blue; }
  6. h4 { font-size: 1em; }
  7. p > code { @extend %label; }
  8. .url {
  9. padding: .5rem;
  10. white-space: normal;
  11. @extend %pre, %note-green;
  12. }
  13. .http_method { @extend %label; }
  14. .nav-tabs {
  15. height: 2rem;
  16. padding: 0;
  17. list-style: none;
  18. border-bottom: 1px solid $boxBorder;
  19. > li {
  20. float: left;
  21. margin: -1px 0;
  22. > a {
  23. display: block;
  24. padding: .5rem 1em;
  25. line-height: 1rem;
  26. margin-right: 2px;
  27. border: 1px solid transparent;
  28. border-radius: 3px 3px 0 0;
  29. }
  30. &.active > a {
  31. color: $textColor;
  32. text-decoration: none;
  33. background: $contentBackground;
  34. border-color: $boxBorder $boxBorder transparent;
  35. cursor: default;
  36. }
  37. }
  38. }
  39. .tab-pane { display: none; }
  40. .tab-pane.active { display: block; }
  41. }