老罗博客
  • 首页
  • 钓鱼
  • 友链
  • 友圈
  • 排行
  • 归档
  • 足迹
  • 关于
  • 首页
  • 钓鱼
  • 微语
  • 友链
  • 友圈
  • 归档
  • 排行
  • 关于
  • 搜索
  • 夜间模式
    ©2021-2025  老罗博客 Theme by OneBlog
    搜索
    标签
    # 游记 # 网络 # 吉他
  • 首页>
  • 网络>
  • 正文
  • memos笔记系统美化

    2025年06月04日 709 阅读 6 评论 2582 字

    界面美化

    1. 字体修改为霞鹜文楷
    2. 接入 bing 的每日壁纸,这样每天打开背景都不同
    3. 半透效果
    4. 一些无用选项的隐藏
    /* 修改字体 */
    body{font-family: "LXGW WenKai Screen", sans-serif !important;}
    /* 修改Memo字号 */
    .memo-wrapper .text-base { font-size: 0.95rem}
    /* 修改代码块字号 */
    .text-sm { font-size: 0.85rem; }
    /* 隐藏 通知 选项卡 */
    #header-inbox { display: none;}
    /* 隐藏 个人资料 选项卡 */
    #header-profile { display: none; }
    /* 隐藏 探索 选项卡 */
    /* #header-explore { display: none;} */
    /* 隐藏 about 选项卡 */
    #header-about { display: none; }
    /* 修改编辑器字体为等宽 */
    textarea { font-family: 'Courier New', Courier, monospace;}
    /* 隐藏via memos */
    body .flex.flex-row.justify-between.items-center > .text-gray-500.dark:text-gray-400 { display: none;}
    /* share memos width */
    .share-memo-dialog>.dialog-container { width: auto; }
    
    /* sidebar */
    .w-56 { width: 12rem;}
    /* comment */
    .pt-16 { padding-top: 2rem; }
    
    blockquote{
        border: 1px solid #246ad1 !important;
        border-left: 4px solid #246ad1 !important;
        position:relative;
     }
     .blockquote-center{ background: none; }
    
     /* #root>div:nth-child(1)  */
     body
     {
        background-image: url('https://bing.immmmm.com/img/bing?region=zh-CN&type=image');
        background-position: buttom;
        backdrop-filter: blur(10px);
        background-size: contain;
    }
    
    
    #root main,#root header,#root aside {
        background-color: rgba(244 244 245 / 60%) !important;
        background: content-box !important;
        border-radius: 5px !important;
    }
    
    #root main,#root header,#root aside>div:nth-child(2),#root aside>div:nth-child(3)
    {
        background-color: white;
        border-radius: 5px;
    }
    
    .px-2{
        background: content-box !important;
    }
    .border-r {
        border-right-width: 0px !important;
    }
    
    /* 移动端顶栏 */
    .sm\:pt-2 {
        background: unset !important;
        --tw-backdrop-blur: auto !important
    }
    /* 顶栏文字 */
    /* .text-gray-700{
        color: snow !important;
    }*/
    
    /* 设置滚动条的样式 */
    ::-webkit-scrollbar {
      width: 5px !important;
      height: 5px !important;
    }
    /* 滚动槽 */
    ::-webkit-scrollbar-track {
      background: #eee !important;
    }
    /* 滚动条滑块 */
    ::-webkit-scrollbar-thumb {
      border-radius: 5px !important;
      background-color: #ccc !important;
    }
    ::-webkit-scrollbar-thumb:hover {
      background-color: rgb(247, 149, 51) !important;
    }
    function changeFont() {
      const link = document.createElement("link");
      link.rel = "stylesheet";
      link.type = "text/css";
      link.href = "https://cdn.staticfile.org/lxgw-wenkai-screen-webfont/1.7.0/lxgwwenkaiscreen.css";
      document.head.append(link);
    };
    changeFont()
    本文著作权归作者 [ 老罗 ] 享有,未经作者书面授权,禁止转载,封面图片来源于 [ 互联网 ] ,本文仅供个人学习、研究和欣赏使用。如有异议,请联系博主及时处理。
    网络
    取消回复

    发表留言
    回复

    读者留言6

      评论榜

    1. 大峰 Lv.1 江苏省无锡市
      2025-07-01 09:13 回复

      我也弃用memos了。感觉不稳定。:$(篮球)

      1. 老罗 陕西省西安市
        2025-08-05 22:55 回复
        @大峰

        😄才看到你的评论

    2. LiuShen Lv.2 湖北省武汉市
      2025-06-04 12:40 回复

      我已经逃离Memos哩:$(呲牙)

      1. 老罗 广东省
        2025-06-04 12:45 回复
        @LiuShen

        😄感觉memos哪里用起来不爽呢?

        1. LiuShen Lv.2 湖北省武汉市
          2025-06-04 12:47 回复
          @老罗

          API超级不爽,因为我是静态站点,所以需要通过API在前端展示,但是Memos的API一变再变,所以就逃离了,现在用的是Moments,有点类似于之前你那个blog域名的微博,不过我现在看好像成WordPress了哈哈,为啥给换掉了

          1. 老罗 广东省
            2025-06-04 12:54 回复
            @LiuShen

            厉害,你是专业技术大神👍。
            moments我也搭建了一个,感觉又快又好看。blog原来用的是一个Lan独立朋友圈程序,全部文件加密的,现在换成了zblog程序。

    加载更多评论
    加载中...
    — 已加载全部评论 —
    首页钓鱼微语友链友圈归档排行关于
    Copyright©2021-2025  All Rights Reserved.  Load:0.028 s
    粤ICP备2024302751号-1
    Theme by OneBlog V3.6.4
    夜间模式

    开源不易,请尊重作者版权,保留基本的版权信息。