Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
| Line 7: | Line 7: | ||
e.style["font-weight"] = "700"; | e.style["font-weight"] = "700"; | ||
var e2 = document. | var e2 = document.getElementsByClassName('cde'); | ||
e2.style.color = "rgba(0, 0, 0, 1)"; | e2.style.color = "rgba(0, 0, 0, 1)"; | ||
e2.style["background-color"] = "rgba(248, 249, 250, 1)"; | e2.style["background-color"] = "rgba(248, 249, 250, 1)"; | ||
Revision as of 23:50, 28 February 2018
/* Any JavaScript here will be loaded for all users on every page load. */
$(function () {
var e = document.getElementById('wip');
e.style["font-size"] = "32px";
e.style["vertical-align"] = "center";
e.style["font-weight"] = "700";
var e2 = document.getElementsByClassName('cde');
e2.style.color = "rgba(0, 0, 0, 1)";
e2.style["background-color"] = "rgba(248, 249, 250, 1)";
e2.style.border = "1px solid rgba(234, 236, 240, 1)";
e2.style["font-family"] = "'Courier', monospace";
e2.style.padding = "5px";
}());