Difference between revisions of "MediaWiki:Common.js"

From 24PinTech Wiki
Jump to navigation Jump to search
Line 12: Line 12:
   e2.style.border = "1px solid rgba(234, 236, 240, 1)";
   e2.style.border = "1px solid rgba(234, 236, 240, 1)";
   e2.style["font-family"] = "'Courier', monospace";
   e2.style["font-family"] = "'Courier', monospace";
   e2.style.padding = "5px";
   //e2.style.padding = "5px";
}());
}());

Revision as of 23:37, 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.getElementById('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";
}());