wechat.css 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. font-family: "mp-quote", -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
  29. color: rgb(62, 62, 62);
  30. }
  31. .vditor-reset a, .vditor-ir__link {
  32. color: #576b95;
  33. }
  34. .vditor-reset h1 {
  35. font-weight: 400;
  36. text-align: center;
  37. color: rgb(26, 173, 25);
  38. font-size: 24px;
  39. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAACCAYAAABYBvyLAAAAGElEQVQImWNkXs/wn4GKgImahjEwMDAAAA6aAbVUOzXRAAAAAElFTkSuQmCC);
  40. background-repeat: no-repeat;
  41. background-position: center bottom;
  42. }
  43. .vditor-reset h2 {
  44. font-weight: 400;
  45. text-align: center;
  46. font-size: 20px;
  47. }
  48. .vditor-reset h3,
  49. .vditor-reset h4,
  50. .vditor-reset h5,
  51. .vditor-reset h6 {
  52. font-weight: 400;
  53. }
  54. .vditor-reset hr {
  55. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  56. transform-origin: 0 0;
  57. transform: scale(1, 0.5);
  58. height: 0;
  59. }
  60. .vditor-reset blockquote {
  61. padding: 4px 0 0 10px;
  62. border-left: 3px solid #dbdbdb;
  63. color: #9a9a9a;
  64. line-height: 1.6;
  65. font-size: 15px;
  66. margin: 1em 0;
  67. }
  68. .vditor-reset code {
  69. font-size: 14px;
  70. border: 1px solid #f0f0f0;
  71. border-radius: 2px;
  72. }
  73. .vditor-reset code:not(.hljs):not(.highlight-chroma) {
  74. background-color: rgba(0, 0, 0, 0.03);
  75. color: #333;
  76. }
  77. .vditor-reset .language-abc svg,
  78. .vditor-reset .language-abc path {
  79. fill: currentColor;
  80. color: rgb(62, 62, 62);
  81. }
  82. .vditor-reset .language-graphviz polygon {
  83. fill: transparent;
  84. }