Skip to content

Simple reader mode for fiction websites by erbkaiser

Screenshot of Simple reader mode for fiction websites

Details

Authorerbkaiser

LicenseCC0

CategoryXenforo, Spacebattles, Sufficient Velocity, The Sietch, Questionable Questing, Fanfiction.net

Created

Updated

Size1.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Simple reader mode that sets a maximum line length to 45em (80+ characters in most fonts) and justifies the text, to make it more pleasant to read.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Simple reader mode for fiction websites
@namespace      github.com/openstyles/stylus
@version        1.1
@description    Simple reader mode that sets a maximum line length to 45em (80-90 characters in most fonts) and justifies the text, to make it more pleasant to read. The style is applied to all message text which should capture story posts as well as discussions, but not the forum back-end itself.
@author         erbkaiser
==/UserStyle== */
@-moz-document domain("forums.spacebattles.com"), domain("forums.sufficientvelocity.com"), domain("www.the-sietch.com") {
	article.message-body {
		max-width: 45em;
		text-align: justify;
		padding: 1.5em 3.5em;
		margin: auto;
	}
}
@-moz-document domain("forum.questionablequesting.com") {
	blockquote.messageText {
		max-width: 45em;
		text-align: justify;
		padding: 1.5em 3.5em;
		margin: auto;
	}
}
@-moz-document domain("www.fanfiction.net") {
	div.storytext {
		max-width: 45em;
		text-align: justify;
		padding: 1.5em 3.5em;
		margin: auto;
	}
}

Reviews

No reviews yet.