// ==UserScript==
// @name          Liquid G+
// @namespace     http://userstyles.org
// @description	  Making GooglePlus liquid and responsive
// @author        andr3
// @homepage      http://userstyles.org/styles/50187
// @include       http://plus.google.com/*
// @include       https://plus.google.com/*
// @include       http://*.plus.google.com/*
// @include       https://*.plus.google.com/*
// @run-at        document-start
// ==/UserScript==
(function() {
var css = "@font-face {\n  font-family: 'PT Sans';\n  font-style: italic;\n  font-weight: bold;\n  src: local('PT Sans Bold Italic'), local('PTSans-BoldItalic'), url('http://themes.googleusercontent.com/font?kit=lILlYDvubYemzYzN7GbLkKRDOzjiPcYnFooOUGCOsRk') format('woff');\n}\n@font-face {\n  font-family: 'PT Sans';\n  font-style: italic;\n  font-weight: normal;\n  src: local('PT Sans Italic'), local('PTSans-Italic'), url('http://themes.googleusercontent.com/font?kit=PIPMHY90P7jtyjpXuZ2cLLO3LdcAZYWl9Si6vvxL-qU') format('woff');\n}\n@font-face {\n  font-family: 'PT Sans';\n  font-style: normal;\n  font-weight: normal;\n  src: local('PT Sans'), local('PTSans-Regular'), url('http://themes.googleusercontent.com/font?kit=7YGmE4Ls5b94ct65u07hVQLUuEpTyoUstqEm5AMlJo4') format('woff');\n}\n@font-face {\n  font-family: 'PT Sans';\n  font-style: normal;\n  font-weight: bold;\n  src: local('PT Sans Bold'), local('PTSans-Bold'), url('http://themes.googleusercontent.com/font?kit=0XxGQsSc1g4rdRdjJKZrNL3hpw3pgy2gAi-Ip7WPMi0') format('woff');\n}\n\nbody {\n    font-family: 'PT Sans', 'museo sans', calibri, 'helvetica neue', helvetica, arial, sans-serif !important;\n}\n\n#content .a-A {\nwidth: 100% !important;\n}\n\n#content .a-p-M-T-gi-xc  {\nwidth: 72%  !important;\n}\n\n#content .a-f-n-A  {\nwidth: auto !important;\n}\n\n#content .a-f-p  {\nwidth: auto !important;\n}\n\n#contentPane.a-p-M-T-gi-xc [id^=update-],\n.a-f-i.a-f-oi-Ai {\nfloat: left !important;\nclear: none !important;\nborder-top: 1px solid #999 !important;\nwidth: 46% !important;\nmax-width: 100% !important;\n}\n#contentPane.a-p-M-T-gi-xc [id^=update-]:nth-child(n+1) {\nmargin-right:2px !important;\n}\n\n#contentPane.a-p-M-T-gi-xc [id^=update-]:nth-child(2n+1) {\nclear:left !important;\n}\n\n#contentPane.a-p-M-T-gi-xc [id^=update-] img,\n#contentPane.a-p-M-T-gi-xc [id^=update-] iframe,\n#contentPane.a-p-M-T-gi-xc [id^=update-] object,\n#contentPane.a-p-M-T-gi-xc [id^=update-] embed,\n#contentPane.a-p-M-T-gi-xc [id^=update-] audio,\n#contentPane.a-p-M-T-gi-xc [id^=update-] video {\nmax-width: 100%;\n}\n\n\n#contentPane.a-p-M-T-gi-xc .a-f-zd-gb-A {\nclear: both;\n}\n\n\nbody {\ncounter-reset: update;\n}\n\n\n#contentPane.a-p-M-T-gi-xc [id^=update-] {\ncounter-increment: update;\n}\n#contentPane.a-p-M-T-gi-xc [id^=update-]:before {\ncontent: counter(update);\nposition: absolute; top: 13px; left: 2px;\nfont-family: 'american typewriter',georgia !important;\nfont-size: 1em !important;\ncolor: #ccc !important;\ncolor: rgba(0,0,0,0.4) !important;\npointer-events: none;\n-webkit-transition: all 1s;\n-moz-transition: all 1s;\ntransition: all 1s;\n\n-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0);\n-moz-box-shadow: 0px 0px 10px rgba(0,0,0,0);\n-o-box-shadow: 0px 0px 10px rgba(0,0,0,0);\nbox-shadow: 0px 0px 10px rgba(0,0,0,0);\n\n\n\n\n\n}\n\n#contentPane.a-p-M-T-gi-xc [id^=update-]:hover {\n-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.2);\n-moz-box-shadow: 0px 0px 10px rgba(0,0,0,0.2);\n-o-box-shadow: 0px 0px 10px rgba(0,0,0,0.2);\nbox-shadow: 0px 0px 10px rgba(0,0,0,0.2);\n}\n#contentPane.a-p-M-T-gi-xc [id^=update-]:hover:before {\ncolor: #3C6DCE !important;\n}\n\n\n@media (min-width: 1451px) {\n#contentPane.a-p-M-T-gi-xc [id^=update-],\n.a-f-i.a-f-oi-Ai {\nwidth:32% !important;\n}\n\n#contentPane.a-p-M-T-gi-xc [id^=update-]:nth-child(2n+1) { \nclear:none !important;\n}\n\n#contentPane.a-p-M-T-gi-xc [id^=update-]:nth-child(3n+1) {\nclear:left !important;\n}\n\n}\n\n\n\n@media (min-width: 1300px) and (max-width:1450px) {\n#contentPane.a-p-M-T-gi-xc [id^=update-],\n.a-f-i.a-f-oi-Ai {\nwidth:47% !important;\n}\n\n#contentPane.a-p-M-T-gi-xc .a-p-M-T-gi-xc  {\nwidth: 62% !important;\n}\n\n}\n\n@media (min-width: 701px) and (max-width:1299px) {\n#contentPane.a-p-M-T-gi-xc [id^=update-],\n.a-f-i.a-f-oi-Ai {\nwidth:47% !important;\n}\n\n#contentPane.a-p-M-T-gi-xc .a-p-M-T-gi-xc  {\nwidth: 60% !important;\n}\n}\n\n\n@media (max-width:990px) {\n#contentPane.a-p-M-T-gi-xc [id^=update-],\n.a-f-i.a-f-oi-Ai {\nwidth:auto !important;\nmax-width: 100% !important;\n}\n\n#contentPane.a-p-M-T-gi-xc .a-p-M-T-gi-xc  {\nwidth: 55% !important;\n}\n\n}\n\n\n#contentPane [data-content-url] {\nheight: auto !important;\nmax-width: 100% !important;\n}\n\n\n.a-p-M-T-hk-xc {\nmargin: 0 auto;\n}\n\n\n#contentPane .vcard [id^=update-] {\n\nwidth: auto !important;\nfloat:none;\n\n}";
if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
	PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		var node = document.createElement("style");
		node.type = "text/css";
		node.appendChild(document.createTextNode(css));
		heads[0].appendChild(node); 
	}
}
})();
