From fb9b974e0daf45129da362e77d4fa39a2876377c Mon Sep 17 00:00:00 2001 From: Mahesh Asolkar Date: Tue, 23 Dec 2025 13:31:37 -0800 Subject: [PATCH] Added app icon to website display --- src/index.html | 40 ++++++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/src/index.html b/src/index.html index 33a690c..5e5d477 100644 --- a/src/index.html +++ b/src/index.html @@ -58,6 +58,7 @@ body { } h1, h2, h5 { text-align: center; + margin-bottom: 0; } /* Recent boxes */ @@ -149,8 +150,12 @@ h1, h2, h5 { font-size: 0.7em; } -/* Responsive */ +/* Responsive: Small screen, mobile, etc. */ @media only screen and (max-width: 1100px) { + #hd-cont img#app-icon { + width: 2em; + height: 2em; + } #recent #recent_1 .recent_dn, #recent #recent_1 .recent_up { font-size: 2em; } @@ -198,7 +203,13 @@ h1, h2, h5 { display: none; } } + +/* Responsive: Larger screen, desktop, etc. */ @media only screen and (min-width: 1100px) { + #hd-cont img#app-icon { + width: 4em; + height: 4em; + } #recent #recent_1 .recent_dn, #recent #recent_1 .recent_up { font-size: 3em; } @@ -238,10 +249,24 @@ h1 { height: 1.5em; valign: center; } -h1 img#app-icon { - width: 1em; - height: 1em; +#hd-cont { + width: max-content; + font-size: 1.5em; + margin-right: auto; + margin-left: auto; + padding-top: 0.25em; + padding-bottom: 0.25em; +} +#hd-cont .hd-txt { + font-size: 1.5em; + font-weight: bold; + display: inline; + vertical-align: middle; +} +#hd-cont img#app-icon { padding-right: 0.25em; + display: inline; + vertical-align: middle; } #app-advt { display: block; @@ -269,7 +294,6 @@ h1 img#app-icon {
Preparing data ...
-
Presented by Heshapps.com - speed-data-docker
@@ -489,7 +513,11 @@ function show_content() { $("#spinner") .after("

Most recent samples

") .after("
(ISP: " + isp + ")
") - .after("

Network Speed Data

") + .after("") + .after($('
').append( + $(''), + $('
Network Speed Data
') + )) .hide(); console.timeEnd("speedtest"); }