css Gist主题的模板

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css Gist主题的模板相关的知识,希望对你有一定的参考价值。

/* 
 * https://github.com/StylishThemes/GitHub-Dark/issues/197#issuecomment-63095957
 */
.pl-coc        /* constant.other.color */,
.pl-entl       /* entity.name.tag.label */,
.pl-entm       /* entity.name.type.module */,
.pl-eoa        /* entity.other.attribute-name */,
.pl-mai .pl-sf /* meta.at-rule.include support.function */,
.pl-mm         /* meta.module-reference */,
.pl-pdv        /* punctuation.definition.variable */,
.pl-sc         /* support.class */,
.pl-som        /* support.other.module */,
.pl-sr         /* string.regexp */,
.pl-v          /* variable */,
.pl-vpf        /* variable.parameter.function */ {
  color: $base0c;
}

.pl-eoac /* entity.other.attribute-name.class */,
.pl-mdht /* meta.diff.header.to-file */,
.pl-mi1  /* markup.inserted */,
.pl-mri  /* markup.raw.inline */,
.pl-va   /* variable.assignment */,
.pl-vpu  /* variable.parameter.url */ {
  color: $base0b;
}

.pl-c   /* comment */,
.pl-pdc /* punctuation.definition.comment */ {
  color: $base04;
  font-style: italic;
}

.pl-k    /* keyword */,
.pl-ko   /* keyword.operator */,
.pl-kolp /* keyword.operator.logical.python */,
.pl-mc   /* markup.changed */,
.pl-mr   /* meta.require */,
.pl-ms   /* meta.selector */,
.pl-s    /* storage */,
.pl-sok  /* support.other.keyword */,
.pl-st   /* support.type */ {
  color: $base0e;
}

.pl-ef   /* entity.function */,
.pl-enf  /* entity.name.function */,
.pl-enm  /* entity.name.method-name */,
.pl-entc /* entity.name.type.class */,
.pl-eoi  /* entity.other.inherited-class */,
.pl-sf   /* support.function */,
.pl-smc  /* storage.modifier.c */ {
  color: $base0a;
}

.pl-ens        /* entity.name.section */,
.pl-eoai       /* entity.other.attribute-name.id */,
.pl-kos        /* keyword.other.special-method */,
.pl-mh .pl-pdh /* markup.heading punctuation.definition.heading */,
.pl-mp         /* meta.property-name */,
.pl-pde        /* punctuation.definition.entity */,
.pl-stp        /* support.type.property-name */ {
  color: $base0d;
}

.pl-enti /* entity.name.type.instance */ {
  color: $base0a;
  font-weight: bold;
}

.pl-cce /* constant.character.escape */,
.pl-enc /* entity.name.class */,
.pl-kou /* keyword.other.unit */,
.pl-mq  /* markup.quote */ {
  color: $base09;
}

.pl-mp1 .pl-sf /* meta.property-value support.function */ {
  color: $base0d;
  font-weight: bold;
}

.pl-cos  /* constant.other.symbol */,
.pl-ent  /* entity.name.tag */,
.pl-md   /* markup.deleted */,
.pl-mdhf /* meta.diff.header.from-file */,
.pl-ml   /* markup.list */,
.pl-pdc1 /* punctuation.definition.constant */,
.pl-pds  /* punctuation.definition.string */,
.pl-s1   /* string */,
.pl-scp  /* support.constant.property-value */,
.pl-sol  /* string.other.link */ {
  color: $base08;
}

.pl-c1         /* constant */,
.pl-cn         /* constant.numeric */,
.pl-pse        /* punctuation.section.embedded */,
.pl-pse .pl-s2 /* punctuation.section.embedded source */,
.pl-vi         /* variable.interpolation */ {
  color: $base0f;
}

.pl-mb  /* markup.bold */,
.pl-pdb /* punctuation.definition.bold */ {
  color: $base08;
  font-weight: bold;
}

.pl-mi  /* markup.italic */,
.pl-pdi /* punctuation.definition.italic */ {
  color: $base0e;
  font-style: italic;
}

.pl-ms1 /* meta.separator */ {
  background-color: $base06;
}

.pl-mdh /* meta.diff.header */,
.pl-mdi /* meta.diff.index */ {
  font-weight: bold;
}

.pl-mdr /* meta.diff.range */ {
  color: $base0c;
  font-weight: bold;
}

.pl-s2 /* source */ {
  color: $base00;
}

.pl-ii /* invalid.illegal */ {
  background-color: $base08;
  color: $base07;
}

.pl-ib /* invalid.broken */ {
  background-color: $base09;
}

.pl-id /* invalid.deprecated */ {
  background-color: $base0f;
  color: $base07;
}

.pl-iu /* invalid.unimplemented */ {
  background-color: $base04;
}

.pl-mo /* meta.output */ {
  color: $base03;
}

以上是关于css Gist主题的模板的主要内容,如果未能解决你的问题,请参考以下文章

css WordPress - 儿童主题 - style.css模板

css 主题开发的最小模板文件

将自定义 css 添加到 wordpress 中的页面模板

css 儿童主题模板

css WordPress - 儿童主题模板(适用于网络代理商)

javascript 强制打开新标签Gist Github页脚/元链接 - 子主题wp_enqueue_script功能