From cd7f1e737ab2d95fdc5b1e2c7fcd9416392fd704 Mon Sep 17 00:00:00 2001 From: Fabien POLLY Date: Tue, 9 Dec 2025 11:30:19 +0100 Subject: [PATCH] feat: Add .nojekyll, meta description, scrollbar styling, and refine UI/UX with CDN comments, print styles, and image fallbacks. --- .nojekyll | 0 index.html | 660 ++++++++++++++++++++++++++--------------------------- 2 files changed, 319 insertions(+), 341 deletions(-) create mode 100644 .nojekyll diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/index.html b/index.html index ac4636c..c45a20f 100644 --- a/index.html +++ b/index.html @@ -5,16 +5,26 @@ BJORN // WIKI NODE + + - + + + + + + + + + @@ -52,6 +62,25 @@ transition: background-color 0.3s, color 0.3s; } + /* Scrollbar Styling */ + ::-webkit-scrollbar { + width: 8px; + height: 8px; + } + + ::-webkit-scrollbar-track { + background: var(--bg-body); + } + + ::-webkit-scrollbar-thumb { + background: var(--border-color); + border-radius: 4px; + } + + ::-webkit-scrollbar-thumb:hover { + background: var(--accent-green); + } + /* Utility Classes using vars */ .bg-hack-sidebar { background-color: var(--bg-sidebar); @@ -102,11 +131,6 @@ display: flex; align-items: center; scroll-margin-top: 80px; - position: relative; - } - - .markdown-body h2:hover .anchor-link { - opacity: 1; } .markdown-body h3 { @@ -116,13 +140,6 @@ margin-top: 2rem; margin-bottom: 0.75rem; scroll-margin-top: 80px; - position: relative; - display: flex; - align-items: center; - } - - .markdown-body h3:hover .anchor-link { - opacity: 1; } /* Anchor Links (#) */ @@ -138,6 +155,11 @@ user-select: none; } + h2:hover .anchor-link, + h3:hover .anchor-link { + opacity: 1; + } + .markdown-body p { margin-bottom: 1.25rem; line-height: 1.7; @@ -179,6 +201,8 @@ font-family: 'JetBrains Mono', monospace; font-size: 0.875rem; background-color: transparent; + display: block; + overflow-x: auto; } /* Inline Code */ @@ -213,6 +237,7 @@ padding: 1rem; border-radius: 0 4px 4px 0; color: var(--text-heading); + margin-bottom: 1.5rem; } .markdown-body strong { @@ -381,7 +406,9 @@ #theme-toggle-desktop, #scroll-top-btn, #reading-progress-bar, - #overlay { + #overlay, + .copy-btn, + .toc-container { display: none !important; } @@ -409,29 +436,6 @@ border: none; } - .markdown-body h1, - .markdown-body h2, - .markdown-body h3 { - color: black !important; - page-break-after: avoid; - } - - .copy-btn { - display: none; - } - - .toc-container { - display: none; - } - - aside { - display: none; - } - - #page-nav { - display: none; - } - #breadcrumbs { color: black !important; border-bottom: 1px solid #ccc; @@ -449,6 +453,9 @@ colors: { hack: { green: 'var(--accent-green)', + bg: 'var(--bg-body)', + sidebar: 'var(--bg-sidebar)', + border: 'var(--border-color)' } }, fontFamily: { @@ -465,6 +472,7 @@
+ +
- Bjorn Icon + Bjorn Icon
BJORN ... @@ -498,10 +507,12 @@
+ +
-
-
@@ -635,11 +634,9 @@
- -
@@ -648,11 +645,9 @@

On this page

-
    -
+
    -
    @@ -666,39 +661,45 @@