diff options
| -rw-r--r-- | cgit.css | 49 | ||||
| -rw-r--r-- | footer.html | 2 | ||||
| -rw-r--r-- | head.html | 14 | ||||
| -rw-r--r-- | site-desc.html | 2 |
4 files changed, 52 insertions, 15 deletions
@@ -115,23 +115,29 @@ table#header td.logo a { } table#header td.logo img { - height: 40px; - width: 40px; - min-width: 40px; + height: 64px; + width: 64px; + min-width: 64px; display: block; } table#header td.main { padding-left: 16px; -} - -table#header td.main a { font-family: 'Oxanium', monospace; font-weight: 700; - font-size: 22px; + font-size: 64px; color: var(--accent); letter-spacing: 0.03em; - text-decoration: none; + line-height: 1; + text-transform: uppercase; +} + +table#header td.main a { + color: var(--accent); + text-decoration: underline; + text-decoration-color: rgba(168, 85, 247, 0.4); + text-underline-offset: 4px; + text-transform: capitalize; } table#header td.main a:hover { @@ -140,7 +146,7 @@ table#header td.main a:hover { table#header td.sub { font-family: 'IBM Plex Sans', sans-serif; - font-size: 14px; + font-size: 20px; color: var(--text-dim); padding-left: 24px; } @@ -149,6 +155,13 @@ table#header td.sub a { color: var(--text-dim); } +table#header td.sub.right { + color: var(--accent2); + font-size: 14px; + text-align: right; + padding-right: 16px; +} + table#header td.form { text-align: right; padding-right: 32px; @@ -456,13 +469,13 @@ td.reposection { font-family: 'JetBrains Mono', monospace !important; font-size: 13px !important; font-weight: 700 !important; - color: var(--accent) !important; + color: var(--accent2) !important; letter-spacing: 0.08em; text-align: left !important; } td.reposection::before { - content: '# '; + content: '// '; opacity: 0.6; } @@ -1350,8 +1363,18 @@ table.list td a[href*="/refs/"] { padding-left: 16px; } - table#header td.main a { - font-size: 18px; + table#header td.main { + font-size: 32px; + } + + table#header td.sub { + font-size: 16px; + } + + table#header td.logo img { + height: 40px; + width: 40px; + min-width: 40px; } table#header td.form { diff --git a/footer.html b/footer.html index 06271b9..2457dd7 100644 --- a/footer.html +++ b/footer.html @@ -11,6 +11,6 @@ </a> </div> <div class="footer-copy">© 2026 <a href="https://danix.xyz" class="footer-home">danix.xyz</a></div> - <div class="footer-powered">powered by <a href="https://git.zx2c4.com/cgit/">cgit</a></div> + <div class="footer-powered">This repository is powered by <a href="https://git-scm.com/" target="_blank">git</a>, <a target="_blank" href="https://gitolite.com/gitolite/index.html">gitolite</a> and <a href="https://git.zx2c4.com/cgit/">cgit</a></div> </div> <script>feather.replace({ width: 18, height: 18 });</script> @@ -3,3 +3,17 @@ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Oxanium:wght@400;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> +<script> +document.addEventListener('DOMContentLoaded', function() { + var td = document.querySelector('table#header td.main'); + if (!td) return; + var homeLink = td.querySelector('a[href="/"]'); + if (!homeLink) return; + homeLink.textContent = '/repos'; + td.childNodes.forEach(function(node) { + if (node.nodeType === 3) { + node.textContent = node.textContent.replace(' : ', '/'); + } + }); +}); +</script> diff --git a/site-desc.html b/site-desc.html index b833182..3c4f684 100644 --- a/site-desc.html +++ b/site-desc.html @@ -1,5 +1,5 @@ <div class="site-desc"> - <h2>My work</h2> + <h2>// My work</h2> <p> Welcome to my git repository. Here's what I've been working on in the past, today, and what I'll be (probably) working on in the future. |
