148
|
1 // ==UserScript==
|
|
2 // @name Kakuyomu serif webfont
|
|
3 // @namespace https://nanaya.net
|
|
4 // @match https://kakuyomu.jp/works/*
|
|
5 // @version 1.0.0
|
|
6 // @description Use webfont for serif text in Kakuyomu
|
|
7 // @author nanaya
|
|
8 // @grant GM_addStyle
|
|
9 // @downloadURL https://hg.nanaya.net/ec-userscripts/raw-file/tip/kakuyomu-serif-webfont.user.js
|
|
10 // ==/UserScript==
|
|
11
|
|
12 'use strict';
|
|
13
|
|
14 /* global GM_addStyle */
|
|
15 GM_addStyle(`
|
|
16 @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');
|
|
17 .widget-episodeBody {
|
|
18 font-family: 'Noto Serif JP', serif;
|
|
19 }
|
|
20 `);
|