日本の省庁専用のスタイル。
* 日本の省庁 by MaruniUmebachi
Details
AuthorMaruniUmebachi
LicenseNo License
Categoryndl
Created
Updated
Size2.0 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 2.1. 日本の省庁
@version 20250130.02.35
@namespace https://userstyles.world/user/MaruniUmebachi
@description 私のほかのスタイルと併用することを推奨する。
@homepage https://userstyles.world/user/MaruniUmebachi
@author MaruniUmebachi
@license CC 0
==/UserStyle== */
@-moz-document domain("go.jp"), regexp(".*://[^/].*\\.go\\.jp/.*") {
@layer Stylus,
\*\ 日本の省庁;
@layer \*\ 日本の省庁 {
:root {
font-feature-settings: unset;
font-kerning: var(--font-kerning-Stylus);
font-variant: var(--font-variant-Stylus);
font-family: sans-serif;
* {
font-feature-settings: inherit;
font-kerning: inherit;
font-variant: inherit;
font-family: inherit;
}
div#base1:has(> div#right_main:first-child:nth-last-child(2), > div#left_sub:last-child:nth-child(2)) {
display: flow-root;
overflow: hidden;
> div#right_main:first-child:nth-last-child(2),
> div#left_sub:last-child:nth-child(2) {
max-block-size: 100vb;
overflow: auto;
}
}
}
}
}
@-moz-document domain("lg.jp"), regexp(".*://[^/].*\\.lg\\.jp/.*") {
:root {
--Stylus-CSS: "* 日本の省庁";
}
}
@-moz-document domain("www8.cao.go.jp"), regexp(".*://[^/].*\\.lg\\.jp/.*") {
/* CAO [内閣府] */
html body div#container.standard div#containerInner div#containerInner2 div#contentsArea.contents main#contents div#mainContentsBlock div#mainContents p.indent1 {
--Stylus-CSS: "* 日本の省庁";
--Stylus-URL: url(https://www8.cao.go.jp/kourei/whitepaper/w-2024/html/zenbun/s1_1_1.html);
--Stylus-section: "1 高齢化の現状と将来像|令和6年版高齢社会白書(全体版) - 内閣府";
}
}
@-moz-document domain("www.soumu.go.jp") {
}
@-moz-document domain("^\\w+-extension://.+") {
:root {
--Stylus-CSS: "日本の行政";
}
}