Jump to content

MediaWiki:Vector-2022.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
/* Adds all the CSS so that if JS doesn't load, nothing will change. */
/* Adds all the CSS so that if JS doesn't load, nothing will change. */
function addStyle(styleString) {
  const style = document.createElement('style');
  style.textContent = styleString;
  document.head.append(style);
}


addStyle(`
var styles = `
   /* Defaults to the nonbinary flag */
   /* Defaults to the nonbinary flag */
#mw-head {
#mw-head {
Line 56: Line 51:
     padding: 0;
     padding: 0;
}
}
`);
`
 
var styleSheet = document.createElement("style")
styleSheet.innerText = styles
document.head.appendChild(styleSheet)


var picArr = {"neutrois": "https://static.miraheze.org/nonbinarywiki/c/c1/Neutrois.png",
var picArr = {"neutrois": "https://static.miraheze.org/nonbinarywiki/c/c1/Neutrois.png",
Cookies help us deliver our services. By using our services, you agree to our use of cookies.