From 49a1ced965b2e193bbcbc1f2c3a93f5a63b7dc6e Mon Sep 17 00:00:00 2001 From: Camillo Bruni Date: Thu, 16 Jul 2026 13:50:11 +0200 Subject: [PATCH 1/5] update-landing-page-pos --- index.html | 34 +++++++++++++----------- resources/main.css | 66 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index 31ba85ee4..12d55b089 100644 --- a/index.html +++ b/index.html @@ -15,22 +15,26 @@ Speedometer -
-

Speedometer is a browser benchmark that measures the responsiveness of Web applications. It uses demo web applications to simulate user actions such as adding to-do items.

-

- - Your browser window is too small. For most accurate results, please make the view port size at least 850px by 650px.
- It's currently . -
-

-
-
-
- +
+
+

Speedometer is a browser benchmark that measures the responsiveness of Web applications. It uses demo web applications to simulate user actions such as adding to-do items.

+

+ + Your browser window is too small. For most accurate results, please make the view port size at least 850px by 650px.
+ It's currently . +
+

- diff --git a/resources/main.css b/resources/main.css index 86c8207ed..0f1b225f7 100644 --- a/resources/main.css +++ b/resources/main.css @@ -409,6 +409,72 @@ section#home .content { text-align: center; } +section:not(#details) .buttons.section-footer { + position: absolute; + bottom: var(--padding-width); + left: var(--padding-width); + width: var(--viewport-width); + box-sizing: border-box; + margin: 0; + padding: 15px 20px; + display: flex; + justify-content: space-around; + align-items: center; + background-color: var(--background); + z-index: 10; +} + +section:not(#details) .buttons.section-footer .button-row { + display: flex; + justify-content: space-around; + align-items: center; + width: 100%; + margin: 0; +} + +section#about .section-content, +section#instructions .section-content { + padding-bottom: 70px; +} + +section:not(#details) .buttons.section-footer a, +section:not(#details) .buttons.section-footer .button { + appearance: none; + border: 2px solid var(--foreground); + border-radius: 8px; + min-width: 160px; + padding: 6px 15px; + margin: 0 10px; + font-size: 16px; + color: var(--foreground); + background-color: transparent; + cursor: pointer; + user-select: none; + box-sizing: border-box; + text-decoration: none; +} + +section:not(#details) .buttons.section-footer a:active, +section:not(#details) .buttons.section-footer .button:active { + background-color: var(--foreground); + color: var(--background); + border-color: var(--foreground) !important; +} + +section:not(#details) .buttons.section-footer a:focus, +section:not(#details) .buttons.section-footer .button:focus { + outline: none; + border-color: var(--highlight); +} + +section#home > .buttons:not(.section-footer) { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + margin: 0; +} + button.show-about { margin-top: 100px; font-size: 16px; From 716ed3ae5666cd03c04b8f0a7cd80e013a1458da Mon Sep 17 00:00:00 2001 From: Camillo Bruni Date: Thu, 16 Jul 2026 14:01:48 +0200 Subject: [PATCH 2/5] cleanup --- about.html | 2 +- index.html | 2 +- instructions.html | 2 +- resources/main.css | 18 +++++++++--------- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/about.html b/about.html index 02db762a1..bd1b8d031 100644 --- a/about.html +++ b/about.html @@ -92,7 +92,7 @@

About Speedometer

-