aboutsummaryrefslogtreecommitdiffstats
path: root/build/static/styles
diff options
context:
space:
mode:
authorAhmed <git@gumx.cc>2026-06-18 00:12:03 +0300
committerAhmed <git@gumx.cc>2026-06-18 00:12:03 +0300
commit7936d6b77ec99ca407864554a4643f6801ee8464 (patch)
treefc1a8091c105015561b5d6709eaa1542afe40025 /build/static/styles
parent02ce43d0d68641ff86ec91237c628b3ae818b491 (diff)
fix: favicon and style, again
Diffstat (limited to 'build/static/styles')
-rw-r--r--build/static/styles/highlight.min.css9
-rw-r--r--build/static/styles/main.css162
2 files changed, 171 insertions, 0 deletions
diff --git a/build/static/styles/highlight.min.css b/build/static/styles/highlight.min.css
new file mode 100644
index 0000000..a75ea91
--- /dev/null
+++ b/build/static/styles/highlight.min.css
@@ -0,0 +1,9 @@
+/*!
+ 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
+*/pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#f3f3f3;color:#444}.hljs-comment{color:#697070}.hljs-punctuation,.hljs-tag{color:#444a}.hljs-tag .hljs-attr,.hljs-tag .hljs-name{color:#444}.hljs-attribute,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-name,.hljs-selector-tag{font-weight:700}.hljs-deletion,.hljs-number,.hljs-quote,.hljs-selector-class,.hljs-selector-id,.hljs-string,.hljs-template-tag,.hljs-type{color:#800}.hljs-section,.hljs-title{color:#800;font-weight:700}.hljs-link,.hljs-operator,.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#ab5656}.hljs-literal{color:#695}.hljs-addition,.hljs-built_in,.hljs-bullet,.hljs-code{color:#397300}.hljs-meta{color:#1f7199}.hljs-meta .hljs-string{color:#38a}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700} \ No newline at end of file
diff --git a/build/static/styles/main.css b/build/static/styles/main.css
new file mode 100644
index 0000000..6a4261c
--- /dev/null
+++ b/build/static/styles/main.css
@@ -0,0 +1,162 @@
+@font-face {
+ font-family: "Kawkab Mono";
+ src: url(/fonts/KawkabMono-Regular.woff2);
+ font-weight: normal;
+}
+
+@font-face {
+ font-family: "Kawkab Mono";
+ src: url(/fonts/KawkabMono-Bold.woff2);
+ font-weight: bold;
+}
+
+@font-face {
+ font-family: "Kawkab Mono";
+ src: url(/fonts/KawkabMono-Light.woff2);
+ font-weight: light;
+}
+
+
+* {
+ unicode-bidi: plaintext;
+}
+
+html {
+ color: black;
+ background-color: white;
+}
+
+body {
+ font-family: "Kawkab Mono";
+ font-size: 16px;
+ line-height: 1.4;
+ margin: 0;
+ padding: 4rem 0;
+ min-height: 100%;
+ overflow-wrap: break-word;
+}
+
+h1,
+header,
+footer {
+ text-align: center;
+}
+
+nav {
+ text-align: start;
+}
+
+main {
+ text-align: justify;
+}
+
+main,
+header,
+footer {
+ max-width: 800px;
+ margin-inline: auto;
+ padding: 0 2rem;
+}
+
+@media (max-width: 600px) {
+ body {
+ font-size: 0.9em;
+ }
+
+ h1 {
+ font-size: 1.8em;
+ }
+}
+
+@media (max-width: 400px) {
+ body {
+ font-size: 0.8em;
+ }
+
+ h1 {
+ font-size: 1.6em;
+ }
+}
+
+
+p,
+h2,
+h3,
+h4 {
+ margin: 1em 0 0 0;
+}
+
+ul,
+ol {
+ margin: 0;
+}
+
+img {
+ max-width: 100%;
+}
+
+svg {
+ height: auto;
+ max-width: 100%;
+}
+
+blockquote {
+ margin-block: 1em;
+ margin-inline-start: 1.4em;
+ margin-inline-end: 0;
+ padding-inline-start: 1em;
+ border-inline-start: thick solid;
+}
+
+code {
+ font-size: 85%;
+ margin: 0;
+ hyphens: manual;
+}
+
+pre {
+ margin: 1em 0;
+}
+
+pre code {
+ border: thin solid;
+ padding: 1em;
+ display: block;
+ text-align: start;
+ overflow-x: scroll;
+}
+
+table {
+ margin:auto;
+ border-collapse: collapse;
+}
+
+th,
+td {
+ border: 1px solid;
+}
+
+header {
+ margin-bottom: 1em;
+}
+
+footer {
+ margin-top: 3em
+}
+
+
+@media (prefers-color-scheme: dark) {
+
+ html,
+ body[theme="auto"] {
+ filter: invert(1);
+ }
+
+ img {
+ filter: invert(1);
+ }
+
+ .invertible {
+ filter: invert(0);
+ }
+} \ No newline at end of file