summaryrefslogtreecommitdiff
path: root/assets/css/syntax.scss
diff options
context:
space:
mode:
authorjamie <git@skilet.ro>2025-10-15 08:52:08 +0100
committerjamie <git@skilet.ro>2025-10-15 08:52:08 +0100
commit6d8a7df95f53ef33691f70759489bd7e961a9973 (patch)
tree89f94f7f6b4b625e5a87244f6e68314bbc0c9be7 /assets/css/syntax.scss
parent49b15415e3d48d6e80a21d644fc3762fecfba0f5 (diff)
refactor: some "small" changes
Diffstat (limited to 'assets/css/syntax.scss')
-rw-r--r--assets/css/syntax.scss243
1 files changed, 243 insertions, 0 deletions
diff --git a/assets/css/syntax.scss b/assets/css/syntax.scss
new file mode 100644
index 0000000..42be310
--- /dev/null
+++ b/assets/css/syntax.scss
@@ -0,0 +1,243 @@
+a.sourceLine {
+ display: inline-block;
+ line-height: 1.25;
+}
+
+a.sourceLine {
+ pointer-events: none;
+ color: inherit;
+ text-decoration: inherit;
+}
+
+a.sourceLine:empty {
+ height: 1.2em;
+}
+
+.sourceCode {
+ overflow: visible;
+}
+
+code.sourceCode {
+ white-space: pre;
+ position: relative;
+}
+
+div.sourceCode {
+ margin: 1em 0;
+}
+
+pre.sourceCode {
+ margin: 0;
+}
+
+@media screen {
+ div.sourceCode {
+ overflow: auto;
+ }
+}
+
+@media print {
+ code.sourceCode {
+ white-space: pre-wrap;
+ }
+
+ a.sourceLine {
+ text-indent: -1em;
+ padding-left: 1em;
+ }
+}
+
+pre.numberSource a.sourceLine {
+ position: relative;
+ left: -4em;
+}
+
+pre.numberSource a.sourceLine::before {
+ content: attr(title);
+ position: relative;
+ left: -1em;
+ text-align: right;
+ vertical-align: baseline;
+ border: none;
+ pointer-events: all;
+ display: inline-block;
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ padding: 0 4px;
+ width: 4em;
+ color: #aaaaaa;
+}
+
+pre.numberSource {
+ margin-left: 3em;
+ border-left: 1px solid #aaaaaa;
+ padding-left: 4px;
+}
+
+div.sourceCode {
+}
+
+@media screen {
+ a.sourceLine::before {
+ text-decoration: underline;
+ }
+}
+
+code span.al {
+ color: #f85858;
+ font-weight: bold;
+}
+
+/* Alert */
+code span.an {
+ color: #3dddd8;
+ font-weight: bold;
+ font-style: italic;
+}
+
+/* Annotation */
+code span.at {
+ color: #2ac68e;
+}
+
+/* Attribute */
+code span.bn {
+ color: #2ac68e;
+}
+
+/* BaseN */
+code span.bu {
+}
+
+/* BuiltIn */
+code span.cf {
+ color: #2ac68e;
+ font-weight: bold;
+}
+
+/* ControlFlow */
+code span.ch {
+ color: #008ce3;
+}
+
+/* Char */
+code span.cn {
+ color: #f85858;
+}
+
+/* Constant */
+code span.co {
+ color: #3dddd8;
+ font-style: italic;
+}
+
+/* Comment */
+code span.cv {
+ color: #3dddd8;
+ font-weight: bold;
+ font-style: italic;
+}
+
+/* CommentVar */
+code span.do {
+ color: #f85858;
+ font-style: italic;
+}
+
+/* Documentation */
+code span.dt {
+ color: #f85858;
+}
+
+/* DataType */
+code span.dv {
+ color: #2ac68e;
+}
+
+/* DecVal */
+code span.er {
+ color: #f85858;
+ font-weight: bold;
+}
+
+/* Error */
+code span.ex {
+}
+
+/* Extension */
+code span.fl {
+ color: #40a070;
+}
+
+/* Float */
+code span.fu {
+ color: #008ce3;
+}
+
+/* Function */
+code span.im {
+}
+
+/* Import */
+code span.in {
+ color: #3dddd8;
+ font-weight: bold;
+ font-style: italic;
+}
+
+/* Information */
+code span.kw {
+ color: #2ac68e;
+ font-weight: bold;
+}
+
+/* Keyword */
+code span.op {
+ color: #aaaaaa;
+}
+
+/* Operator */
+code span.ot {
+ color: #2ac68e;
+}
+
+/* Other */
+code span.pp {
+ color: #ff8a00;
+}
+
+/* Preprocessor */
+code span.sc {
+ color: #4070a0;
+}
+
+/* SpecialChar */
+code span.ss {
+ color: #008ce3;
+}
+
+/* SpecialString */
+code span.st {
+ color: #008ce3;
+}
+
+/* String */
+code span.va {
+ color: #008ce3;
+}
+
+/* Variable */
+code span.vs {
+ color: #008ce3;
+}
+
+/* VerbatimString */
+code span.wa {
+ color: #3dddd8;
+ font-weight: bold;
+ font-style: italic;
+}