User:Zyksnowy/common.js
Jump to navigation
Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
The accompanying .css page for this skin can be added at User:Zyksnowy/common.css. |
//syntax highlighter
mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-DotsSyntaxHighlighter.js&action=raw&ctype=text/javascript');
syntaxHighlighterConfig = {
timeout: 2000,
boldOrItalicColor: "gray",
wikilinkColor: "#E6FFFF", //cyan
externalLinkColor: "#FFCC66", //orange
listOrIndentColor: "#purple",
signatureColor: "red",
tableColor: "lime",//不能是黄色yellow…会和360浏览器页面内搜索功能重复
hrColor: "brown",
tagColor: "#FFC0CB",//十六进制颜色码_百度百科baike.baidu.com/view/644772.htm在很多软件中,都会遇到设定颜色值的问题,十六进制颜色码就是在软件中设定颜色值的代码 ... 深粉色. #FF1493. 255,20,147. MediumVioletRed. 适
commentColor: "#66CCFF", //天依蓝
entityColor: "magenta",
sourceTags: ["math", "syntaxhighlight", "source", "timeline", "hiero", "foo"],
};
//默认显示的编辑数: 50→500