Casual styles that applied to many sites when I want.
hyrious 自用 by hyrious
Details
Authorhyrious
LicenseCC0
Categoryany
Created
Updated
Size1.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 自用
@namespace hyrious
@version 1.0.0
@description 喵喵喵
@author Me
==/UserStyle== */
@-moz-document url-prefix("https://www.gnu.org/software/ed/") {
body {
margin: 0 auto;
max-width: 42em;
padding: 24px;
line-height: 1.25;
font-family: 'Segoe UI', system-ui;
font-size: 18px;
}
pre, code, samp {
background-color: rgba(0,0,0,.1);
}
dfn {
color: blue;
}
var {
color: red;
}
}
@-moz-document domain(news.ycombinator.com) {
.title {
font-size: x-large;
font-family: Arial, system-ui;
font-weight: bold;
}
.subtext {
font-size: small;
font-family: Cascadia Mono, system-ui;
}
.comment {
font-size: 1rem;
font-family: Segoe UI, system-ui;
line-height: 1.5;
}
.comment pre {
background-color: rgba(127,127,127,.5);
}
.comment .c00 a:link {
color: #0074D9 !important;
}
}
@-moz-document url-prefix("https://esbuild.github.io") {
:root {
color-scheme: light dark;
}
}
@-moz-document url-prefix("https://leungwensen.github.io/blog") {
@import "https://cdn.jsdelivr.net/npm/github-markdown-css";
:root {
color-scheme: light dark;
}
#markdown-header {
display: none;
}
#markdown-body {
max-width: 40em;
margin: 0 auto;
padding: 32px;
}
}
@-moz-document domain("prosemirror.net") {
pre code {
margin: 0
}
}