removes "width-limit" from rust-lang pages
wide rust by alije123
Details
Authoralije123
LicenseNo License
Categoryrust-lang
Created
Updated
Size1.3 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name wide rust
@version 20230721.06.03
@namespace userstyles.world/user/alije123
@description removes "width-limit" from rust-lang pages
@author alije123
@license No License
==/UserStyle== */
@-moz-document domain("docs.rs"),
domain("crates.io"),
domain("tracing.rs"),
domain("doc.rust-lang.org"),
regexp("file://.*[/\\\\]target[/\\\\]doc[/\\\\].+\\.html.*"),
url-prefix("https://rust-random.github.io/rand") {
table {
width: 100%;
}
[class *= "width-limit"] {
max-width: 100%;
width: 100%;
}
.content,
nav {
max-width: 100%;
}
div.container {
max-width: 100%;
}
div.docsrs-package-container .container #crate-title {
width: auto;
}
}
@-moz-document domain("doc.rust-lang.org"),
domain("rust-lang.github.io"),
domain("pyo3.rs"),
url-prefix("https://rust-random.github.io/book") {
* {
--content-max-width: 100%;
}
}
@-moz-document domain("rustup.rs") {
body#idx > * {
width: 100%;
}
}
@-moz-document domain("rust-lang.org") {
.mw9-l,
.w-70-l {
max-width: 100%;
}
.mr4-l {
margin-right: auto;
}
.measure-wide-l {
max-width: 100%;
}
}
@-moz-document domain("lib.rs") {
.inner-col {
max-width: 100%;
}
}
@-moz-document url-prefix(https://rust-lang.github.io/rust-clippy) {
.container {
width: 100% !important;
}
}