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.

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