From Fedora Project Wiki
(New page: (mystylefunction() { var css = "@namespace url(http://www.w3.org/1999/xhtml); #content { font-size: 1.1em; } pre { font-size: 105%; } #content code { font-size: 105%; }"; var heads = d...) |
(No difference)
|
Revision as of 13:34, 15 July 2008
(mystylefunction() { var css = "@namespace url(http://www.w3.org/1999/xhtml); #content { font-size: 1.1em; } pre { font-size: 105%; } #content code { font-size: 105%; }"; var heads = document.getElementsByTagName("head"); if (heads.length > 0) { var node = document.createElement("style"); node.type = "text/css"; node.appendChild(document.createTextNode(css)); heads[0].appendChild(node); } })();