User:Aesulus/common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 20:
// the stylesheet
const style = document.createElement('style');
style.textContent = `'\
.mw-wiki-logo {\
background-image: url(https://static.miraheze.org/hololivewiki/c/c5/Nousagi_02.png);\
}\
#pekofyButton {\
filter: drop-shadow(5px 10px 3px gray);\
}\
#pekofyButton:hover circle {\
fill: #3584e4;\
}\
#pekofyButton:active {\
transform: translateY(5px);\
filter: drop-shadow(5px 5px 3px gray);\
}\
#pekofyButton:active circle {\
fill: #3584e4 !important;\
}\
body:not(.isPeko) #pekofyButtonCircle {\
fill: black;\
}\
body:not(.isPeko) #pekofyButtonCarrot, body:not(.isPeko) #pekofyButtonStem {\
fill: white;\
}';
`
document.body.appendChild(style);