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