Skip to content

Instantly share code, notes, and snippets.

@vasilisvg
Created July 14, 2011 08:31
Show Gist options
  • Save vasilisvg/1082102 to your computer and use it in GitHub Desktop.
Save vasilisvg/1082102 to your computer and use it in GitHub Desktop.
An adaptive userstyle for Google+ It removes the clutter around your Stream in windows smaller than 700px wide.
/*
A userstyle for Google+
It removes the clutter around your Stream in windows smaller than 700px wide.
I use it in a Fluid instance of Google+
*/
@media (max-width: 700px){
.a-p-la-T,
#gbz li,
.a-U-Pg-T,
.a-Cs-T,
.a-U-T {
display: none !important;
}
#gbz li:first-child {
display: inline-block !important;
}
.a-U-bg-T {
margin-left: 0px !important;
}
#content,
.a-U-T, .a-p-T, .a-Xa-T,
.a-Eo-T,
.a-Eo-T #gb {
min-width: 1px !important;
}
.a-A,
.a-p-M-T-gi-xc,
.a-f-n-A,
.a-f-p {
width: 100% !important;
-webkit-box-sizing: border-box;
}
.a-f-n-A {
width: 90% !important;
margin: 0 5% !important;
}
img {
max-width: 100% !important;
height: auto !important;
}
.a-b-n-A.a-f-n-A.n.n-xb.n-Ja-gc.n-za.n-pw-V-q {
width: 90% !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment