light.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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 h1, .vditor-reset h2 {
  28. padding-bottom: 0.3em;
  29. border-bottom: 1px solid #eaecef;
  30. }
  31. .vditor-reset hr {
  32. background-color: #eaecef;
  33. }
  34. .vditor-reset blockquote {
  35. color: #6a737d;
  36. border-left: .25em solid #eaecef
  37. }
  38. .vditor-reset iframe {
  39. border: 1px solid #d1d5da
  40. }
  41. .vditor-reset table tr {
  42. border-top: 1px solid #c6cbd1;
  43. background-color: #fafbfc
  44. }
  45. .vditor-reset table td, .vditor-reset table th {
  46. border: 1px solid #dfe2e5
  47. }
  48. .vditor-reset table tbody tr:nth-child(2n) {
  49. background-color: #fff
  50. }
  51. .vditor-reset code:not(.hljs):not(.highlight-chroma) {
  52. background-color: rgba(27, 31, 35, .05);
  53. }
  54. .vditor-reset kbd {
  55. color: #24292e;
  56. background-color: #fafbfc;
  57. border: solid 1px #d1d5da;
  58. box-shadow: inset 0 -1px 0 #d1d5da;
  59. }
  60. .vditor-speech {
  61. background-color: #f6f8fa;
  62. border: 1px solid #d1d5da;
  63. color: #586069;
  64. }
  65. .vditor-speech--current, .vditor-speech:hover {
  66. color: #4285f4;
  67. }
  68. .vditor-linkcard a {
  69. background-color: #f6f8fa;
  70. }
  71. .vditor-linkcard a:visited .vditor-linkcard__abstract {
  72. color: rgba(88, 96, 105, 0.36);
  73. }
  74. .vditor-linkcard__title {
  75. color: #24292e;
  76. }
  77. .vditor-linkcard__abstract {
  78. color: #586069;
  79. }
  80. .vditor-linkcard__site {
  81. color: #4285f4;
  82. }
  83. .vditor-linkcard__image {
  84. background-color: rgba(88, 96, 105, 0.36);
  85. }