Today we got the new design at TeX - LaTeX Stack Exchange and I'd like to change the logo of the site (the red TEX at the top left) because it has the wrong colour and does not fit the other elements.
Furthermore, I'd like it to link to https://tex.stackexchange.com/questions
instead of https://tex.stackexchange.com
.
I already have a script to change the background image:
// ==UserScript==
// @name StackExchange, replace background
// @match *://tex.stackexchange.com/*
// @grant GM_addStyle
// @run-at document-start
// ==/UserScript==
GM_addStyle ( `
.site-header .site-header--container {
background-image:url("https://i.sstatic.net/1d1sg.png") !important;
}
` );
Can this somehow be extended to replace:
<a class="site-header--link d-flex fs-headline1 fw-bold mln6" href="https://tex.stackexchange.com">
<img src="https://cdn.sstatic.net/Sites/tex/img/logo.svg?v=406da02f2f16" alt="TeX - LaTeX">
</a>
with:
<a class="site-header--link d-flex fs-headline1 fw-bold mln6" href="https://tex.stackexchange.com/questions">
<img src="https://i.sstatic.net/jd5iY.png" alt="TeX - LaTeX">
</a>
(Note the change of both URL and image)