Skip to content

Wider docs.oracle.com by minusgix

Details

Authorminusgix

LicenseNo License

Categorydocs.oracle.com

Created

Updated

Size1.0 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

This makes the docs.oracle.com website (primarily intended for the specifications, probably won't do anything on any other pages) takes up more width. As well, it stops it from being so much, which makes it work better on thinner screens, such as if you have it side by side with another window.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Wider docs.oracle.com
@version      20220217.07.43
@namespace    userstyles.world/user/minusgix
@description  This makes the docs.oracle.com website (primarily intended for the specifications, probably won't do anything on any other pages) takes up more width. As well, it stops it from being so much, which makes it work better on thinner screens, such as if you have it side by side with another window.
@author       minusgix
@license      No License
==/UserStyle== */

@-moz-document domain("docs.oracle.com") {
/* Move TOC to the top of the document. Somewhat annoying to get to now but lets the page be wider */
div.chapter div.toc {
    position: static;
}
/* Rather than pushing the page to the side by a lot, push it by a bit*/
div.chapter {
    margin-left: 20px;
    margin-right: 30px;
}
/* Default would have put it outside the page, this moves it a bit before the text but still visible */
div.chapter h2, div.chapter h3, div.chapter h4 {
    margin-left: -10px;
}
}

Reviews

No reviews yet.