diff options
| author | Patrick | 2025-12-23 23:35:13 +0100 |
|---|---|---|
| committer | Patrick | 2025-12-23 23:35:13 +0100 |
| commit | 7dfc2b975fd4a735073536914f5a49b8d80a1104 (patch) | |
| tree | 69ec9e78cd5ad255ae17435f962952a1e4ebdc2c /cgithub/head-include.html | |
| parent | 13ff15345e1fe7ecc72967e1e0d9a473428f241f (diff) | |
| download | ps-cgit-7dfc2b975fd4a735073536914f5a49b8d80a1104.tar.gz ps-cgit-7dfc2b975fd4a735073536914f5a49b8d80a1104.zip | |
buncha features
Diffstat (limited to 'cgithub/head-include.html')
| -rw-r--r-- | cgithub/head-include.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cgithub/head-include.html b/cgithub/head-include.html index 204e078..df6e059 100644 --- a/cgithub/head-include.html +++ b/cgithub/head-include.html @@ -3,6 +3,16 @@ <link rel="stylesheet" type="text/css" href="/git/static/cgithub/cgithub/github-markdown-dark.css"/> <link rel="stylesheet" type="text/css" href="/git/static/cgithub/cgithub/cgithub.css"/> <link rel="stylesheet" type="text/css" href="/git/static/cgithub/cgithub/prism-one-dark.css"/> +<style> +/* https://stackoverflow.com/a/20104746 */ +.tab-folder > .tab-content:target ~ .tab-content:last-child, .tab-folder > .tab-content { + display: none; +} +.tab-folder > :last-child, .tab-folder > .tab-content:target { + display: block; +} + +</style> <script type="module"> const blob = document.querySelector('div#cgit table.blob td.lines pre code'); |
