From 3f949df6230aca621f098a341350e07c1b74e0d5 Mon Sep 17 00:00:00 2001 From: hanniabu <10511045+hanniabu@users.noreply.github.com> Date: Wed, 17 May 2023 00:35:21 -0400 Subject: [PATCH 1/2] add dark mode This adds a theme toggle icon, check user theme preference on page load, and uses the "dark-mode" class to the html tag for styling of a dark mode theme. --- index.html | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 83 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 67f4ec482a9..b7d701f5657 100644 --- a/index.html +++ b/index.html @@ -13,25 +13,102 @@ background-color: #f4f4f4; padding: 1rem; } + .dark-mode body { + background-color: #212529; + color: #adb5bd; + } h1 { color: #333; font-size: 2rem; } + .dark-mode h1 { + color: #adb5bd; + } p { font-size: 1.1rem; color: #666; margin-bottom: 1.5rem; } + .dark-mode p { + color: #adb5bd; + } + + #darkModeToggle { + position: absolute; + padding: 5px; + cursor: pointer; + right: 1rem; + top: 0.5rem; + } + #darkModeToggle svg { + height: 1.5rem; + width: 1.5rem; + } + .d-none { + display: none; + }

Ethereum 2.0 Validator Queue

-

Estimated waiting time for new validators: 692.0 hours and 12 minutes

-

Pending validators (entry queue): 51915

-

Estimated waiting time for exit queue: 0.0 hours and 16 minutes

-

Pending validators (exit queue): 21

-

Active validators: 573852

+

Estimated waiting time for new validators: 692.0 hours and 44 minutes

+

Pending validators (entry queue): 51955

+

Estimated waiting time for exit queue: 0.0 hours and 12 minutes

+

Pending validators (exit queue): 15

+

Active validators: 573827

+ +
+ + + + + + + + + + +
+ + - \ No newline at end of file + From 1ccb2a440217d201be714a89a2976f306fd85269 Mon Sep 17 00:00:00 2001 From: hanniabu <10511045+hanniabu@users.noreply.github.com> Date: Wed, 17 May 2023 00:46:10 -0400 Subject: [PATCH 2/2] add github link --- index.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/index.html b/index.html index b7d701f5657..51ac9748273 100644 --- a/index.html +++ b/index.html @@ -35,6 +35,13 @@ color: #adb5bd; } + .github-link { + fill: #333; + } + .dark-mode .github-link { + fill: #c9d1d9; + } + #darkModeToggle { position: absolute; padding: 5px; @@ -58,6 +65,12 @@

Ethereum 2.0 Validator Queue

Estimated waiting time for exit queue: 0.0 hours and 12 minutes

Pending validators (exit queue): 15

Active validators: 573827

+
+

+ + + +