Site Notice

hello, world

Difference between revisions of "MediaWiki:Css-prettify.css"

From Project-EPB Commons
(Created page with ".hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83}.hljs-comment,.hljs-quote{color:#93a1a1}.hljs-keyword,.hljs-selector-tag,.hljs-addition{color...")
 
m ([InPageEdit] 没有编辑摘要)
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83}.hljs-comment,.hljs-quote{color:#93a1a1}.hljs-keyword,.hljs-selector-tag,.hljs-addition{color:#859900}.hljs-number,.hljs-string,.hljs-meta .hljs-meta-string,.hljs-literal,.hljs-doctag,.hljs-regexp{color:#2aa198}.hljs-title,.hljs-section,.hljs-name,.hljs-selector-id,.hljs-selector-class{color:#268bd2}.hljs-attribute,.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-class .hljs-title,.hljs-type{color:#b58900}.hljs-symbol,.hljs-bullet,.hljs-subst,.hljs-meta,.hljs-meta .hljs-keyword,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-link{color:#cb4b16}.hljs-built_in,.hljs-deletion{color:#dc322f}.hljs-formula{background:#eee8d5}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:bold}
+
/**
 +
*『Wjghj Project Static』
 +
* This _CascadingStyleSheets_ code is from https://common.wjghj.cn
 +
* Theme for Prettify.js - Wjghj default theme
 +
**/
 +
/** 类型块 **/
 +
.prettyprint .pln {
 +
  color: #1b1ea4;
 +
}
 +
.prettyprint .str {
 +
  color: #080;
 +
}
 +
.prettyprint .kwd {
 +
  color: #9b1001;
 +
}
 +
.prettyprint .com {
 +
  color: #9a9a9a;
 +
}
 +
.prettyprint .typ {
 +
  color: #606
 +
}
 +
.prettyprint .lit {
 +
  color: #066
 +
}
 +
.prettyprint .pun,.opn,.clo {
 +
  color: #660
 +
}
 +
.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: #f8f9fa;
 +
  border: 2px dashed #0078c1;
 +
}
 +
.prettyprint ol.linenums {
 +
  #margin: 0;
 +
  #display: table;
 +
  width: 100%;
 +
}
 +
.prettyprint ol.linenums li {
 +
  list-style-type: unset;
 +
  background: #f8f9fa;
 +
  #display: table-row;
 +
}
 +
.prettyprint ol.linenums li:nth-of-type(2n-1) {
 +
  background: #eef4fa;
 +
}
 +
.prettyprint ol.linenums {
 +
  #margin: 0;
 +
  #list-style: none;
 +
  counter-reset: sectioncounter;
 +
}
 +
.prettyprint ol.linenums li:before {
 +
  display: none;
 +
  content: counter(sectioncounter);
 +
  counter-increment: sectioncounter;
 +
  text-align: center;
 +
  width: 3em;
 +
  line-height: 1;
 +
  color: #666;
 +
  border-right: 2px solid #7fcfff;
 +
}

Latest revision as of 11:22, 23 November 2019

/**
 *『Wjghj Project Static』
 * This _CascadingStyleSheets_ code is from https://common.wjghj.cn
 * Theme for Prettify.js - Wjghj default theme
 **/
/** 类型块 **/
.prettyprint .pln {
  color: #1b1ea4;
}
.prettyprint .str {
  color: #080;
}
.prettyprint .kwd {
  color: #9b1001;
}
.prettyprint .com {
  color: #9a9a9a;
}
.prettyprint .typ {
  color: #606
}
.prettyprint .lit {
  color: #066
}
.prettyprint .pun,.opn,.clo {
  color: #660
}
.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: #f8f9fa;
  border: 2px dashed #0078c1;
}
.prettyprint ol.linenums {
  #margin: 0;
  #display: table;
  width: 100%;
}
.prettyprint ol.linenums li {
  list-style-type: unset;
  background: #f8f9fa;
  #display: table-row;
}
.prettyprint ol.linenums li:nth-of-type(2n-1) {
  background: #eef4fa;
}
.prettyprint ol.linenums {
  #margin: 0;
  #list-style: none;
  counter-reset: sectioncounter;
}
.prettyprint ol.linenums li:before {
  display: none;
  content: counter(sectioncounter);
  counter-increment: sectioncounter;
  text-align: center;
  width: 3em;
  line-height: 1;
  color: #666;
  border-right: 2px solid #7fcfff;
}