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

main.css 2.3 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. .navbar-brand img {
  2. height: 50px;
  3. margin-right: 0.5rem;
  4. }
  5. .bd-footer {
  6. font-size: 0.8rem;
  7. }
  8. html[data-theme="light"] {
  9. --pst-color-primary: hsl(222.2 47.4% 11.2%);
  10. --pst-color-secondary: #007bff;
  11. --pst-color-secondary-bg: #007bff;
  12. --pst-color-accent: #007bff;
  13. --sd-color-secondary-highlight: #0062cc;
  14. --pst-color-shadow: rgba(0, 0, 0, 0.0);
  15. }
  16. html[data-theme="dark"] {
  17. --pst-color-primary: hsl(213 31% 91%);
  18. --pst-color-secondary: #007bff;
  19. --pst-color-secondary-bg: #007bff;
  20. --pst-color-accent: #007bff;
  21. --sd-color-secondary-highlight: #0062cc;
  22. --pst-color-shadow: rgba(0, 0, 0, 0.0);
  23. }
  24. .bd-header-announcement {
  25. color: white;
  26. }
  27. .bd-header-announcement a {
  28. color: white;
  29. }
  30. .bd-header-announcement a:hover {
  31. color: white;
  32. text-shadow: 0.5px 0 0 currentColor;
  33. }
  34. nav.bd-links .current>a {
  35. box-shadow: inset 1px 0 0 var(--pst-color-primary);
  36. }
  37. html[data-theme="light"] .bd-header {
  38. border-bottom: 1px solid var(--pst-color-border);
  39. }
  40. .admonition, div.admonition {
  41. border: 1px solid var(--pst-color-border);
  42. }
  43. .api-card {
  44. text-align: center;
  45. font-size: 1.2rem;
  46. }
  47. .api-card svg {
  48. font-size: 2rem;
  49. }
  50. .search-button-field {
  51. border-radius: var(--bs-btn-border-radius);
  52. }
  53. .bd-content .sd-tab-set .sd-tab-content {
  54. border: none;
  55. border-top: 3px solid var(--pst-color-border);
  56. }
  57. .bd-content .sd-tab-set>input:checked+label {
  58. border: none;
  59. transform: translateY(0);
  60. font-weight: 600;
  61. border-bottom: 2px solid var(--pst-color-secondary);
  62. }
  63. .bd-content .sd-tab-set>label {
  64. background-color: transparent;
  65. border: none;
  66. }
  67. .center {
  68. text-align: center;
  69. }
  70. .subheader {
  71. font-size: 1.5em;
  72. }
  73. .hero-title {
  74. font-size: 60px;
  75. font-weight: bold;
  76. margin: 2rem auto 0;
  77. }
  78. .wip-card {
  79. border: 1px solid var(--pst-color-success);
  80. background-color: var(--pst-color-success-bg);
  81. border-radius: .25rem;
  82. padding: 0.3rem;
  83. display: flex;
  84. justify-content: center;
  85. align-items: center;
  86. margin-bottom: 1rem;
  87. }
  88. .card-title {
  89. font-size: 1.2rem;
  90. font-weight: bold;
  91. }
  92. .card-title svg {
  93. font-size: 2rem;
  94. vertical-align: bottom;
  95. margin-right: 5px;
  96. }