feat: add revisions to detail page

This commit is contained in:
Mathias Schopmans
2024-02-22 17:03:21 +01:00
committed by Mathias Schopmans
parent 0aa51f2db4
commit d5cb8410e7
11 changed files with 276 additions and 13 deletions

View File

@@ -7,6 +7,7 @@
--foreground: #fff;
--background: #173d7a;
--text: #575757;
--highlight: #029df7;
--border: rgba(255, 255, 255, 0.1);
@@ -95,6 +96,14 @@ ol {
margin-bottom: 1em;
}
pre {
margin-bottom: 1em;
}
code {
font-family: var(--font-mono);
}
input {
background: var(--foreground);
color: var(--background);

96
src/styles/hljs.css Normal file
View File

@@ -0,0 +1,96 @@
.hljs-subst {
/* var(--highlight-color) */
color: #2f3337;
}
.hljs-comment {
/* var(--highlight-comment) */
color: #656e77;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-meta .hljs-keyword,
.hljs-doctag,
.hljs-section {
/* var(--highlight-keyword) */
color: #015692;
}
.hljs-attr {
/* var(--highlight-attribute); */
color: #015692;
}
.hljs-attribute {
/* var(--highlight-symbol) */
color: #803378;
}
.hljs-name,
.hljs-type,
.hljs-number,
.hljs-selector-id,
.hljs-quote,
.hljs-template-tag {
/* var(--highlight-namespace) */
color: #b75501;
}
.hljs-selector-class {
/* var(--highlight-keyword) */
color: #015692;
}
.hljs-string,
.hljs-regexp,
.hljs-symbol,
.hljs-variable,
.hljs-template-variable,
.hljs-link,
.hljs-selector-attr {
/* var(--highlight-variable) */
color: #54790d;
}
.hljs-meta,
.hljs-selector-pseudo {
/* var(--highlight-keyword) */
color: #015692;
}
.hljs-built_in,
.hljs-title,
.hljs-literal {
/* var(--highlight-literal) */
color: #b75501;
}
.hljs-bullet,
.hljs-code {
/* var(--highlight-punctuation) */
color: #535a60;
}
.hljs-meta .hljs-string {
/* var(--highlight-variable) */
color: #54790d;
}
.hljs-deletion {
/* var(--highlight-deletion) */
color: #c02d2e;
}
.hljs-addition {
/* var(--highlight-addition) */
color: #2f6f44;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}