Site Notice

hello, world

MediaWiki:Css-prettify/dark.css

From Project-EPB Commons

Invoke this: https://common.wjghj.cn/css/{{#replace:{{#replace:Css-prettify/dark.css|Css-|}}|.css|}}

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/**
 *『Wjghj Project Static』
 * This _CascadingStyleSheets_ code is from https://common.wjghj.cn
 * Theme for Prettify.js - Wjghj dark theme
 **/
/** 类型块 **/
.prettyprint .pln {
  color: #f0d6a1;
}
.prettyprint .str {
  color: #080;
}
.prettyprint .kwd {
  color: #dd4644;
}
.prettyprint .com {
  color: #9a9a9a;
}
.prettyprint .typ {
  color: #606
}
.prettyprint .lit {
  color: #fd8b19;
}
.prettyprint .pun,.opn,.clo {
  color: #f6a76e;
}
.prettyprint .tag {
  color: #008
}
.prettyprint .atn {
  color: #606
}
.prettyprint .atv {
  color: #080
}
.prettyprint .dec,
.prettyprint .var {
  color: #606
}
.prettyprint .fun {
  color: red
}
 
/** 代码块 **/
pre.prettyprint {
  padding: 2px;
  background: transparent;
  border: 2px dashed #2b303b;
}
.prettyprint ol.linenums {
  margin: 0;
  display: table;
  width: 100%;
}
.prettyprint ol.linenums li {
  list-style-type: unset;
  background: #444444;
  display: table-row;
}
.prettyprint ol.linenums li:nth-of-type(2n-1) {
  background: #4a4a4a;
}
.prettyprint ol.linenums {
  margin: 0;
  list-style: none;
  counter-reset: sectioncounter;
}
.prettyprint ol.linenums li:before {
  display: table-cell;
  content: counter(sectioncounter);
  counter-increment: sectioncounter;
  text-align: center;
  width: 3em;
  line-height: 1;
  color: #aaaaaa;
  border-right: 2px solid #252525;
}