mirror of
https://github.com/Nathanwoodburn/hnschat-web.git
synced 2025-01-19 04:08:12 +11:00
123 lines
1.7 KiB
CSS
123 lines
1.7 KiB
CSS
|
/*!
|
||
|
Theme: Default
|
||
|
Description: Original highlight.js style
|
||
|
Author: (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
|
||
|
Maintainer: @highlightjs/core-team
|
||
|
Website: https://highlightjs.org/
|
||
|
License: see project LICENSE
|
||
|
Touched: 2021
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
This is left on purpose making default.css the single file that can be lifted
|
||
|
as-is from the repository directly without the need for a build step
|
||
|
|
||
|
Typically this "required" baseline CSS is added by `makestuff.js` during build.
|
||
|
*/
|
||
|
pre code.hljs {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
/* end baseline CSS */
|
||
|
|
||
|
/* Base color: saturation 0; */
|
||
|
|
||
|
.hljs-subst {
|
||
|
/* default */
|
||
|
}
|
||
|
|
||
|
/* purposely ignored */
|
||
|
.hljs-formula,
|
||
|
.hljs-attr,
|
||
|
.hljs-property,
|
||
|
.hljs-params {}
|
||
|
|
||
|
.hljs-comment {
|
||
|
color: #7a7a7a;
|
||
|
}
|
||
|
.hljs-tag,
|
||
|
.hljs-punctuation {
|
||
|
color: #7a7a7a;
|
||
|
}
|
||
|
|
||
|
.hljs-tag .hljs-name,
|
||
|
.hljs-tag .hljs-attr {
|
||
|
color: #fff;
|
||
|
}
|
||
|
|
||
|
|
||
|
.hljs-keyword,
|
||
|
.hljs-attribute,
|
||
|
.hljs-selector-tag,
|
||
|
.hljs-meta .hljs-keyword,
|
||
|
|
||
|
.hljs-doctag,
|
||
|
.hljs-name {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* User color: hue: 0 */
|
||
|
|
||
|
.hljs-type,
|
||
|
.hljs-string,
|
||
|
.hljs-number,
|
||
|
.hljs-selector-id,
|
||
|
.hljs-selector-class,
|
||
|
.hljs-quote,
|
||
|
.hljs-template-tag,
|
||
|
.hljs-deletion {
|
||
|
color: #409aed;
|
||
|
}
|
||
|
|
||
|
.hljs-title,
|
||
|
.hljs-section {
|
||
|
color: #409aed;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.hljs-regexp,
|
||
|
.hljs-symbol,
|
||
|
.hljs-variable,
|
||
|
.hljs-template-variable,
|
||
|
.hljs-link,
|
||
|
.hljs-selector-attr,
|
||
|
.hljs-operator,
|
||
|
.hljs-selector-pseudo {
|
||
|
color: #40ed50;
|
||
|
}
|
||
|
|
||
|
/* Language color: hue: 90; */
|
||
|
|
||
|
.hljs-literal {
|
||
|
color: #db4437;
|
||
|
}
|
||
|
|
||
|
.hljs-built_in,
|
||
|
.hljs-bullet,
|
||
|
.hljs-code,
|
||
|
.hljs-addition {
|
||
|
color: #397300;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Meta color: hue: 200 */
|
||
|
|
||
|
.hljs-meta {
|
||
|
color: #7a7a7a;
|
||
|
}
|
||
|
|
||
|
.hljs-meta .hljs-string {
|
||
|
color: #38a;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Misc effects */
|
||
|
|
||
|
.hljs-emphasis {
|
||
|
font-style: italic;
|
||
|
}
|
||
|
|
||
|
.hljs-strong {
|
||
|
font-weight: bold;
|
||
|
}
|