Skip to content

Instantly share code, notes, and snippets.

View dearrrfish's full-sized avatar
🐈
If cats could talk, they wouldn't.

Yu Jin dearrrfish

🐈
If cats could talk, they wouldn't.
View GitHub Profile
@dearrrfish
dearrrfish / custom-website-fonts.userstyle.css
Last active September 17, 2021 23:52
UserStyles - Custom Website Fonts
/* ==UserStyle==
@name Custom website fonts
@namespace github.com/dearrrfish/my-userscripts
@version 1.0.0
@description Override fonts & styles on websites
@author Me
==/UserStyle== */
body {
-webkit-font-smoothing: subpixel-antialiased !important;
/* font-family: 'LXGW WenKai UI' */
@dearrrfish
dearrrfish / 55-bytes-of-css.md
Created September 27, 2022 22:17 — forked from JoeyBurzynski/55-bytes-of-css.md
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}