New PHP Theme

Replace php.net to new theme

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         New PHP Theme
// @namespace    http://tampermonkey.net/
// @version      2
// @description  Replace php.net to new theme
// @author       SergoZar
// @match        *://*.php.net*
// @icon         https://notabug.org/SergoZar/new-php-icon/raw/572f5865302c8c3efbc147fe5dbd7b1c630aa1dd/php.png
// @license      GPLv3
// ==/UserScript==

(function() {
    'use strict';
    document.querySelectorAll("link[rel=icon]").forEach(item => {item.href="https://notabug.org/SergoZar/new-php-icon/raw/572f5865302c8c3efbc147fe5dbd7b1c630aa1dd/php.png"});
let style = document.createElement("style");
    style.innerHTML = `
:root {
    --orange: rgb(255,153,0);
    --dark-blue-color: var(--orange);
	--medium-blue-color: var(--orange);
    --light-blue-color: #FFF;
    --dark-magenta-color: #000;
  --medium-magenta-color: #000;
  --light-magenta-color: #000;
}

#layout-content a:link {
   color: var(--orange)
}

.hero-btn-secondary {
  color: var(--orange) !important;
  border: 1px solid var(--orange);
}


.navbar .nav > li > a {
  font-weight: bold;
}

.navbar .nav > li > a > img, .hero-logo{
  filter: brightness(0%);
}

`;
   document.body.append(style)
})();