dark.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. /*!
  2. * Vditor - A markdown editor written in TypeScript.
  3. *
  4. * MIT License
  5. *
  6. * Copyright (c) 2018-present B3log 开源, b3log.org
  7. *
  8. * Permission is hereby granted, free of charge, to any person obtaining a copy
  9. * of this software and associated documentation files (the "Software"), to deal
  10. * in the Software without restriction, including without limitation the rights
  11. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  12. * copies of the Software, and to permit persons to whom the Software is
  13. * furnished to do so, subject to the following conditions:
  14. *
  15. * The above copyright notice and this permission notice shall be included in all
  16. * copies or substantial portions of the Software.
  17. *
  18. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  19. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  20. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  21. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  22. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  23. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  24. * SOFTWARE.
  25. *
  26. */
  27. .vditor-reset {
  28. color: #d1d5da;
  29. }
  30. .vditor-reset a, .vditor-ir__link {
  31. color: #4285f4;
  32. }
  33. .vditor-reset h1, .vditor-reset h2 {
  34. padding-bottom: 0.3em;
  35. border-bottom: 1px solid #d1d5da
  36. }
  37. .vditor-reset hr {
  38. background-color: #d1d5da
  39. }
  40. .vditor-reset blockquote {
  41. padding: 0 1em;
  42. color: #b9b9b9;
  43. border-left: .25em solid #d1d5da
  44. }
  45. .vditor-reset iframe {
  46. border: 1px solid #141414
  47. }
  48. .vditor-reset table tr {
  49. background-color: #2f363d
  50. }
  51. .vditor-reset table td, .vditor-reset table th {
  52. border: 1px solid #dfe2e5
  53. }
  54. .vditor-reset table tbody tr:nth-child(2n) {
  55. background-color: #24292e
  56. }
  57. .vditor-reset code:not(.hljs):not(.highlight-chroma) {
  58. background-color: rgba(66, 133, 244, .36);
  59. }
  60. .vditor-reset .language-abc svg,
  61. .vditor-reset .language-abc path {
  62. fill: currentColor;
  63. color: #d1d5da;
  64. }
  65. .language-graphviz polygon {
  66. fill: rgba(66, 133, 244, .36);
  67. }
  68. .vditor-reset kbd {
  69. color: #d1d5da;
  70. background-color: #2f363d;
  71. border: 1px solid #141414;
  72. box-shadow: inset 0 -1px 0 #141414
  73. }
  74. .vditor-copy svg {
  75. color: #b9b9b9
  76. }
  77. .vditor-speech {
  78. background-color: #1d2125;
  79. border: 1px solid #141414;
  80. color: #b9b9b9
  81. }
  82. .vditor-speech--current, .vditor-speech:hover {
  83. color: #fff
  84. }
  85. .vditor-linkcard a {
  86. background-color: #1d2125;
  87. }
  88. .vditor-linkcard a:visited .vditor-linkcard__abstract {
  89. color: hsla(0, 0%, 72.5%, .36)
  90. }
  91. .vditor-linkcard__title {
  92. color: #d1d5da
  93. }
  94. .vditor-linkcard__abstract {
  95. color: #b9b9b9
  96. }
  97. .vditor-linkcard__site {
  98. color: #fff
  99. }
  100. .vditor-linkcard__image {
  101. background-color: hsla(0, 0%, 72.5%, .36)
  102. }