Created
May 17, 2016 19:28
-
-
Save Jaykul/5612053b7c2701e4ba341b2fad4d708a to your computer and use it in GitHub Desktop.
Fix DotNet Core Docs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Wide DotNet Core Docs | |
// @namespace http://HuddledMasses.org | |
// @description Fix the sidebar on .net core reference so you can read everything. | |
// @include */dotnet.github.io/api/* | |
// @version 1.1 | |
// @grant none | |
// ==/UserScript== | |
var styleSheet = "" + | |
".container {" + | |
"width:auto !important;" + | |
"min-width:980px;" + | |
"}" + | |
"#sidetoc .sidetoc, #sidetoc .sidefilter {" + | |
"width:20% !important;" + | |
"min-width:260px;" + | |
"}" + | |
".article.grid-right {" + | |
"margin-left:20% !important;" + | |
"}" + | |
""; | |
(function () { | |
var s = document.createElement('style'); | |
s.type = "text/css"; | |
s.innerHTML = styleSheet; | |
(document.head || document.documentElement).appendChild(s); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment