Collapse the Greasy Fork Header

Collapse the Greasy Fork Header - remove image, make title text smaller and more subdued

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==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.24
// @run-at document-end
// @license MIT
// @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*//*\n*//*\n*/form.inline-form button.google_oauth2-login {/*\n*/    background-color: #fff;/*\n*/    border: 0;/*\n*/    text-indent: 90000px;/*\n*/    width: 50px;/*\n*/    height: 50px;/*\n*/    padding: 10px;/*\n*/    background-image: url(https://i.imgur.com/6HweuVB.png);/*\n*/    background-size: 50px;/*\n*/    cursor: pointer;/*\n*/}/*\n*//*\n*//*\n*//*\n*/form.inline-form button.gitlab-login {/*\n*/    background-color: #fff;/*\n*/    border: 0;/*\n*/    text-indent: 90000px;/*\n*/    width: 50px;/*\n*/    height: 50px;/*\n*/    padding: 10px;/*\n*/    background-image: url(https://i.imgur.com/lr7CAiS.png);/*\n*/    background-size: 50px;/*\n*/    cursor: pointer;/*\n*/}/*\n*//*\n*/ /*\n*/form.inline-form button.github-login {/*\n*/    background-color: #fff;/*\n*/    border: 0;/*\n*/    text-indent: 90000px;/*\n*/    width: 50px;/*\n*/    height: 50px;/*\n*/    padding: 10px;/*\n*/    background-image: url(https://i.imgur.com/97PDoD0.png);/*\n*/    background-size: 50px;/*\n*/    cursor: pointer;/*\n*/}/*\n*//*\n*//*\n*//*\n*/  /*\n*/ .external-login-container button{    text-indent: -999999px !important ;     height: 60px !important ;    width: 60px !important ;} #main-header {     background-image: linear-gradient(#670000, #840000) !important;}          ';

document.getElementsByTagName('head')[0].appendChild(style);