Last active
September 7, 2017 13:04
-
-
Save 5310/5590350 to your computer and use it in GitHub Desktop.
Quick Userstyle I'm using for the I/O 2013 Google Plus interface. I personally found the multicolumn layout to be utterly useless on the desktop, and the single column was too narrow, so I widened it. Caveats: Images are still set to the width of the default stream, and hence would appear centered in widened posts. There's a commented out declar…
This file contains hidden or 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
| @-moz-document url-prefix("https://plus.google.com"), domain("plus.google.com") { | |
| /* Post Channel*/ | |
| .Dla.Ebb.nqa { | |
| width: 1000px !important; | |
| } | |
| .noa.Kv.Tc.Nl { | |
| width: 100% !important | |
| } | |
| /* Post Images*/ | |
| /* Enable to stretch any image to fit width (1000-15) even if it means looking crappy. */ | |
| /*.ev.MAvK1e.lg7oNe { | |
| max-height: none; | |
| max-width: none; | |
| height: auto; | |
| width: 985px; | |
| }*/ | |
| /* Gallery Posts */ | |
| .dT6Wrb { | |
| margin-left: 25%; | |
| } | |
| } |
Author
Author
Got the userscript to work. I'll make a script only version with configurable style later.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Of course, I can't get the proper inset image size with userstyle alone. Will write userscript later.
Unfortunately, if the images don't come in a high enough resolution, simply changing the url parameters will result in crappy looking images. A compromise would be to try to fit the width but center the image if smaller than the width.