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.

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