Skip to content

rollupjs.org by remillc

Details

Authorremillc

LicenseNo License

Categoryrollupjs

Created

Updated

Size738 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Better readability, larger sidebar.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           rollup.js
@namespace      rollupjs.org
@version        1.0.0
@description    Better readability, larger sidebar.
@author         Christian Rémillard <christian.remillard@gmail.com>
==/UserStyle== */

@-moz-document domain("rollupjs.org") {
:root {
	--content-width: 20rem;
}

@media (min-width: 1024px) {
	:root {
		--content-width: 30rem;
	}
}

@media (min-width: 768px) {
	.content {
		padding: 0 1em 2em calc(var(--content-width) + 1.5em)!important;
		--image-width: calc(90vw - var(--content-width))!important;
	}
}

.sidebar {
	width: var(--content-width)!important;
}

.sidebar :link {
	display: block;
}

.sidebar :link:hover {
	text-decoration: underline;
}
}

Reviews

No reviews yet.