Legible Hacker News

Improve Typography

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Legible Hacker News
// @namespace   ycombinator.com
// @description Improve Typography
// @include     https://news.ycombinator.com/*
// @version     0.1
// @grant       GM_addStyle
// ==/UserScript==

GM_addStyle(`
center {
 float: left;
}

#hnmain {
  min-width: unset;
  max-width: 72ch;
  background-color: rgba(250,249,247);
}
body {
  background-color: #faf9f752;

}

td[bgcolor="#ff6600"] {
  background-color: rgb(250,249,247);
}

.comment,.comhead,title a,.title {
 font-family: IBM Plex Sans, Helvetica, sans-serif;
 line-height: 1.5;
 font-size: 14px;
}

.comment {
  margin-right: 1rem;
}

.comment-tree {
}

.c00, .c00 a:link, a:link {
  color: #252525;
}

.pagetop {
  font-size: 10px;
}

textarea {
  height: 1em;
  border: 1px solid lightgrey;
  border-radius: 3px;
}

`)