From 81483c89f2bb4af39a135bbb29dc9833287268a6 Mon Sep 17 00:00:00 2001 From: Taesoonkim777 <canislupu777@gmail.com> Date: Sun, 19 Jan 2025 10:00:46 -0500 Subject: [PATCH] make a go to home button in the us-trade website --- us-trade/us-trade-styles.css | 17 +++++++++++++++++ us-trade/us-trade.html | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/us-trade/us-trade-styles.css b/us-trade/us-trade-styles.css index 0f1cdc0..3875ac7 100644 --- a/us-trade/us-trade-styles.css +++ b/us-trade/us-trade-styles.css @@ -154,3 +154,20 @@ p { left: 10px; /* Adjust position for smaller screens */ } } + +header { + position: relative; +} + +header .home-link { + position: absolute; + top: 10px; + right: 20px; + font-size: 16px; + color: #ffffff; + text-decoration: none; +} + +header .home-link:hover { + text-decoration: underline; +} \ No newline at end of file diff --git a/us-trade/us-trade.html b/us-trade/us-trade.html index 7414197..0ca1d22 100644 --- a/us-trade/us-trade.html +++ b/us-trade/us-trade.html @@ -15,6 +15,7 @@ <h1> </a></a> <span style="line-height: 1.5;">Energy and Trade: Shaping the Future</span> </h1> + <a href="../index.html" class="home-link">Go to Home</a> </header> <nav> <div class="navbar"> @@ -27,7 +28,6 @@ <h1> <a href="#hydropower">Hydropower</a> | <a href="#solar">Solar</a> | <a href="#biomass">Biomass</a> | - <a href="../index.html" class="home-link">Go to Home</a> </div> </div> </nav>