Skip to content

dapenti.com 阅读美化 by voidsea

Details

Authorvoidsea

LicenseCC0-1.0

Categorydapenti

Created

Updated

Size2.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

  • 更改字体为"微软雅黑"、"苹方""等黑体
  • 增大了阅读字体
  • 调整页面配色, 降低对比度
  • 调整标题样式, 便于识别定位

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           dapenti.com 阅读美化
@namespace      USO Archive
@author         voidsea
@description    `* 更改字体为"微软雅黑"、"苹方""等黑体* 调整页面配色, 降低对比度* 调整标题样式, 便于识别定位`
@version        20190603.6.40
@license        CC0-1.0
@preprocessor   uso
==/UserStyle== */
@-moz-document domain("dapenti.com") {
    body, td, ul{
        font-family: "Microsoft YaHei", PingFangSC-Regular, STHeiti, "黑体";     
        font-size: 16px !important;
    }
    body, td, .oblog_text span{
        font-size: 18px !important;
    }
    body{
        background: #ddd;
    }

    a:link{
        color: #06c;
    }
    
    #right a:visited,
    a:visited{
        color: #669 !important;
    }
    
    a:hover{
        color: #06c !important;
        background: #0066CC14;
    }

    #top{
        display: none;
    }
    .adsbygoogle{
     display: none !important;   
    }
    .box2, .box3, .box4,
    .ke-zeroborder,
    .oblog_t_2{
        border: none;
        background: #f6f6f6;
    }
    .box2, .box3, .box4,
    .oblog_t_1{
        padding: 10px;
        box-sizing: border-box;
        box-shadow: 0 2px 8px rgba(0,0,0,.1)
    }

    #right .title,
    .center_title{
        font-size: 21px;
        font-weight: normal;
        letter-spacing: 0;
        background: #eee;
        border: none;
        border-bottom: 1px solid #ccc;
    }

    .center_title_down{
        border: none;
    }

    ul{
        padding: 0;
        line-height: 200%;
        list-style-type: none;
    }

    ul a::before{
        padding: 0 8px 0 0;
        content: "•";
        color: #666;
        opacity: .5;
    }

    #right a{
        letter-spacing: 0;
    }
    #right .title{
        text-align: left;
    }
    #right .title p{
        margin: 4px;
    }



    .oblog_t_1{
        padding: 16px;
    }

    .oblog_t_1 p > img:not([title]){
        display: block;
        margin: 0 auto;
    }

    .style1 a{
        font-size: 21px !important;
    }

}

Reviews

No reviews yet.