:::info 语雀V4版已更新(12.12.2021)
    语雀V3版已更新(07.20.2021) :::

    语雀的样式实在是太丑了!!!

    再这样下去我真的要转投Notion了!!!

    哪怕在有大佬做出了🐦 Power Yuque 美化了一大步,但代码框还是不忍直视。

    哪怕人与人的体质不能一概而论,我依然在极端愤怒的情况下。。。居然找到了解决办法💡

    那就是Stylus 插件,这是一款能自己修改网站css样式的插件。

    虽然我不是前端程序猿,但只是改改代码框的样式还是没问题的,顺便把内联代码也改成了喜欢的红色。


    一条来自 2021 年 12月12日的分割线
    语雀真TM是又菜又爱改,你倒是改一下外观啊,语雀到底有没有前端设计师啊,页面丑成这样,照着微软谷歌苹果抄也行啊,无语……

    1. /*
    2. * Name: YuQue Beautify
    3. * Author: Zhang Jin
    4. * Version: v4.0
    5. * Updated: 12.12.2021
    6. */
    7. ne-h2{
    8. padding-bottom: 4px !important;
    9. border-bottom: 1px solid #eee;
    10. }
    11. /* 内联代码 */
    12. ne-code-content{
    13. margin: 0 1px;
    14. padding: 2px 4px;
    15. color: #FF0000;
    16. background: #FAEAEB;
    17. border: none;
    18. border-radius: 2px;
    19. font-size: 0.85rem;
    20. }
    21. /* 代码框 */
    22. .ne-codeblock {
    23. border: 0px solid rgb(0 0 0 / 0%);
    24. background-color: #f6f8fa;
    25. color: #262626;
    26. font-size: 0.8rem;
    27. }
    28. .CodeMirror {
    29. border: 0px solid rgb(0 0 0 / 0%);
    30. background-color: #f6f8fa;
    31. color: #262626;
    32. }
    33. .ne-viewer ne-card[data-card-type="block"] {
    34. border: 0px solid #eee;
    35. }
    36. /* 代码行号 */
    37. .CodeMirror-gutters {
    38. background-color: #f6f8fa;
    39. }
    40. .CodeMirror-linenumber{
    41. color: rgba(0, 92, 197, 0.7);
    42. }
    43. /* 信息块 */
    44. ne-alert {
    45. padding-left: 16px;
    46. border: none!important;
    47. }

    区别大概就是下面这样子:

    image.png
    image.png