Collapse the Greasy Fork Header - remove image, make title text smaller and more subdued
当前为
// ==UserScript==
// @name Collapse the Greasy Fork Header
// @namespace english
// @description Collapse the Greasy Fork Header - remove image, make title text smaller and more subdued
// @include http*://*greasyfork.org*
// @version 1.16
// @run-at document-start
// @grant GM_addStyle
// ==/UserScript==
// Main - Collapse the Greasy Fork Header
var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = ' #site-name img { display: none !important;}#main-header h1 { font-size: 32px !important; line-height: 150% !important;}#site-name a { font-size: 32px !important; line-height: 150% !important;}#Head #site-name-text h1 { line-height: 0.1em;}form.inline-form button.browser_id-login{ background-color: #fff;/*\n*/ border: 0;/*\n*/ text-indent: 90000px;/*\n*/ width: 50px;/*\n*/ height: 50px;/*\n*/ padding: 10px;/*\n*/ background-image: url(http://i.imgur.com/xtSWc9s.png); /*\n*/ background-size: 50px;/*\n*/ cursor: pointer;}/*\n*//*\n*/form.inline-form button.github-login{ background-color: #fff;/*\n*/ border: 0;/*\n*/ text-indent: 90000px;/*\n*/ width: 50px;/*\n*/ height: 50px;/*\n*/ padding: 10px;/*\n*/ background-image: url(http://i.imgur.com/0yhimDh.png); /*\n*/ background-size: 50px;/*\n*/ cursor: pointer;}/*\n*//*\n*/form.inline-form button.google_oauth2-login{ background-color: #fff;/*\n*/ border: 0;/*\n*/ text-indent: 90000px;/*\n*/ width: 50px;/*\n*/ height: 50px;/*\n*/ padding: 10px;/*\n*/ background-image: url(http://i.imgur.com/Fil271f.png); /*\n*/ background-size: 50px;/*\n*/ cursor: pointer;}/*\n*/ ';
document.getElementsByTagName('head')[0].appendChild(style);