1
0
wiki/static/style/highlight.css
2026-07-10 23:10:35 +02:00

99 lines
1.9 KiB
CSS

/* Ammalgamation of the gruvbox-light-hard and gruvbox-dark-hard base16 themes
for highlight.js */
pre code.hljs {
display: block;
overflow-x: auto;
padding:1em;
}
code.hljs {
padding: 3px 5px;
}
.hljs {
color: light-dark(#504945, #d5c4a1);
background: light-dark(#f9f5d7, #1d2021);
}
.hljs ::selection,
.hljs::selection {
background-color: light-dark(#504945, #d5c4a1);
color: light-dark(#d5c4a1, #504945);
}
.hljs-comment {
color: light-dark(#bdae93, #665c54);
}
.hljs-tag {
color: light-dark(#665c54, #bdae93);
}
.hljs-operator,
.hljs-punctuation,
.hljs-subst {
color: light-dark(#504945, #d5c4a1);
}
.hljs-operator {
opacity: .7;
}
.hljs-bullet,
.hljs-deletion,
.hljs-name,
.hljs-selector-tag,
.hljs-template-variable,
.hljs-variable {
color: light-dark(#9d0006, #fb4934);
}
.hljs-attr,
.hljs-link,
.hljs-literal,
.hljs-number,
.hljs-symbol,
.hljs-variable.constant_ {
color: light-dark(#af3a03, #fe8019);
}
.hljs-class .hljs-title,
.hljs-title,
.hljs-title.class_ {
color: light-dark(#b57614, #fabd2f);
}
.hljs-strong {
font-weight: 900;
color: light-dark(#b57614, #fabd2f);
}
.hljs-addition,
.hljs-code,
.hljs-string,
.hljs-title.class_.inherited__ {
color: light-dark(#79740e, #b8bb26);
}
.hljs-built_in,
.hljs-doctag,
.hljs-keyword.hljs-atrule,
.hljs-quote,
.hljs-regexp {
color: light-dark(#427b58, #8ec07c);
}
.hljs-attribute,
.hljs-function
.hljs-title,
.hljs-section,
.hljs-title.function_,
.ruby .hljs-property {
color: light-dark(#076678, #83a598);
}
.diff .hljs-meta,
.hljs-keyword,
.hljs-template-tag,
.hljs-type {
color: light-dark(#8f3f71, #d3869b);
}
.hljs-emphasis {
color: light-dark(#8f3f71, #d3869b);
font-style: italic;
}
.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string {
color: #d65d0e;
}
.hljs-meta .hljs-keyword,
.hljs-meta-keyword {
font-weight: 900
}