diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rwxr-xr-x | backup.sh | 6 | ||||
| -rw-r--r-- | cgit-captions/captions.txt | 39 | ||||
| -rw-r--r-- | cgit.css | 1072 | ||||
| -rw-r--r-- | cgit.png | bin | 0 -> 9746 bytes | |||
| -rw-r--r-- | cgitrc | 25 | ||||
| -rw-r--r-- | favicon.ico | bin | 0 -> 1078 bytes | |||
| -rw-r--r-- | head.html | 1 | ||||
| -rwxr-xr-x | restore.sh | 6 |
9 files changed, 1150 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1ae588b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +cgit-captions/currentcaption diff --git a/backup.sh b/backup.sh new file mode 100755 index 0000000..326c38c --- /dev/null +++ b/backup.sh @@ -0,0 +1,6 @@ +#!/bin/bash +cp /usr/share/cgit/cgit.css /home/git/public/bathynomus/cgit-configs.git/cgit.css +cp /usr/share/cgit/cgit.png /home/git/public/bathynomus/cgit-configs.git/cgit.png +cp /usr/share/cgit/favicon.ico /home/git/public/bathynomus/cgit-configs.git/favicon.ico +cp /usr/share/cgit/head.html /home/git/public/bathynomus/cgit-configs.git/head.html +cp /etc/cgitrc /home/git/public/bathynomus/cgit-configs.git/cgitrc diff --git a/cgit-captions/captions.txt b/cgit-captions/captions.txt new file mode 100644 index 0000000..f530d67 --- /dev/null +++ b/cgit-captions/captions.txt @@ -0,0 +1,39 @@ +your gay +trnasgener +and for strait people just gn i guess đ +are you cis or are you normal +i'm not cis, you are +is this buge trans gener? +would you rather have unlimited bugs, but no more bugs, or bugs – unlimited bugs – and no bugs? +bruh moment +i use arch btw +i use ubuntu server btw +it is currently real isopod hours +* You found the [Moss]! +oh, you know ;) +this is not a place of honor +āļ +swag +'' +404 footer not found +502 bad footer +generated by fuckin uhhh cgit v67.420 or whatever lol +If you're seeing this, something is seriously wrong. +cringe +don't smoke cigarettes kids they'll make your lungs sus +feature-compatible with 100% of the shit i was actually using forgejo for +holy fucking bingle +crubge +only unpickle data you trust. +pwetty epic B) +Known to the state of California to cause cancer +did you know? +shrimps is bugs +is this a bedbuge? +girl, we've been knowing how to draw. +check it out, i'm in the house like carpet +that's so weirdcore liminal analog horror backrooms scp +this is where the funny randomly selected messages would go +come back in 5 minutes! +bug women +wait its fucking tueaday. god. diff --git a/cgit.css b/cgit.css new file mode 100644 index 0000000..08f816b --- /dev/null +++ b/cgit.css @@ -0,0 +1,1072 @@ +@font-face { + font-family: b612; + src: url(https://bugwo.men/stuff/fonts/B612/B612-Regular.ttf); + font-display: swap; +} +@font-face { + font-family: b612; + src: url(https://bugwo.men/stuff/fonts/B612/B612-Bold.ttf); + font-weight: bold; + font-display: swap; +} +@font-face { + font-family: b612; + src: url(https://bugwo.men/stuff/fonts/B612/B612-Italic.ttf); + font-style: italic; + font-display: swap; +} +@font-face { + font-family: b612; + src: url(https://bugwo.men/stuff/fonts/B612/B612-BoldItalic.ttf); + font-weight: bold; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: b612_mono; + src: url(https://bugwo.men/stuff/fonts/B612_Mono/B612Mono-Regular.ttf); + font-display: swap; +} +@font-face { + font-family: b612_mono; + src: url(https://bugwo.men/stuff/fonts/B612_Mono/B612Mono-Bold.ttf); + font-weight: bold; + font-display: swap; +} +@font-face { + font-family: b612_mono; + src: url(https://bugwo.men/stuff/fonts/B612_Mono/B612Mono-Italic.ttf); + font-style: italic; + font-display: swap; +} +@font-face { + font-family: b612_mono; + src: url(https://bugwo.men/stuff/fonts/B612_Mono/B612Mono-BoldItalic.ttf); + font-weight: bold; + font-style: italic; + font-display: swap; +} + +:root { + color-scheme: dark light; + + --background: light-dark(#fff5eb, #1a1a1d); + --foreground: light-dark(#222, #ddd); + --accent1: light-dark(#64790a, #ff1159); + --accent2: light-dark(#007a70, #00ffd5); + + --linkcolor: var(--accent1); + --linkhover: var(--accent2); + + --fg0: var(--foreground); + --fg1: color-mix(in srgb, var(--foreground) 85%, var(--background) 15%); + --fg2: color-mix(in srgb, var(--foreground) 75%, var(--background) 25%); + --fg3: color-mix(in srgb, var(--foreground) 65%, var(--background) 35%); + --fg00: light-dark(black, white); + + --bg0: var(--background); + --bg1: color-mix(in srgb, var(--background) 93%, var(--foreground) 7%); + --bg2: color-mix(in srgb, var(--background) 87%, var(--foreground) 13%); + --bg3: color-mix(in srgb, var(--background) 80%, var(--foreground) 20%); + --bg00: light-dark(white, black); + + --red-text: light-dark(#780a0a, #ff5136); + --yellow-text: light-dark(#76640a, #ffdf41); + --green-text: light-dark(#2d780a, #3cff4c); + --cyan-text: light-dark(#0a7660, #51ffdc); + --blue-text: light-dark(#0a3878, #378aff); + --purple-text: light-dark(#670a75, #e74aff); + + --red-bg: light-dark(#ff5136, #780a0a); + --yellow-bg: light-dark(#ffdf41, #76640a); + --green-bg: light-dark(#3cff4c, #2d780a); + --cyan-bg: light-dark(#51ffdc, #0a7660); + --blue-bg: light-dark(#378aff, #0a3878); + --purple-bg: light-dark(#e74aff, #670a75); + + --bodyfont: b612, sans-serif; + --monofont: b612_mono, monospace; + +} + +div#cgit { + padding: 0em; + margin: 0em; + font-family: var(--bodyfont); + font-size: 1rem; + color: var(--fg0); + background: var(--bg0); + padding: 0; +} + +div#cgit a { + color: var(--linkcolor); +} + +div#cgit a:hover, +div#cgit a:focus { + color: var(--linkhover); +} + +div#cgit table { + border-collapse: collapse; +} + +div#cgit table#header { + width: 100%; + margin-bottom: 1em; +} + +div#cgit table#header td.logo { + width: 96px; + vertical-align: top; +} + +div#cgit table#header td.main { + font-size: 250%; + padding-left: 1rem; + white-space: nowrap; +} + +/*div#cgit table#header td.main a { + color: var(--linkcolor); + +}*/ + +div#cgit table#header td.form { + text-align: right; + vertical-align: bottom; + padding-right: 1em; + padding-bottom: 2px; + white-space: nowrap; +} + +div#cgit table#header td.form form, +div#cgit table#header td.form input, +div#cgit table#header td.form select { + font-size: 90%; +} + +div#cgit table#header td.sub { + color: var(--fg1); + border-top: solid 1px var(--accent2); + padding-left: 1rem; +} + +div#cgit table.tabs { + border-bottom: solid 3px var(--fg1); + border-collapse: collapse; + margin-top: 2em; + margin-bottom: 0px; + width: 100%; +} + +div#cgit table.tabs td { + padding: 0px 1em; + vertical-align: bottom; +} + +div#cgit table.tabs td a { + padding: 2px 0.75em; + color: var(--fg1); + text-decoration: none; + font-size: 110%; +} + +div#cgit table.tabs td a.active { + color: var(--bg0); + background-color: var(--fg1); +} + +div#cgit table.tabs a[href^="http://"]:after, div#cgit table.tabs a[href^="https://"]:after { + content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfgAhcJDQY+gm2TAAAAHWlUWHRDb21tZW50AAAAAABDcmVhdGVkIHdpdGggR0lNUGQuZQcAAABbSURBVAhbY2BABs4MU4CwhYHBh2Erww4wrGFQZHjI8B8IgUIscJWyDHcggltQhI4zGDCcRwhChPggHIggP1QoAVmQkSETrGoHsiAEsACtBYN0oDAMbgU6EBcAAL2eHUt4XUU4AAAAAElFTkSuQmCC); + opacity: 0.5; + margin: 0 0 0 5px; +} + +div#cgit table.tabs td.form { + text-align: right; +} + +div#cgit table.tabs td.form form { + padding-bottom: 2px; + font-size: 90%; + white-space: nowrap; +} + +div#cgit table.tabs td.form input, +div#cgit table.tabs td.form select { + font-size: 90%; +} + +div#cgit div.path { + margin: 0px; + padding: 5px 2em 2px 2em; + color: var(--bg0); + background-color: var(--fg2); +} + +div#cgit div.content { + margin: 0px; + padding: 2em; + border-bottom: solid 3px var(--fg1); +} + + +div#cgit table.list { + width: 100%; + border: none; + border-collapse: collapse; +} + +div#cgit table.list tr { + background: var(--bg0); + padding: 0 0.5rem; +} + +div#cgit table.list tr.logheader { + background: var(--fg2); +} + +div#cgit table.list tr:nth-child(even) { + background: var(--bg1); +} + +div#cgit table.list tr:nth-child(odd) { + background: var(--bg0); +} + +div#cgit table.list tr:hover { + background: var(--bg2); +} + +div#cgit table.list tr.nohover { + background: var(--bg0); +} + +div#cgit table.list tr.nohover:hover { + background: var(--bg0); +} + +div#cgit table.list tr.nohover-highlight:hover:nth-child(even) { + background: var(--bg1); +} + +div#cgit table.list tr.nohover-highlight:hover:nth-child(odd) { + background: var(--bg0); +} + +div#cgit table.list th { + font-weight: bold; + /* color: #888; + border-top: dashed 1px #888; + border-bottom: dashed 1px #888; + */ + padding: 0.1em 0.5em 0.05em 0.5em; + vertical-align: baseline; +} + +div#cgit table.list td { + border: none; + padding: 0.1em 0.5em 0.1em 0.5em; +} + +div#cgit table.list td.commitgraph { + font-family: var(--monofont); + white-space: pre; +} + +div#cgit table.list td.commitgraph .column1 { + color: var(--red-text); +} + +div#cgit table.list td.commitgraph .column2 { + color: var(--green-text); +} + +div#cgit table.list td.commitgraph .column3 { + color: var(--yellow-text); +} + +div#cgit table.list td.commitgraph .column4 { + color: var(--blue-text); +} + +div#cgit table.list td.commitgraph .column5 { + color: var(--purple-text); +} + +div#cgit table.list td.commitgraph .column6 { + color: var(--cyan-text); +} + +div#cgit table.list td.logsubject { + font-family: var(--monofont); + font-weight: bold; +} + +div#cgit table.list td.logmsg { + font-family: var(--monofont); + white-space: pre; + padding: 0 0.5em; +} + +div#cgit table.list td a { + color: var(--fg0); +} + +div#cgit table.list td a.ls-dir { + font-weight: bold; + color: var(--blue-text); +} + +div#cgit table.list td a:hover, +div#cgit table.list td a:focus { + color: var(--linkhover); +} + +div#cgit img { + border: none; +} + +div#cgit input#switch-btn { + margin: 2px 0px 0px 0px; +} + +div#cgit td#sidebar input.txt { + width: 100%; + margin: 2px 0px 0px 0px; +} + +div#cgit table#grid { + margin: 0px; +} + +div#cgit td#content { + vertical-align: top; + padding: 1em 2em 1em 1em; + border: none; +} + +div#cgit div#summary { + vertical-align: top; + margin-bottom: 1em; +} + +div#cgit table#downloads { + float: right; + border-collapse: collapse; + border: solid 1px var(--fg1); + margin-left: 0.5em; + margin-bottom: 0.5em; +} + +div#cgit table#downloads th { + background-color: var(--bg1); +} + +div#cgit div#blob { + border: solid 1px var(--fg0); +} + +div#cgit div.error { + color: var(--red-text); + font-weight: bold; + margin: 1em 2em; +} + +div#cgit a.ls-blob, div#cgit a.ls-dir, div#cgit .ls-mod { + font-family: var(--monofont); +} + +div#cgit td.ls-size { + text-align: right; + font-family: var(--monofont); + width: 10em; +} + +div#cgit td.ls-mode { + font-family: var(--monofont); + width: 10em; +} + +div#cgit table.blob { + margin-top: 0.5em; + border-top: solid 1px black; +} + +div#cgit table.blob td.hashes, +div#cgit table.blob td.lines { + margin: 0; padding: 0 0 0 0.5em; + vertical-align: top; + color: black; +} + +div#cgit table.blob td.linenumbers { + margin: 0; padding: 0 0.5em 0 0.5em; + vertical-align: top; + text-align: right; + border-right: 1px solid var(--fg3); +} + +div#cgit table.blob pre { + padding: 0; margin: 0; +} + +div#cgit table.blob td.linenumbers a, +div#cgit table.ssdiff td.lineno a { + color: var(--fg2); + text-align: right; + /*text-decoration: none;*/ +} + +div#cgit table.blob td.linenumbers a:hover, +div#cgit table.ssdiff td.lineno a:hover, +div#cgit table.blob td.linenumbers a:focus, +div#cgit table.ssdiff td.lineno a:focus { + color: var(--fg0); +} + +div#cgit table.blame td.hashes, +div#cgit table.blame td.lines, +div#cgit table.blame td.linenumbers { + padding: 0; +} + +div#cgit table.blame td.hashes div.alt, +div#cgit table.blame td.lines div.alt { + padding: 0 0.5em 0 0.5em; +} + +div#cgit table.blame td.linenumbers div.alt { + padding: 0 0.5em 0 0; +} + +div#cgit table.blame div.alt:nth-child(even) { + background: var(--bg1); +} + +div#cgit table.blame div.alt:nth-child(odd) { + background: var(--bg0); +} + +div#cgit table.blame td.lines > div { + position: relative; +} + +div#cgit table.blame td.lines > div > pre { + padding: 0 0 0 0.5em; + position: absolute; + top: 0; +} + +div#cgit table.bin-blob { + margin-top: 0.5em; + border: solid 1px black; +} + +div#cgit table.bin-blob th { + font-family: var(--monofont); + white-space: pre; + border: solid 1px var(--fg1); + padding: 0.5em 1em; +} + +div#cgit table.bin-blob td { + font-family: var(--monofont); + white-space: pre; + border-left: solid 1px var(--fg1); + padding: 0em 1em; +} + +div#cgit table.nowrap td { + white-space: nowrap; +} + +div#cgit table.commit-info { + border-collapse: collapse; + margin-top: 1.5em; +} + +div#cgit div.cgit-panel { + float: right; + margin-top: 1.5em; +} + +div#cgit div.cgit-panel table { + border-collapse: collapse; + border: solid 1px var(--fg2); + background-color: var(--bg1); +} + +div#cgit div.cgit-panel th { + text-align: center; +} + +div#cgit div.cgit-panel td { + padding: 0.25em 0.5em; +} + +div#cgit div.cgit-panel td.label { + padding-right: 0.5em; +} + +div#cgit div.cgit-panel td.ctrl { + padding-left: 0.5em; +} + +div#cgit table.commit-info th { + text-align: left; + font-weight: normal; + padding: 0.1em 1em 0.1em 0.1em; + vertical-align: top; +} + +div#cgit table.commit-info td { + font-weight: normal; + padding: 0.1em 1em 0.1em 0.1em; +} + +div#cgit div.commit-subject { + font-weight: bold; + font-size: 125%; + margin: 1.5em 0em 0.5em 0em; + padding: 0em; +} + +div#cgit div.commit-msg { + white-space: pre; + font-family: var(--monofont); +} + +div#cgit div.notes-header { + font-weight: bold; + padding-top: 1.5em; +} + +div#cgit div.notes { + white-space: pre; + font-family: var(--monofont); + border: solid 1px #ee9; + background-color: #ffd; + padding: 0.3em 2em 0.3em 1em; + float: left; +} + +div#cgit div.notes-footer { + clear: left; +} + +div#cgit div.diffstat-header { + font-weight: bold; + padding-top: 1.5em; +} + +div#cgit table.diffstat { + border-collapse: collapse; + border: solid 1px var(--fg2); + background-color: var(--bg0); +} + +div#cgit table.diffstat th { + font-weight: normal; + text-align: left; + text-decoration: underline; + padding: 0.1em 1em 0.1em 0.1em; + font-size: 100%; +} + +div#cgit table.diffstat td { + padding: 0.2em 0.2em 0.1em 0.1em; + font-size: 100%; + border: none; +} + +div#cgit table.diffstat td.mode { + white-space: nowrap; +} + +div#cgit table.diffstat td span.modechange { + padding-left: 1em; + color: var(--red-text); +} + +div#cgit table.diffstat td.add a { + color: var(--green-text); +} + +div#cgit table.diffstat td.del a { + color: var(--red-text); +} + +div#cgit table.diffstat td.upd a { + color: var(--blue-text); +} + +div#cgit table.diffstat td.graph { + width: 60ch; + max-width: 90vw; + vertical-align: middle; +} + +div#cgit table.diffstat td.graph table { + border: none; +} + +div#cgit table.diffstat td.graph td { + padding: 0px; + border: 0px; + height: .7em; +} + +div#cgit table.diffstat td.graph td.add { + background-color: var(--green-text); +} + +div#cgit table.diffstat td.graph td.rem { + background-color: var(--red-text); +} + +div#cgit div.diffstat-summary { + color: var(--fg2); + padding-top: 0.5em; +} + +div#cgit table.diff { + width: 100%; +} + +div#cgit table.diff td { + font-family: var(--monofont); + white-space: pre; +} + +div#cgit table.diff td div.head { + font-weight: bold; + margin-top: 1em; + color: var(--fg0); +} + +div#cgit table.diff td div.hunk { + color: var(--blue-text); +} + +div#cgit table.diff td div.add { + color: var(--green-text); +} + +div#cgit table.diff td div.del { + color: var(--red-text); +} + +div#cgit .sha1 { + font-family: var(--monofont); + font-size: 90%; +} + +div#cgit .left { + text-align: left; +} + +div#cgit .right { + text-align: right; +} + +div#cgit table.list td.reposection { + font-style: italic; + color: var(--fg2); +} + +div#cgit a.button { + font-size: 80%; + padding: 0em 0.5em; +} + +div#cgit a.primary { + font-size: 100%; +} + +div#cgit a.secondary { + font-size: 90%; +} + +div#cgit td.toplevel-repo { + +} + +div#cgit table.list td.sublevel-repo { + padding-left: 1.5em; +} + +div#cgit ul.pager { + list-style-type: none; + text-align: center; + margin: 1em 0em 0em 0em; + padding: 0; +} + +div#cgit ul.pager li { + display: inline-block; + margin: 0.25em 0.5em; +} + +div#cgit ul.pager a { + color: var(--fg2); +} + +div#cgit ul.pager .current { + font-weight: bold; +} + +div#cgit span.age-mins { + font-weight: bold; + color: var(--green-text); +} + +div#cgit span.age-hours { + color: var(--green-text); +} + +div#cgit span.age-days { + color: var(--green-text); +} + +div#cgit span.age-weeks { + color: var(--fg1); +} + +div#cgit span.age-months { + color: var(--fg2); +} + +div#cgit span.age-years { + color: var(--fg2); +} + +div#cgit span.insertions { + color: var(--green-text); +} + +div#cgit span.deletions { + color: var(--red-text); +} + +div#cgit div.footer { + margin-top: 0.5em; + text-align: center; + font-size: 80%; + color: var(--fg2); +} + +div#cgit div.footer a { + text-decoration: none; +} + +div#cgit a.branch-deco { + color: var(--fg0); + margin: 0px 0.5em; + padding: 0px 0.25em; + background-color: var(--green-bg); + border: solid 1px var(--green-text); +} + +div#cgit a.tag-deco { + color: var(--fg0); + margin: 0px 0.5em; + padding: 0px 0.25em; + background-color: var(--yellow-bg); + border: solid 1px var(--yellow-text); +} + +div#cgit a.tag-annotated-deco { + color: var(--fg0); + margin: 0px 0.5em; + padding: 0px 0.25em; + background-color: var(--yellow-bg); + border: solid 1px var(--yellow-text); +} + +div#cgit a.remote-deco { + color: var(--fg0); + margin: 0px 0.5em; + padding: 0px 0.25em; + background-color: var(--blue-bg); + border: solid 1px var(--blue-text); +} + +div#cgit a.deco { + color: var(--fg0); + margin: 0px 0.5em; + padding: 0px 0.25em; + background-color: var(--red-bg); + border: solid 1px var(--red-text); +} + +div#cgit div.commit-subject a.branch-deco, +div#cgit div.commit-subject a.tag-deco, +div#cgit div.commit-subject a.tag-annotated-deco, +div#cgit div.commit-subject a.remote-deco, +div#cgit div.commit-subject a.deco { + margin-left: 1em; + font-size: 75%; +} + +div#cgit table.stats { + border: solid 1px var(--fg0); + border-collapse: collapse; +} + +div#cgit table.stats th { + text-align: left; + padding: 1px 0.5em; + background-color: var(--bg2); + border: solid 1px var(--fg0); +} + +div#cgit table.stats td { + text-align: right; + padding: 1px 0.5em; + border: solid 1px var(--fg0); +} + +div#cgit table.stats td.total { + font-weight: bold; + text-align: left; +} + +div#cgit table.stats td.sum { + color: var(--red-text); + font-weight: bold; +/* background-color: #eee; */ +} + +div#cgit table.stats td.left { + text-align: left; +} + +div#cgit table.vgraph { + border-collapse: separate; + border: solid 1px var(--fg0); + height: 200px; +} + +div#cgit table.vgraph th { + background-color: var(--bg2); + font-weight: bold; + border: solid 1px var(--bg0); + padding: 1px 0.5em; +} + +div#cgit table.vgraph td { + vertical-align: bottom; + padding: 0px 10px; +} + +div#cgit table.vgraph div.bar { + background-color: var(--bg2); +} + +div#cgit table.hgraph { + border: solid 1px var(--fg0); + width: 90ch; +} + +div#cgit table.hgraph th { + background-color: var(--bg2); + font-weight: bold; + border: solid 1px var(--fg0); + padding: 1px 0.5em; +} + +div#cgit table.hgraph td { + vertical-align: middle; + padding: 2px 2px; +} + +div#cgit table.hgraph div.bar { + background-color: var(--bg2); + height: 1em; +} + +div#cgit table.ssdiff { + width: 100%; +} + +div#cgit table.ssdiff td { + font-size: 75%; + font-family: var(--monofont); + white-space: pre; + padding: 1px 4px 1px 4px; + border-left: solid 1px var(--fg3); + border-right: solid 1px var(--fg3); +} + +div#cgit table.ssdiff td.add { + color: var(--fg0); + background: var(--green-bg); + min-width: 50%; +} + +div#cgit table.ssdiff td.add_dark { + color: var(--green-text); + background: var(--green-bg); + min-width: 50%; +} + +div#cgit table.ssdiff span.add { + background: var(--green-bg); + font-weight: bold; +} + +div#cgit table.ssdiff td.del { + color: var(--fg0); + background: var(--red-bg); + min-width: 50%; +} + +div#cgit table.ssdiff td.del_dark { + color: var(--red-text); + background: var(--red-bg); + min-width: 50%; +} + +div#cgit table.ssdiff span.del { + background: var(--red-bg); + font-weight: bold; +} + +div#cgit table.ssdiff td.changed { + color: var(--fg0); + background: var(--yellow-bg); + min-width: 50%; +} + +div#cgit table.ssdiff td.changed_dark { + color: var(--yellow-text); + background: var(--yellow-bg); + min-width: 50%; +} + +div#cgit table.ssdiff td.lineno { + color: var(--fg0); + background: var(--bg2); + text-align: right; + width: 3em; + min-width: 3em; +} + +div#cgit table.ssdiff td.hunk { + color: var(--fg0); + background: var(--blue-bg); + border-top: solid 1px var(--fg3); + border-bottom: solid 1px var(--fg3); +} + +div#cgit table.ssdiff td.head { + border-top: solid 1px var(--fg3); + border-bottom: solid 1px var(--fg3); +} + +div#cgit table.ssdiff td.head div.head { + font-weight: bold; + color: var(--fg0); +} + +div#cgit table.ssdiff td.foot { + border-top: solid 1px var(--fg3); + border-left: none; + border-right: none; + border-bottom: none; +} + +div#cgit table.ssdiff td.space { + border: none; +} + +div#cgit table.ssdiff td.space div { + min-height: 3em; +} + +@media only screen and (max-width: 800px) { + /* HEADER */ + /* remove logo (save space) */ + div#cgit table#header td.logo { + display: none; + } + /* wrap title text */ + div#cgit table#header td.main { + white-space: normal; + } + /* td as block */ + div#cgit table#header td { + display: block; + } + /* move branch switcher to left */ + div#cgit table#header td.form { + text-align: left; + } + /* Don't display author (save space) */ + div#cgit table#header td.sub.right { + display: none; + } + + /* TABS */ + /* both tabs and form are blocks */ + div#cgit table.tabs td { + display: block; + } + /* every tab is block */ + div#cgit table.tabs td a { + display: block; + text-align: right; + } + + /* CONTENT */ + div#cgit div.content { + overflow-x: auto; + padding: 0.5em; + } + td.ls-mode { + white-space: nowrap; + } + + /* PANEL ALIGNMENT */ + div#cgit div.cgit-panel { + float: left; + } +} + +.markdown-body { + max-width: 100ch; +} + +div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div#cgit .markdown-body h3 a.toclink, div#cgit .markdown-body h4 a.toclink, div#cgit .markdown-body h5 a.toclink, div#cgit .markdown-body h6 a.toclink { + color: var(--fg0) !important; +} + +.markdown-body .highlight pre, .markdown-body pre { + background-color: var(--bg00) !important; + border-top: .1rem solid var(--accent2) !important; + border-left: .2rem solid light-dark(var(--accent1), var(--fg0)) !important; + border-right: none !important; + border-bottom: none !important; + font-size: .9em !important; + line-height: 1.46 !important; + padding: .7rem !important; + border-radius: 0 !important; +} + +.markdown-body > code, +.markdown-body :not(pre) > code { + margin: 0 .125rem !important; + padding: 0.1em .5em !important; + border: .1rem solid var(--fg3) !important; + background-color: var(--bg00) !important; + border-radius: 0 !important; + font-size: 0.9em !important; +} + +body { + background-color: var(--bg0); +} diff --git a/cgit.png b/cgit.png Binary files differnew file mode 100644 index 0000000..5031407 --- /dev/null +++ b/cgit.png @@ -0,0 +1,25 @@ +# +# cgit config +# see cgitrc(5) for details + +css=/cgit-css/cgit.css +logo=/cgit-css/cgit.png +favicon=/cgit-css/favicon.ico +head-include=/usr/share/cgit/head.html + + +clone-prefix=https://git.bugwo.men + +# Title and description shown on top of each page +root-title=bugwomen git server +root-desc=Cgit web interface for https://bugwo.men/ source code and other repos +footer=/home/git/cgit-captions/currentcaption + +about-filter=/usr/lib/cgit/filters/about-formatting.sh +readme=:README +readme=:README.md +#root-readme=:README.md + +virtual-root=/ +# The location where git repos are stored on the server +scan-path=/home/git/public/bathynomus/ diff --git a/favicon.ico b/favicon.ico Binary files differnew file mode 100644 index 0000000..56ff593 --- /dev/null +++ b/favicon.ico diff --git a/head.html b/head.html new file mode 100644 index 0000000..44dca77 --- /dev/null +++ b/head.html @@ -0,0 +1 @@ +<meta name="viewport" content="width=device-width initial-scale=1.0"/> diff --git a/restore.sh b/restore.sh new file mode 100755 index 0000000..5ec859f --- /dev/null +++ b/restore.sh @@ -0,0 +1,6 @@ +#!/bin/bash +cp /home/git/public/bathynomus/cgit-configs.git/cgit.css /usr/share/cgit/cgit.css +cp /home/git/public/bathynomus/cgit-configs.git/cgit.png /usr/share/cgit/cgit.png +cp /home/git/public/bathynomus/cgit-configs.git/favicon.ico /usr/share/cgit/favicon.ico +cp /home/git/public/bathynomus/cgit-configs.git/head.html /usr/share/cgit/head.html +cp /home/git/public/bathynomus/cgit-configs.git/cgitrc /etc/cgitrc |
