2021-09-29 00:56:22 +00:00
|
|
|
/*! Congo v1.3.0 | MIT License | https://github.com/jpanther/congo */
|
2021-08-22 06:55:10 +00:00
|
|
|
|
2021-08-11 05:28:33 +00:00
|
|
|
@tailwind base;
|
|
|
|
@tailwind components;
|
|
|
|
|
2021-08-18 02:54:18 +00:00
|
|
|
body a,
|
|
|
|
body button {
|
|
|
|
@apply transition;
|
|
|
|
}
|
|
|
|
|
2021-08-11 05:28:33 +00:00
|
|
|
/* Scale SVG icons to text size */
|
|
|
|
.icon svg {
|
|
|
|
height: 1em;
|
|
|
|
width: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Heading anchors */
|
|
|
|
.prose .heading-anchor {
|
2021-08-13 07:17:32 +00:00
|
|
|
@apply absolute top-0 no-underline opacity-0;
|
|
|
|
width: 1.1em;
|
|
|
|
left: -1.1em;
|
2021-08-11 05:28:33 +00:00
|
|
|
}
|
|
|
|
.prose .heading-anchor:hover {
|
2021-08-13 07:17:32 +00:00
|
|
|
@apply underline bg-transparent text-primary-600;
|
2021-08-11 05:28:33 +00:00
|
|
|
}
|
2021-08-13 07:17:32 +00:00
|
|
|
.prose .heading-anchor:hover,
|
|
|
|
.prose .heading-anchor:focus,
|
2021-08-11 05:28:33 +00:00
|
|
|
.prose h2:hover > .heading-anchor,
|
|
|
|
.prose h3:hover > .heading-anchor,
|
|
|
|
.prose h4:hover > .heading-anchor {
|
|
|
|
@apply opacity-100;
|
|
|
|
}
|
|
|
|
|
2021-08-13 07:17:32 +00:00
|
|
|
/* Prose escape hatch */
|
2021-08-11 05:28:33 +00:00
|
|
|
.no-prose > p {
|
|
|
|
@apply mt-0 last:mb-0;
|
|
|
|
}
|
|
|
|
|
2021-08-18 02:54:18 +00:00
|
|
|
/* Article pagination */
|
|
|
|
.article-pagination a:hover .article-pagination-title {
|
|
|
|
@apply underline underline-primary-500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article-pagination a:hover .article-pagination-direction {
|
|
|
|
@apply text-primary-700 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
|
2021-08-11 05:28:33 +00:00
|
|
|
/* -- Chroma Highlight -- */
|
|
|
|
/* Background */
|
|
|
|
.prose .chroma {
|
2021-08-20 07:02:08 +00:00
|
|
|
@apply rounded-md text-neutral-700 bg-neutral-50 dark:bg-neutral-700 dark:text-neutral-200;
|
2021-08-11 05:28:33 +00:00
|
|
|
}
|
|
|
|
/* Other */
|
|
|
|
.chroma .x {
|
|
|
|
}
|
|
|
|
/* Error */
|
|
|
|
.chroma .err {
|
|
|
|
}
|
|
|
|
/* LineTableTD */
|
|
|
|
.chroma .lntd,
|
|
|
|
.chroma .lntd pre {
|
|
|
|
@apply p-0 m-0 align-top border-none;
|
|
|
|
}
|
|
|
|
/* LineTable */
|
|
|
|
.chroma .lntable {
|
|
|
|
@apply block w-auto px-4 py-3 overflow-hidden text-base;
|
|
|
|
border-spacing: 0;
|
|
|
|
}
|
|
|
|
/* LineHighlight */
|
|
|
|
.chroma .hl {
|
|
|
|
@apply block w-auto px-4 -mx-4 bg-primary-100 dark:bg-primary-900;
|
|
|
|
}
|
|
|
|
.chroma .lntd .hl {
|
|
|
|
@apply p-0 m-0;
|
|
|
|
}
|
|
|
|
/* LineNumbersTable */
|
|
|
|
.chroma .lnt {
|
2021-08-20 07:02:08 +00:00
|
|
|
@apply text-neutral-600 dark:text-neutral-300;
|
2021-08-11 05:28:33 +00:00
|
|
|
margin-right: 0.4em;
|
|
|
|
padding: 0 0.4em 0 0.4em;
|
|
|
|
}
|
|
|
|
/* LineNumbers */
|
|
|
|
.chroma .ln {
|
2021-08-20 07:02:08 +00:00
|
|
|
@apply text-neutral-600 dark:text-neutral-300;
|
2021-08-11 05:28:33 +00:00
|
|
|
margin-right: 0.4em;
|
|
|
|
padding: 0 0.4em 0 0.4em;
|
|
|
|
}
|
|
|
|
/* Keyword */
|
|
|
|
.chroma .k {
|
|
|
|
@apply text-primary-600 dark:text-primary-300;
|
|
|
|
}
|
|
|
|
/* KeywordConstant */
|
|
|
|
.chroma .kc {
|
|
|
|
@apply font-semibold text-secondary-400 dark:text-secondary-500;
|
|
|
|
}
|
|
|
|
/* KeywordDeclaration */
|
|
|
|
.chroma .kd {
|
|
|
|
@apply text-primary-600 dark:text-primary-300;
|
|
|
|
}
|
|
|
|
/* KeywordNamespace */
|
|
|
|
.chroma .kn {
|
|
|
|
@apply text-primary-600 dark:text-primary-300;
|
|
|
|
}
|
|
|
|
/* KeywordPseudo */
|
|
|
|
.chroma .kp {
|
|
|
|
@apply text-primary-600 dark:text-primary-300;
|
|
|
|
}
|
|
|
|
/* KeywordReserved */
|
|
|
|
.chroma .kr {
|
|
|
|
@apply text-primary-600 dark:text-primary-300;
|
|
|
|
}
|
|
|
|
/* KeywordType */
|
|
|
|
.chroma .kt {
|
|
|
|
@apply text-secondary-400 dark:text-secondary-600;
|
|
|
|
}
|
|
|
|
/* Name */
|
|
|
|
.chroma .n {
|
|
|
|
@apply text-secondary-900 dark:text-secondary-200;
|
|
|
|
}
|
|
|
|
/* NameAttribute */
|
|
|
|
.chroma .na {
|
|
|
|
@apply text-secondary-800 dark:text-secondary-300;
|
|
|
|
}
|
|
|
|
/* NameBuiltin */
|
|
|
|
.chroma .nb {
|
|
|
|
@apply text-secondary-800 dark:text-secondary-300;
|
|
|
|
}
|
|
|
|
/* NameBuiltinPseudo */
|
|
|
|
.chroma .bp {
|
|
|
|
@apply text-secondary-800 dark:text-secondary-300;
|
|
|
|
}
|
|
|
|
/* NameClass */
|
|
|
|
.chroma .nc {
|
|
|
|
@apply text-primary-600 dark:text-primary-300;
|
|
|
|
}
|
|
|
|
/* NameConstant */
|
|
|
|
.chroma .no {
|
|
|
|
@apply font-semibold text-secondary-400 dark:text-secondary-500;
|
|
|
|
}
|
|
|
|
/* NameDecorator */
|
|
|
|
.chroma .nd {
|
|
|
|
@apply text-secondary-900 dark:text-secondary-200;
|
|
|
|
}
|
|
|
|
/* NameEntity */
|
|
|
|
.chroma .ni {
|
|
|
|
@apply text-secondary-900 dark:text-secondary-200;
|
|
|
|
}
|
|
|
|
/* NameException */
|
|
|
|
.chroma .ne {
|
|
|
|
@apply font-semibold text-secondary-400 dark:text-secondary-500;
|
|
|
|
}
|
|
|
|
/* NameFunction */
|
|
|
|
.chroma .nf {
|
|
|
|
@apply text-secondary-600 dark:text-secondary-500;
|
|
|
|
}
|
|
|
|
/* NameFunctionMagic */
|
|
|
|
.chroma .fm {
|
|
|
|
@apply text-primary-600 dark:text-primary-300;
|
|
|
|
}
|
|
|
|
/* NameLabel */
|
|
|
|
.chroma .nl {
|
|
|
|
@apply text-secondary-900 dark:text-secondary-200;
|
|
|
|
}
|
|
|
|
/* NameNamespace */
|
|
|
|
.chroma .nn {
|
|
|
|
@apply text-primary-600 dark:text-primary-300;
|
|
|
|
}
|
|
|
|
/* NameOther */
|
|
|
|
.chroma .nx {
|
|
|
|
@apply text-secondary-800 dark:text-secondary-300;
|
|
|
|
}
|
|
|
|
/* NameProperty */
|
|
|
|
.chroma .py {
|
|
|
|
color: #cebc3a;
|
|
|
|
}
|
|
|
|
/* NameTag */
|
|
|
|
.chroma .nt {
|
|
|
|
@apply text-secondary-800 dark:text-secondary-300;
|
|
|
|
}
|
|
|
|
/* NameVariable */
|
|
|
|
.chroma .nv {
|
|
|
|
@apply text-secondary-400 dark:text-secondary-600;
|
|
|
|
}
|
|
|
|
/* NameVariableClass */
|
|
|
|
.chroma .vc {
|
|
|
|
@apply text-primary-600 dark:text-primary-300;
|
|
|
|
}
|
|
|
|
/* NameVariableGlobal */
|
|
|
|
.chroma .vg {
|
|
|
|
@apply font-semibold text-secondary-400 dark:text-secondary-500;
|
|
|
|
}
|
|
|
|
/* NameVariableInstance */
|
|
|
|
.chroma .vi {
|
|
|
|
@apply text-secondary-400 dark:text-secondary-600;
|
|
|
|
}
|
|
|
|
/* NameVariableMagic */
|
|
|
|
.chroma .vm {
|
|
|
|
@apply text-secondary-400 dark:text-secondary-600;
|
|
|
|
}
|
|
|
|
/* Literal */
|
|
|
|
.chroma .l {
|
|
|
|
@apply text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* LiteralDate */
|
|
|
|
.chroma .ld {
|
|
|
|
@apply text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* LiteralString */
|
|
|
|
.chroma .s {
|
|
|
|
@apply text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* LiteralStringAffix */
|
|
|
|
.chroma .sa {
|
|
|
|
@apply text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* LiteralStringBacktick */
|
|
|
|
.chroma .sb {
|
|
|
|
@apply text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* LiteralStringChar */
|
|
|
|
.chroma .sc {
|
|
|
|
@apply text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* LiteralStringDelimiter */
|
|
|
|
.chroma .dl {
|
|
|
|
@apply text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* LiteralStringDoc */
|
|
|
|
.chroma .sd {
|
|
|
|
@apply text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* LiteralStringDouble */
|
|
|
|
.chroma .s2 {
|
|
|
|
@apply text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* LiteralStringEscape */
|
|
|
|
.chroma .se {
|
|
|
|
@apply font-semibold text-secondary-400 dark:text-secondary-500;
|
|
|
|
}
|
|
|
|
/* LiteralStringHeredoc */
|
|
|
|
.chroma .sh {
|
|
|
|
@apply text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* LiteralStringInterpol */
|
|
|
|
.chroma .si {
|
|
|
|
@apply text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* LiteralStringOther */
|
|
|
|
.chroma .sx {
|
|
|
|
@apply text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* LiteralStringRegex */
|
|
|
|
.chroma .sr {
|
|
|
|
@apply font-semibold text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* LiteralStringSingle */
|
|
|
|
.chroma .s1 {
|
|
|
|
@apply text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* LiteralStringSymbol */
|
|
|
|
.chroma .ss {
|
|
|
|
@apply font-semibold text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* LiteralNumber */
|
|
|
|
.chroma .m {
|
|
|
|
@apply text-secondary-400 dark:text-secondary-600;
|
|
|
|
}
|
|
|
|
/* LiteralNumberBin */
|
|
|
|
.chroma .mb {
|
|
|
|
@apply text-secondary-400 dark:text-secondary-600;
|
|
|
|
}
|
|
|
|
/* LiteralNumberFloat */
|
|
|
|
.chroma .mf {
|
|
|
|
@apply text-secondary-400 dark:text-secondary-600;
|
|
|
|
}
|
|
|
|
/* LiteralNumberHex */
|
|
|
|
.chroma .mh {
|
|
|
|
@apply text-secondary-400 dark:text-secondary-600;
|
|
|
|
}
|
|
|
|
/* LiteralNumberInteger */
|
|
|
|
.chroma .mi {
|
|
|
|
@apply text-secondary-400 dark:text-secondary-600;
|
|
|
|
}
|
|
|
|
/* LiteralNumberIntegerLong */
|
|
|
|
.chroma .il {
|
|
|
|
@apply text-secondary-400 dark:text-secondary-600;
|
|
|
|
}
|
|
|
|
/* LiteralNumberOct */
|
|
|
|
.chroma .mo {
|
|
|
|
@apply text-secondary-400 dark:text-secondary-600;
|
|
|
|
}
|
|
|
|
/* Operator */
|
|
|
|
.chroma .o {
|
|
|
|
@apply text-primary-600;
|
|
|
|
}
|
|
|
|
/* OperatorWord */
|
|
|
|
.chroma .ow {
|
|
|
|
@apply font-semibold text-primary-400 dark:text-primary-600;
|
|
|
|
}
|
|
|
|
/* Punctuation */
|
|
|
|
.chroma .p {
|
|
|
|
}
|
|
|
|
/* Comment */
|
|
|
|
.chroma .c {
|
2021-08-20 07:02:08 +00:00
|
|
|
@apply italic text-neutral-400 dark:text-neutral-500;
|
2021-08-11 05:28:33 +00:00
|
|
|
}
|
|
|
|
/* CommentHashbang */
|
|
|
|
.chroma .ch {
|
2021-08-20 07:02:08 +00:00
|
|
|
@apply italic font-semibold text-neutral-400 dark:text-neutral-500;
|
2021-08-11 05:28:33 +00:00
|
|
|
}
|
|
|
|
/* CommentMultiline */
|
|
|
|
.chroma .cm {
|
2021-08-20 07:02:08 +00:00
|
|
|
@apply italic text-neutral-400 dark:text-neutral-500;
|
2021-08-11 05:28:33 +00:00
|
|
|
}
|
|
|
|
/* CommentSingle */
|
|
|
|
.chroma .c1 {
|
2021-08-20 07:02:08 +00:00
|
|
|
@apply italic text-neutral-400 dark:text-neutral-500;
|
2021-08-11 05:28:33 +00:00
|
|
|
}
|
|
|
|
/* CommentSpecial */
|
|
|
|
.chroma .cs {
|
2021-08-20 07:02:08 +00:00
|
|
|
@apply italic text-neutral-400 dark:text-neutral-500;
|
2021-08-11 05:28:33 +00:00
|
|
|
}
|
|
|
|
/* CommentPreproc */
|
|
|
|
.chroma .cp {
|
2021-08-20 07:02:08 +00:00
|
|
|
@apply italic text-neutral-400 dark:text-neutral-500;
|
2021-08-11 05:28:33 +00:00
|
|
|
}
|
|
|
|
/* CommentPreprocFile */
|
|
|
|
.chroma .cpf {
|
2021-08-20 07:02:08 +00:00
|
|
|
@apply italic text-neutral-400 dark:text-neutral-500;
|
2021-08-11 05:28:33 +00:00
|
|
|
}
|
|
|
|
/* Generic */
|
|
|
|
.chroma .g {
|
|
|
|
}
|
|
|
|
/* GenericDeleted */
|
|
|
|
.chroma .gd {
|
|
|
|
}
|
|
|
|
/* GenericEmph */
|
|
|
|
.chroma .ge {
|
|
|
|
@apply italic;
|
|
|
|
}
|
|
|
|
/* GenericError */
|
|
|
|
.chroma .gr {
|
|
|
|
}
|
|
|
|
/* GenericHeading */
|
|
|
|
.chroma .gh {
|
2021-08-20 07:02:08 +00:00
|
|
|
@apply font-semibold text-neutral-500;
|
2021-08-11 05:28:33 +00:00
|
|
|
}
|
|
|
|
/* GenericInserted */
|
|
|
|
.chroma .gi {
|
|
|
|
@apply text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* GenericOutput */
|
|
|
|
.chroma .go {
|
|
|
|
@apply text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* GenericPrompt */
|
|
|
|
.chroma .gp {
|
|
|
|
@apply text-primary-800 dark:text-primary-400;
|
|
|
|
}
|
|
|
|
/* GenericStrong */
|
|
|
|
.chroma .gs {
|
|
|
|
@apply font-semibold;
|
|
|
|
}
|
|
|
|
/* GenericSubheading */
|
|
|
|
.chroma .gu {
|
2021-08-20 07:02:08 +00:00
|
|
|
@apply text-neutral-500;
|
2021-08-11 05:28:33 +00:00
|
|
|
}
|
|
|
|
/* GenericTraceback */
|
|
|
|
.chroma .gt {
|
2021-08-20 07:02:08 +00:00
|
|
|
@apply text-neutral-500;
|
2021-08-11 05:28:33 +00:00
|
|
|
}
|
|
|
|
/* GenericUnderline */
|
|
|
|
.chroma .gl {
|
|
|
|
@apply underline;
|
|
|
|
}
|
|
|
|
/* TextWhitespace */
|
|
|
|
.chroma .w {
|
|
|
|
}
|
|
|
|
|
|
|
|
@tailwind utilities;
|