You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

134 lines
1.8 KiB

  1. .docs-nav {
  2. margin: 20px 0 0 0;
  3. padding: 0;
  4. list-style: none;
  5. }
  6. .docs-nav li {
  7. display: block;
  8. margin-bottom: 10px;
  9. }
  10. .docs-nav li.nav-header {
  11. color: #333;
  12. font-weight: bold;
  13. }
  14. li + li.nav-header {
  15. margin-top: 20px;
  16. }
  17. .docs-nav li.active > a {
  18. font-weight: bold;
  19. }
  20. .docs-nav ul {
  21. margin: 0 0 0 20px;
  22. padding: 0;
  23. list-style: none;
  24. }
  25. .curl-opts th {
  26. white-space: nowrap;
  27. font-family: monospace;
  28. }
  29. h2.rule {
  30. border-top: 3px solid #eee;
  31. margin-top: 30px;
  32. padding-top: 30px;
  33. }
  34. .page-docs code {
  35. padding: 2px 4px;
  36. font-size: 90%;
  37. color: #333;
  38. background-color: #f5f5f5;
  39. border-radius: 4px;
  40. }
  41. .page-docs pre code {
  42. padding: 0;
  43. font-size: 13px;
  44. background-color: transparent;
  45. border-radius: 0;
  46. }
  47. .docs-content, .docs-content .table td {
  48. line-height: 1.8;
  49. }
  50. .docs-content h1 {
  51. font-size: 24px;
  52. font-weight: bold;
  53. }
  54. .docs-content h2 {
  55. margin-top: 30px;
  56. font-weight: bold;
  57. }
  58. .docs-content h3 {
  59. font-size: 14px;
  60. font-weight: bold;
  61. margin: 20px 0;
  62. }
  63. .docs-content ul {
  64. padding-left: 15px;
  65. }
  66. .docs-content li {
  67. margin-left: 0;
  68. }
  69. .docs-content img {
  70. max-width: 66%;
  71. border: 6px solid #DDD;
  72. }
  73. @media (max-width: 992px) {
  74. .docs-content img {
  75. max-width: 100%;
  76. }
  77. }
  78. .docs-api table {
  79. width: 100%;
  80. margin: 8px 0;
  81. }
  82. .docs-api th {
  83. display: none;
  84. }
  85. .docs-api td {
  86. padding: 8px;
  87. border: 1px solid #ddd;
  88. }
  89. .docs-api dl {
  90. display: grid;
  91. grid-template-columns: 120px auto;
  92. }
  93. .docs-api dt {
  94. font-weight: normal;
  95. font-family: "Lucida Console", Monaco, monospace;
  96. }
  97. .docs-api dt, .docs-api dd {
  98. border-top: 1px solid #DDD;
  99. padding: 8px 0;
  100. }
  101. .rule + p code {
  102. font-size: 14px;
  103. font-weight: bold;
  104. padding: 2px 4px;
  105. }