Skip to content

文本阅读器 by mscststs

Details

Authormscststs

LicenseNo License

Categorytxt reader

Created

Updated

Size627 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

一个简单的文本阅读器样式

如果你在浏览器中阅读长 TXT 文件 ,那么这个样式应该有用

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name          文本阅读器
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */

@-moz-document regexp(".*\\.(txt)(\\?.*)?") {
    /* 在此插入代码... */
    :root{
        font-size:12px;
    }
    html, body{
        padding:0;
        margin:0;
    }
    body pre{
        background-color:#292929;
        color:#eee;
        font-size:2.7em;
        padding: 4em;
        line-height: 3em;
        
    }
    *{
        text-shadow: 0 0 0.2em #000;
    }
    ::selection{
        background-color: #585858
    }
}

Reviews

No reviews yet.