Skip to content

Compact Hacker News by Zetaphor

Details

AuthorZetaphor

LicenseMIT

Categorynews.ycombinator.com

Created

Updated

Size656 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Reduce the extra line height and whitespace between lines on HN.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Compact Hacker News
@version      20240226.17.09
@namespace    https://userstyles.world/user/Zetaphor
@description  Reduce the extra line height and whitespace between lines on HN.
@author       Zetaphor
@license      MIT
==/UserStyle== */

@-moz-document url-prefix("https://news.ycombinator.com/") {
.spacer {
    height: 3px !important;
}

.title {
    line-height: 18px;
}

br {
    display: none;
}

.comment {
    margin-top: 7px;
}

p {
    line-height: 18px;
    margin-top: 0px !important;
}

.commtext {
    line-height: 18px !important;
}

input[value="add comment"] {
    display: block;
    margin-top: 10px;
}
}

Reviews

No reviews yet.