summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2022-05-28 13:19:50 -0400
committersiddharth ravikumar <s@ricketyspace.net>2022-05-28 13:19:50 -0400
commit841f131a92289aadc1b329d0c6eaea5645ad0ef4 (patch)
treec5066e6e8cfb65f08b8283ee7bd3ba73afead700
parenta95c92c018d7b3dec9bd2fc3485671fe7292b414 (diff)
templates: update weather.tmpl
Add link to search page.
-rw-r--r--static/peach.css18
-rw-r--r--templates/weather.tmpl5
2 files changed, 23 insertions, 0 deletions
diff --git a/static/peach.css b/static/peach.css
index a25aa66..7cbabb4 100644
--- a/static/peach.css
+++ b/static/peach.css
@@ -113,6 +113,24 @@ body {
color: rgb(150,150,150)
}
+.search-link-container {
+ position: absolute;
+ right: 0px;
+ top: 30px;
+ font-size: 1.5em;
+ font-weight: 900;
+ transform: rotate(-45deg);
+}
+
+.search-link-container a {
+ text-decoration: none;
+ color: rgb(255,255,255);
+}
+
+.search-link-container a:after {
+ content: '➤';
+ color: rgb(0,0,0);
+}
/** search **/
.search-container .search-form {
diff --git a/templates/weather.tmpl b/templates/weather.tmpl
index 05b18a2..8476e87 100644
--- a/templates/weather.tmpl
+++ b/templates/weather.tmpl
@@ -64,6 +64,11 @@
</div>
{{ end }}
+ <div class="search-link-container">
+ <a href="/search">
+ Search
+ </a>
+ </div>
</div> <!-- root-container end -->
</div> <!-- peach end -->
</body>