From ccdca766d1e0d5be8a7a6b2bbb939cf4233799f6 Mon Sep 17 00:00:00 2001 From: Suvadip-sana Date: Thu, 10 Oct 2024 16:34:26 +0530 Subject: [PATCH 1/3] Update the footer --- index.html | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 1b57325..786544f 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,9 @@ OpenTekHub Blockchain Repo - - + + + @@ -168,12 +169,24 @@

Frequently Asked Questions

-
+
+ +
+

About the Repository

+

This repository demonstrates blockchain prices using api and javascript.

+ BlockChain Repository +
+ +
+

Connect with us

+ + + +
+ +
+ -

About the Repository

-

This repository demonstrates blockchain prices using api and javascript.

- BlockChain Repository -
From 935854d63f1730281e83733b5fa562ac959bc0f2 Mon Sep 17 00:00:00 2001 From: Suvadip-sana Date: Thu, 10 Oct 2024 16:36:00 +0530 Subject: [PATCH 2/3] Update the footer style --- styles.css | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 68 insertions(+), 1 deletion(-) diff --git a/styles.css b/styles.css index f240431..5332615 100644 --- a/styles.css +++ b/styles.css @@ -128,10 +128,61 @@ h1, h2, h3 { #repo-info { background-color: #fffefe10; - text-align: center; padding: 1.5rem; box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.2); font-size: 1rem; + display: flex; + align-items: center; + justify-content: space-between; + padding: 0 5rem; + min-height: 12rem; +} + +#repo-info .left a { + position: relative; + text-shadow: 0 4px 10px #fefe09; +} + +#repo-info .left a::before { + content: ''; + position: absolute; + top: 100%; /* Adjust this to align the underline at the bottom */ + left: 0; + width: 0%; + height: 2px; + background-color: #FFEB55; /* The underline color */ + transition: width .3s linear; +} + +#repo-info .left a:hover::before { + width: 100%; /* The underline expands fully when hovering */ +} + + +#repo-info .left a i{ + font-size: 1.2rem; + margin-right: 0.5rem; + text-align: center; +} + +#repo-info .right h2{ + margin-bottom: 1.5rem; +} + +#repo-info .right a{ + font-size: 1rem; + margin: 2rem 0.5rem; + padding: 0.3rem 0.5rem; + border: 1px solid white; + color: white; + border-radius: 50%; + text-align: center; + transition: background-color 0.3s ease-in; +} + +#repo-info .right a:hover{ + background-color: white; + color: #c31432; } #repo-info p { @@ -603,7 +654,23 @@ p.tagline.dark-mode{ flex: 1 1 100%; } } +@media (max-width: 895px) { + #repo-info { + position: relative; + display: flex; + flex-direction: column !important; + align-items: first baseline; + padding: 0 !important; + } + #repo-info .left{ + margin-left: 1rem; + } + #repo-info .right{ + margin-top: 3rem !important; + margin-left: 1rem; + } +} /* Small devices (phones, 500px and below) */ @media (max-width: 500px) { .logo { From 1fc683a7461c30a82c1202c9a13562e78cecfbcd Mon Sep 17 00:00:00 2001 From: Suvadip-sana Date: Thu, 10 Oct 2024 16:36:34 +0530 Subject: [PATCH 3/3] Error fix --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index cc6fc8b..abb06c6 100644 --- a/script.js +++ b/script.js @@ -293,6 +293,6 @@ document.addEventListener('DOMContentLoaded', () => { delay: 1.9 }); }); -======= +// =======