記事のために。
* 記事 by MaruniUmebachi
Details
AuthorMaruniUmebachi
LicenseCC 0
Category*
Created
Updated
Size9.3 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 * 記事
@version 20241102.17.01
@namespace https://userstyles.world/user/MaruniUmebachi
@description 記事のために。
@author MaruniUmebachi
@license CC 0
==/UserStyle== */
@font-face {
font-family: 'full space';
src: local('Noto Sans Mono ExtraCondensed'), local('Noto Sans'), local('Serif');
unicode-range: U+3000, U+0020;
size-adjust: 200%;
}
:root {
--Stylus-CSS: "* 記事";
div.article h1 ~ p:lang(ja),
main > section > div.txt-body > p:lang(ja) {
--Stylus-CSS: "* 記事";
letter-spacing: var(--letter-spacing-Stylus-article);
word-spacing: var(--word-spacing-Stylus-article);
font-size: var(--font-size-Stylus-article);
font-family: var(--font-family-Stylus-article);
line-height: var(--line-height-Stylus-article);
text-align: var(--text-align-Stylus-article);
text-align-last: var(--text-align-last-Stylus-article);
hyphens: var(--hyphens-Stylus-article);
ol li p {
--Stylus-CSS: "* 記事";
text-align: var(--text-align-Stylus-article);
text-align-last: var(--text-align-last-Stylus-article);
}
}
}
html:lang(ja):root {
--Stylus-CSS: "* 記事";
&,
body {
--Stylus-CSS: "* 記事";
font-feature-settings: var(--font-feature-settings-Stylus);
letter-spacing: .1em;
word-spacing: .1em;
}
:not(aside, sub, menu) :where(#main, main, article, .main:has(h1, .author)) {
--Stylus-CSS: "* 記事";
&:has(p):not(:has(aside, section, sub, menu)) {
--Stylus-CSS: "* 記事";
box-sizing: border-box;
max-inline-size: max(210mm);
width: 100%;
}
:where(article, #article, section, .main_content) {
--Stylus-CSS: "* 記事";
&:has(p):not(:has(aside, section, sub, menu)) {
--Stylus-CSS: "* 記事";
box-sizing: border-box;
max-inline-size: max(210mm);
width: 100%;
}
&,
> div,
> div > div,
> div > div > div,
> div > div > div > div,
> div > div > div > div > div,
> div > div > div > div > div > div {
> p {
--Stylus-CSS: "* 記事";
font-feature-settings: var(--font-feature-settings-Stylus-article);
letter-spacing: 2px;
word-spacing: 2px;
font-size: calc(16px * 1.5);
text-size-adjust: 150%;
--font-family-Stylus: var(--font-family-Stylus-article);
font-family: var(--font-family-Stylus-article);
line-height: 2;
text-align: justify;
text-align-last: auto;
hyphens: auto;
> img:where(.aligncenter, .size-full) {
--Stylus-CSS: "* 記事";
max-block-size: 100vh;
border-radius: 1em;
}
ruby {
--Stylus-CSS: "* 記事";
line-height: normal;
}
&:not(:only-of-type) {
--Stylus-CSS: "* 記事";
text-indent: 1em;
}
b,
[style*="font-weight: bold;"] {
font-family: var(--font-family-Stylus-article-bold), sans-serif;
}
}
}
}
}
:target {
--Stylus-CSS: "* 記事";
transition: all 1s;
}
:any-link {
--Stylus-CSS: "* 記事";
text-underline-position: under;
line-height: normal;
word-break: break-all;
}
input[type="text"] {
--Stylus-CSS: "* 記事";
font-feature-settings: normal;
font-variant-east-asian: normal;
padding-inline: calc(1lh - 1em);
}
:is(article, #article, section.content--body, section.content--detail-main, #personal-public-article-body, div.p-article) {
--Stylus-CSS: "* 記事";
p:lang(ja) {
--Stylus-CSS: "* 記事";
letter-spacing: 2px;
word-spacing: 2px;
font-size: calc(16px * 1.5);
--font-family-Stylus: var(--font-family-Stylus-article);
font-family: var(--font-family-Stylus-article);
line-height: 2;
text-align: justify;
text-align-last: auto;
hyphens: auto;
}
p p:lang(ja):nth-child(n) {
--Stylus-CSS: "* 記事";
font-size: unset;
font-optical-sizing: unset;
--font-family-Stylus: unset;
line-height: normal;
text-align: unset;
text-align-last: unset;
}
}
div.hdg-article p.corner-title:lang(ja) {
--Stylus-CSS: "* 記事";
font-size: unset;
font-optical-sizing: unset;
--font-family-Stylus: unset;
line-height: normal;
text-align: unset;
text-align-last: unset;
}
}
:root * :is(article, #article, section.content--body, section.content--detail-main, #personal-public-article-body) p:lang(ja):first-of-type {
--Stylus-CSS: "* 記事";
--none: none;
}
:where(html:root, :not(code, pre, .code, .edit)) :where(:lang(ja), :lang(en), :lang(fr)) {
--Stylus-CSS: "* 記事";
word-spacing: .1em;
}
:where([style*="background"]) {
--Stylus-CSS: "* 記事";
color: currentColor;
}
[data-ual-view-type="list"] {
--Stylus-CSS: "* 記事";
line-height: normal;
}
@-moz-document domain("philosophy.hix05.com") {
html body center table tbody tr td {
--Stylus-CSS: "* 記事";
letter-spacing: 2px;
word-spacing: 2px;
font-size: calc(16px * 1.5);
--font-family-Stylus: var(--font-family-Stylus-article);
font-family: var(--font-family-Stylus-article);
line-height: 2;
text-align: justify;
text-align-last: auto;
hyphens: auto;
}
}
@-moz-document regexp("https://web.archive.org/site/200") {
html:root {
body:lang(ja) {
--Stylus-CSS: "* 記事";
font-feature-settings: var(--font-feature-settings-Stylus) !important;
line-height: 2;
letter-spacing: 1px;
text-shadow: 0 0 .25em light-dark(#0000, #000);
p {
--Stylus-CSS: "* 記事";
margin-block-end: 1em;
}
}
*:lang(ja) {
--Stylus-CSS: "* 記事";
font-feature-settings: var(--font-feature-settings-Stylus) !important;
max-width: 100% !important;
article > div > p {
--Stylus-CSS: "* 記事";
font-size: calc(16px * 1.5);
font-optical-sizing: none;
--font-family-Stylus: var(--font-family-Stylus-article);
line-height: 2;
}
}
}
}
@-moz-document domain("web.archive.org") {
:root body *:lang(ja) {
--Stylus-CSS: "* 記事";
font-feature-settings: var(--font-feature-settings-Stylus);
line-height: 2;
letter-spacing: 2px;
}
:root *:lang(ja) p,
:root *:lang(ja) article > div {
--Stylus-CSS: "* 記事";
margin-block-end: 1em;
}
}
@-moz-document domain("forest.watch.impress.co.jp") {
.article-info > p {
--Stylus-CSS: "* 記事";
font-size: 16px !important;
}
.main-contents.mainContents > div {
> p {
--Stylus-CSS: "* 記事";
text-indent: calc(1em * 2 / 3);
hyphens: auto;
}
> ul > li {
--Stylus-CSS: "* 記事";
font-size: calc(16px * 1.25);
font-family: serif !important;
word-break: break-word;
}
}
div.image-wrap {
div.column :where(img, object, embed),
> div.inner {
--Stylus-CSS: "* 記事";
border-radius: 8px;
}
}
}
@-moz-document domain("wired.jp") {
:root * article > div div.grid-layout__content div.body__inner-container > p:lang(ja) {
--Stylus-CSS: "* 記事";
text-indent: 1em;
font-size: calc(16px * 1.5);
font-optical-sizing: none;
font-weight: 400;
--font-family-Stylus: var(--font-family-Stylus-article);
line-height: 2;
text-align: justify;
text-align-last: auto;
hyphens: auto;
}
}
@-moz-document domain("europa-japan.com") {
:root main > section > div.txt-body > p:lang(ja):not(.topic) {
--Stylus-CSS: "* 記事";
margin-block-end: 0em;
line-height: 2;
}
}
@-moz-document domain("chisou-media.jp") {
:root div.p-article p:lang(ja) {
--Stylus-CSS: "* 記事";
text-indent: 1em;
}
}
@-moz-document domain("dic.pixiv.net") {
:root :is(#page-article, #page-article-confirm) #content header :is(.summary, .link-to-pixiv) {
--Stylus-CSS: "* 記事";
font-size: 1rem !important;
line-height: 2;
word-break: keep-all;
--font-family-Stylus: var(--font-family-Stylus-article);
p {
--Stylus-CSS: "* 記事";
font-size: .75em;
letter-spacing: 0;
line-height: 1;
--font-family-Stylus: sans-var(--font-family-Stylus-article);
}
}
}