はてな匿名ダイアリー用スタイル。
読みやすいように雑にフォントサイズ指定解除と1行の文字数を調整してます。
Userstyle for はてな匿名ダイアリー by KABA
Details
AuthorKABA
LicenseNo License
Categoryhatelabo
Created
Updated
Size1.4 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 20250105.23.13
@namespace https://userstyles.world/user/KABA
@description はてな匿名ダイアリー用スタイル。読みやすいように雑に1行の文字数を調整してます。for https://anond.hatelabo.jp/
@author KABA
@license No License
==/UserStyle== */
@-moz-document url-prefix("https://anond.hatelabo.jp/") {
/* Domain */
/* - Font size Reset */
/* -- Revert */
:root,
body,
p,
#globalmenu ul li,
#bookmark-comment-unit a.comment-share,
.bookmark-comment-list :is(
.user-comment,
.user-comment-link,
.user-tag,
.user-timestamp
),
div.section :is(
blockquote,
p.sectionfooter
),
#breadcrumbs,
.pager, .pager-r, .pager-l,
h2 span.date {
font-size: revert;
}
h1 {
font-size: 100%;
}
p.share-button a:is(
.tw-share-button,
.fb-share-button
) .label {
font-size: 13px;
}
/* - Centering and Set Container */
.hatena-body {
--\.body-px: 1.7rem;
display: table;
margin-inline: auto;
width: auto;
#body {
box-sizing: border-box;
--line-length: 44;
max-width: min(
100vw - var(--\.body-px) * 2 - 1px * 2,
var(--line-length) * 1em +
(var(--\.body-px) + 1px) * 2
);
}
@media (max-width: 896px) {
--\.body-px: 14px;
}
}
.hotentries-wrapper .list li {
display: flow-root;
a {
float: left;
max-width: 100%;
}
}
}