summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--etc/cgitrc16
-rw-r--r--var/www/cgit/cgit.css101
-rw-r--r--var/www/cgit/head.html2
3 files changed, 116 insertions, 3 deletions
diff --git a/etc/cgitrc b/etc/cgitrc
index 4a4d461..aad0282 100644
--- a/etc/cgitrc
+++ b/etc/cgitrc
@@ -53,12 +53,16 @@ repo.desc=Strip indentation from multi-line strings
repo.url=homepage.git
repo.path=/srv/git/homepage.git
-repo.desc=My home on the 'Net
+repo.desc=My home on the ’Net
repo.url=order-object.git
repo.path=/srv/git/order-object.git
repo.desc=Make sure your Object keys are in alphabetical order
+repo.url=pics.git
+repo.path=/srv/git/pics.git
+repo.desc=Fancy site for my photography
+
repo.url=pq-jwt.git
repo.path=/srv/git/pq-jwt.git
repo.desc=Post-quantum json web tokens
@@ -77,6 +81,16 @@ repo.url=chronver/homepage.git
repo.path=/srv/git/chronver/homepage.git
repo.desc=ChronVer homepage
+section=EOL
+
+repo.url=eol/gq.git
+repo.path=/srv/git/eol/gq.git
+repo.desc=Batteries-included GraphQL server
+
+repo.url=eol/graphiql.git
+repo.path=/srv/git/eol/graphiql.git
+repo.desc=GraphiQL with Svelte
+
section=NeverCease
repo.url=nevercease/homepage.git
diff --git a/var/www/cgit/cgit.css b/var/www/cgit/cgit.css
index a058e34..b76890c 100644
--- a/var/www/cgit/cgit.css
+++ b/var/www/cgit/cgit.css
@@ -1236,3 +1236,104 @@ div#cgit td.ls-mode,
div#cgit td.ls-size {
font-family: var(--monospace);
}
+
+div#cgit {
+ .markdown-body {
+ color: var(--uchu-yin-9);
+ font-size: inherit;
+
+ h1, h2, h3, h4, h5, h6 {
+ color: inherit;
+
+ a {
+ text-decoration: none;
+ }
+ }
+
+ h1 {
+ font-size: 4rem;
+ }
+
+ h2 {
+ border-bottom: 1px solid var(--uchu-gray-1);
+ font-size: 2.75rem;
+ }
+
+ h3 {
+ font-size: 2rem;
+ }
+
+ a {
+ color: inherit !important;
+ text-decoration-color: var(--uchu-blue-1);
+
+ code,
+ tt {
+ background-color: var(--uchu-blue-1);
+ }
+ }
+
+ code,
+ tt {
+ margin: 0; padding: 0.2rem 0.5rem;
+
+ background-color: var(--uchu-yellow-1);
+ border: none;
+ border-radius: 0;
+ }
+
+ .highlight pre,
+ pre {
+ background-color: oklch(var(--uchu-gray-1-raw) / 50%);
+ border: 1px solid var(--uchu-gray-1);
+ border-radius: 0;
+ font-size: 1.25rem;
+ line-height: 1.33;
+
+ code,
+ tt {
+ margin: 0; padding: 0;
+ background-color: transparent;
+ }
+ }
+
+ .highlight {
+ .err,
+ .gu,
+ .k, .kd, .kn, .kr,
+ .m, .mf,
+ .nf, .nl, .nn, .nt, .nv,
+ .ow,
+ .si {
+ background-color: transparent;
+ color: inherit;
+ font-style: inherit;
+ font-weight: inherit;
+ }
+
+ .c {
+ color: var(--uchu-gray-5);
+ }
+
+ .c1, .cm {
+ background-color: var(--uchu-yellow-1);
+ color: var(--uchu-yellow-9);
+ }
+
+ .kc, .kt,
+ .mi,
+ .nb {
+ color: var(--uchu-purple-4);
+ font-weight: inherit;
+ }
+
+ .l,
+ .no,
+ .s1, .s2, .sb {
+ background-color: var(--uchu-green-1);
+ color: var(--uchu-green-9);
+ font-weight: inherit;
+ }
+ }
+ }
+}
diff --git a/var/www/cgit/head.html b/var/www/cgit/head.html
index 3f4672e..ef7680a 100644
--- a/var/www/cgit/head.html
+++ b/var/www/cgit/head.html
@@ -2,6 +2,4 @@
<meta property="og:image" content="https://code.webb.page/og.png"/>
<meta property="og:image:alt" content="netop://ウィビ's hacks and programs"/>
-<meta property="og:image:width" content="1200"/>
-<meta property="og:image:height" content="600"/>
<meta property="og:site_name" content="the codex"/>