Skip to content

ChordWiki での歌詞行数表示 by Szyln

Screenshot of ChordWiki での歌詞行数表示

Details

AuthorSzyln

LicenseNo License

Categorychordwiki

Created

Updated

Size681 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Show row numbers before each row in ChordWiki

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           ChordWiki での歌詞行数表示
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Show row number before each line
@author         Me
==/UserStyle== */
@-moz-document url-prefix("https://ja.chordwiki.org/") {
    /* ここにコードを挿入... */
    .main > div {
        counter-reset: paragraph-counter;
    }
    p.line:not(.comment)::before {
        margin-right: 12px;
        font-weight: 100;
        font-size: 12px;
        color: #6c757d;
        counter-increment: paragraph-counter;
        /* Incrementing the counter */
        content: counter(paragraph-counter);
    }
}

Reviews

No reviews yet.