From a9f78db7c7793e5869fe14a6079b8c23bfeb028a Mon Sep 17 00:00:00 2001 From: Max Litruv Boonzaayer Date: Thu, 30 Jan 2025 08:37:53 +1100 Subject: [PATCH] Add GitHub link to sidebar and clean up unused styles --- index.html | 8 ++++++-- styles.css | 22 +++++++++++++++++++++- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 68ae32c..d957cab 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,6 @@ Documentation Viewer - @@ -31,7 +30,7 @@ / Documentation - +
+
diff --git a/styles.css b/styles.css index 4801223..7b4a949 100644 --- a/styles.css +++ b/styles.css @@ -240,7 +240,6 @@ social-links a:hover { padding: 0.5rem 1rem; font-size: 0.8rem; color: var(--ifm-color-content-secondary); - border-top: 1px solid var(--ifm-border-color); background: var(--ifm-background-surface-color); } @@ -509,3 +508,24 @@ social-links a:hover { border-left-color: var(--ifm-color-primary); background: rgba(33, 150, 243, 0.1); } + +.github-link { + padding: 1rem; + text-align: center; + font-size: 0.875rem; + background: var(--ifm-background-surface-color); + border-top: 1px solid var(--ifm-border-color); +} + +.github-link a { + color: var(--ifm-color-content-secondary); + text-decoration: none; + display: flex; + align-items: center; + justify-content: center; + gap: 0.5rem; +} + +.github-link a:hover { + color: var(--ifm-color-primary); +}