AWS Docs Narrower Column

Makes text easier to read by not using 100% width

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name               AWS Docs Narrower Column
// @description        Makes text easier to read by not using 100% width
// @version            1
// @include            https://docs.aws.amazon.com/*
// @namespace https://greasyfork.org/users/153157
// ==/UserScript==


GM_addStyle_from_string(`
	#main-column {
		max-width: 650px !important;
		margin: auto !important;
	}
`);

function GM_addStyle_from_string(str) {
  var node = document.createElement('style');
  node.innerHTML = str;
  document.body.appendChild(node);
}