diff options
Diffstat (limited to '_src')
| -rw-r--r-- | _src/_includes/layout.html | 11 | ||||
| -rw-r--r-- | _src/assets/css/base.css | 52 | ||||
| -rw-r--r-- | _src/assets/img/icons/dark/arrow_down.png | bin | 0 -> 158 bytes | |||
| -rw-r--r-- | _src/assets/img/icons/dark/arrow_left.png | bin | 0 -> 162 bytes | |||
| -rw-r--r-- | _src/assets/img/icons/dark/arrow_right.png | bin | 0 -> 157 bytes | |||
| -rw-r--r-- | _src/assets/img/icons/dark/arrow_up.png | bin | 0 -> 148 bytes |
6 files changed, 56 insertions, 7 deletions
diff --git a/_src/_includes/layout.html b/_src/_includes/layout.html index 77c5a09..523ec5c 100644 --- a/_src/_includes/layout.html +++ b/_src/_includes/layout.html @@ -49,7 +49,7 @@ Menu </details> <br> -<details> +<details open> <summary><b>Outgoing Links</b></summary> <a href="https://roglozor.itch.io/"> <img src="/assets/img/icons/dark/itch.png"> itch.io @@ -79,6 +79,11 @@ src="/assets/img/buttons/roglozor_2.gif" alt="Roglozor's button."> <main> {{content}} + +<div class="scroll-top"> +<a href="#header"><img src="/assets/img/icons/dark/arrow_up.png"></a> +</div> + </main> <div id="r-wing"> @@ -107,7 +112,7 @@ src="/assets/img/buttons/roglozor_2.gif" alt="Roglozor's button."> <br> <nav class="nav-wing"> -<details> +<details open> <summary><b>Site Updates</b></summary> <a href="/changelog/#2026-10-18"> [2026-10-18] Minor update and info on new update model going forward. @@ -126,7 +131,7 @@ src="/assets/img/buttons/roglozor_2.gif" alt="Roglozor's button."> </nav> <a href="/rss.xml" style="text-align: center; display: block; margin: auto;"> -<img style="image-rendering: pixelated;" src="/assets/img/icons/dark/rss.png"> +<img style="image-rendering: pixelated;" src="/assets/img/icons/dark/rss.png"> RSS Feed </a> diff --git a/_src/assets/css/base.css b/_src/assets/css/base.css index 2b666f8..fef788d 100644 --- a/_src/assets/css/base.css +++ b/_src/assets/css/base.css @@ -41,6 +41,7 @@ html, body { color: var(--font_normal); font-family: onest; font-size: var(--text_size_normal_d); + scroll-behavior: smooth; } body { @@ -81,7 +82,7 @@ main h1 { } #page { - min-height: 100%; + min-height: 100vh; display: flex; flex-direction: column; gap: 0px; @@ -137,7 +138,7 @@ main h1 { border-radius: 0px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); - z-index: 8; + z-index: 7; } #l-wing h1, #r-wing h1 { @@ -209,6 +210,40 @@ main h1 { margin: 0; } +.scroll-top { + position: absolute; + top: 200vh; + bottom: 0; + right: -64px; + margin: 4px; + overflow-y: clip; + pointer-events: none; +} + +.scroll-top a { + min-width: 32px; + min-height: 32px; + position: -webkit-sticky; + position: sticky; + top: 98vh; + bottom: 0; + z-index: 8; + pointer-events: auto; +} + +.scroll-top img { + min-width: 32px; + min-height: 32px; + width: 32px; + height: 32px; + background-color: var(--bg_content); + padding: 8px; + border: 2px solid var(--bg_menu); + border-radius: 0px; + backdrop-filter: blur(8px); + -webkit-backdrop-filter: blur(8px); +} + .text-notice { color: var(--font_notice); } @@ -351,6 +386,9 @@ main h1 { max-width: 0px; position: absolute } + .scroll-top { + right: 4px; + } } /* Tablet */ @@ -370,12 +408,15 @@ main h1 { visibility: hidden; max-width: 0px; } + .scroll-top { + right: 4px; + } } /* Mobile */ @media only screen and (max-width: 800px) { main { - max-width: auto; + max-width: 100vw; width: auto; min-width: 300px; flex-grow: 1; @@ -389,7 +430,7 @@ main h1 { display: inline-block; } #l-wing { - max-width: auto; + max-width: 100vw; width: auto; min-width: 300px; flex-grow: 1; @@ -407,6 +448,9 @@ main h1 { height: 100%; overflow-y: scroll; } + .scroll-top { + right: 4px; + } } @keyframes main-bg { diff --git a/_src/assets/img/icons/dark/arrow_down.png b/_src/assets/img/icons/dark/arrow_down.png Binary files differnew file mode 100644 index 0000000..f9299a4 --- /dev/null +++ b/_src/assets/img/icons/dark/arrow_down.png diff --git a/_src/assets/img/icons/dark/arrow_left.png b/_src/assets/img/icons/dark/arrow_left.png Binary files differnew file mode 100644 index 0000000..04ec6ec --- /dev/null +++ b/_src/assets/img/icons/dark/arrow_left.png diff --git a/_src/assets/img/icons/dark/arrow_right.png b/_src/assets/img/icons/dark/arrow_right.png Binary files differnew file mode 100644 index 0000000..a5a7c9e --- /dev/null +++ b/_src/assets/img/icons/dark/arrow_right.png diff --git a/_src/assets/img/icons/dark/arrow_up.png b/_src/assets/img/icons/dark/arrow_up.png Binary files differnew file mode 100644 index 0000000..a12f78a --- /dev/null +++ b/_src/assets/img/icons/dark/arrow_up.png |
