diff options
| -rw-r--r-- | static/main.css | 10 | ||||
| -rw-r--r-- | templates/images.html | 4 | ||||
| -rw-r--r-- | templates/results.html | 4 | ||||
| -rw-r--r-- | templates/settings.html | 4 |
4 files changed, 16 insertions, 6 deletions
diff --git a/static/main.css b/static/main.css index 5f7c0f9..a548591 100644 --- a/static/main.css +++ b/static/main.css @@ -178,6 +178,16 @@ h1 { h1 span { color:var(--accent); } +.logo-link { + text-decoration:none; + color:inherit; +} +header .logo-link { + transition:transform 0.2s; +} +header .logo-link:hover { + transform:scale(1.03); +} .search-box { width: 100%; padding: 12px 24px; diff --git a/templates/images.html b/templates/images.html index 92ab7b5..f2b5222 100644 --- a/templates/images.html +++ b/templates/images.html @@ -15,9 +15,9 @@ <body class="images-view"> <header> - <h1> + <a href="/" class="logo-link"><h1> Omni<span>Search</span> - </h1> + </h1></a> <form action="/images" method="GET" class="search-form"> <input name="q" autocomplete="off"="text" class="search-box" placeholder="Search for images..." value="{{query}}"> diff --git a/templates/results.html b/templates/results.html index 4128245..9dec20c 100644 --- a/templates/results.html +++ b/templates/results.html @@ -18,9 +18,9 @@ <body class="results-view"> <header> - <h1> + <a href="/" class="logo-link"><h1> Omni<span>Search</span> - </h1> + </h1></a> <form action="/search" method="GET" class="search-form"> <input name="engine" type="hidden" value="{{selected_engine}}"> <input name="q" type="text" class="search-box" autocomplete="off" placeholder="Search the web..." diff --git a/templates/settings.html b/templates/settings.html index e0030c2..8b79033 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -18,9 +18,9 @@ <body class="settings-view"> <header> - <h1> + <a href="/" class="logo-link"><h1> Omni<span>Search</span> - </h1> + </h1></a> {{if query != ""}} <form action="/search" method="GET" class="search-form"> <input name="q" type="text" class="search-box" autocomplete="off" placeholder="Search the web..." |
