V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
sneezry
V2EX  ›  分享创造

写了个相对比较适合摸鱼的 V2EX 自定义 CSS

  •  
  •   sneezry ·
    Sneezry · 120 天前 · 2888 次点击
    这是一个创建于 120 天前的主题,其中的信息可能已经有所发展或是发生改变。

    只适配了浅色主题的主页和普通节点下帖子内容页面。深色主题和带有特殊样式节点的帖子页面没专门调整。

    #Top {
    background: #fff;
    border: none;
    }
    
    #Wrapper {
    background: #fff;
    }
    
    #search-container {
    width: 500px;
    border-radius: 5px;
    border-color: rgb(166, 166, 176);
    background: #fff;
    }
    
    a.topic-link:active, a.topic-link:link {
    color: rgb(27, 117, 208);
    }
    
    a.node:active, a.node:link, a.node:visited {
    background-color: rgb(237, 245, 253);
    color: rgb(21, 92, 162);
    padding: 8px;
    }
    
    a:active, a:link, a:visited {
    color: rgb(27, 117, 208);
    }
    
    .cell table {
    margin: 15px 0 20px 0;
    }
    
    img.avatar {
    opacity: 0;
    }
    
    a.count_livid:link {
    color: rgb(99, 107, 116);
    background: #fff;
    }
    
    #SecondaryTabs a:active, #SecondaryTabs a:link, #SecondaryTabs a:visited {
    color: #555;
    }
    
    .topic_info {
    display: block;
    text-align: right;
    }
    
    .topic_info .votes,
    .topic_info .node {
    float: left;
    }
    
    .item_title {
    display: block;
    margin-bottom: 15px;
    }
    
    .box {
    border-radius: 0;
    box-shadow: none;
    border: none;
    }
    
    .box .cell:first-child {
    border: none;
    }
    
    .cell .fade {
    font-size: 18px;
    color: #555;
    }
    
    #Rightbar .cell {
    border: none;
    }
    
    #TopicsHot .cell table {
    margin: 0;
    }
    
    #TopicsHot .cell table td:first-child {
    display: none;
    }
    
    .wwads-cn {
    box-shadow: none!important;
    border: none!important;
    }
    
    td:has(img.avatar) {
    display: none;
    }
    
    #Rightbar .box {
    border-radius: 5px;
    border: 1px solid #d6d9dc;
    }
    
    #Rightbar .box .cell:has(.fade):not(:last-child) {
    background: #f9fafa;
    border-bottom: 1px solid #d6d9dc;
    }
    

    复制后填入 https://v2ex.com/settings 页面的“自定义 CSS”中,然后保存就可以生效。

    另外麻烦大家方便的话帮忙关注下我的订阅号,我要争取在春节前得到 100 个关注才能自己制作红包封面,谢谢啦谢谢啦~

    10 条回复    2023-12-31 04:52:01 +08:00
    344457769
        1
    344457769  
       120 天前   ❤️ 2
    恕我直言,没有 V2EX 默认的好看。
    sneezry
        2
    sneezry  
    OP
       120 天前
    @344457769 #1 是的,主要是默认的很多图我不太好在上班的时候刷,哈哈
    JNian
        3
    JNian  
       120 天前
    我感觉只需要对每个主题不同颜色的背景图处理成白色就好了,怕图片就屏蔽下,没有什么太需要调整的
    giter
        4
    giter  
       120 天前
    还不如写成 IDEA 或 VS Code 的插件
    timeance
        5
    timeance  
       120 天前
    我是直接把用户自定义的给屏蔽掉,做成白色的了

    其实比较需要弄成 xlxs 的样式... 这样才方便摸
    RockShake
        6
    RockShake  
       120 天前
    印象中 NGA 有个 Excel 主题的摸鱼油猴扩展,有需求的可以拿去魔改一下
    JNian
        7
    JNian  
       120 天前
    op 怎么写的 v 站 css 啊,我想给这背景都白了
    wjup
        8
    wjup  
       120 天前
    @JNian #7 设置-自定义 CSS
    JNian
        9
    JNian  
       120 天前
    @wjup 谢谢你的回复。op 怎么写的 v 站 css 啊,能不能加上所有背景都白了或者根据什么写的,我研究下。我想给这背景都白了
    no13bus
        10
    no13bus  
       119 天前
    记得你之前分享过一个显示器购买的一个帖子,我收藏夹删除了,找不到了,你那里还有不?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   892 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 22:11 · PVG 06:11 · LAX 15:11 · JFK 18:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.